Package io.dapr.v1
Class DaprProtos.RegisteredComponents.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
io.dapr.v1.DaprProtos.RegisteredComponents.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.RegisteredComponentsOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.RegisteredComponents
public static final class DaprProtos.RegisteredComponents.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
implements DaprProtos.RegisteredComponentsOrBuilder
Protobuf type
dapr.proto.runtime.v1.RegisteredComponents
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCapabilities
(Iterable<String> values) repeated string capabilities = 4;
addCapabilities
(String value) repeated string capabilities = 4;
addCapabilitiesBytes
(com.google.protobuf.ByteString value) repeated string capabilities = 4;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated string capabilities = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) string name = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) string type = 2;
string version = 3;
clone()
getCapabilities
(int index) repeated string capabilities = 4;
com.google.protobuf.ByteString
getCapabilitiesBytes
(int index) repeated string capabilities = 4;
int
repeated string capabilities = 4;
com.google.protobuf.ProtocolStringList
repeated string capabilities = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getName()
string name = 1;
com.google.protobuf.ByteString
string name = 1;
getType()
string type = 2;
com.google.protobuf.ByteString
string type = 2;
string version = 3;
com.google.protobuf.ByteString
string version = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCapabilities
(int index, String value) repeated string capabilities = 4;
string name = 1;
setNameBytes
(com.google.protobuf.ByteString value) string name = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) string type = 2;
setTypeBytes
(com.google.protobuf.ByteString value) string type = 2;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVersion
(String value) string version = 3;
setVersionBytes
(com.google.protobuf.ByteString value) string version = 3;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
setField
public DaprProtos.RegisteredComponents.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
clearField
public DaprProtos.RegisteredComponents.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
clearOneof
public DaprProtos.RegisteredComponents.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
setRepeatedField
public DaprProtos.RegisteredComponents.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
addRepeatedField
public DaprProtos.RegisteredComponents.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.RegisteredComponents.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
mergeFrom
public DaprProtos.RegisteredComponents.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.RegisteredComponents.Builder>
- Throws:
IOException
-
getName
string name = 1;
- Specified by:
getName
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;
- Specified by:
getNameBytes
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
string type = 2;
- Specified by:
getType
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()string type = 2;
- Specified by:
getTypeBytes
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- The bytes for type.
-
setType
string type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
string type = 2;
- Returns:
- This builder for chaining.
-
setTypeBytes
string type = 2;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getVersion
string version = 3;
- Specified by:
getVersion
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 3;
- Specified by:
getVersionBytes
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- The bytes for version.
-
setVersion
string version = 3;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
string version = 3;
- Returns:
- This builder for chaining.
-
setVersionBytes
public DaprProtos.RegisteredComponents.Builder setVersionBytes(com.google.protobuf.ByteString value) string version = 3;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getCapabilitiesList
public com.google.protobuf.ProtocolStringList getCapabilitiesList()repeated string capabilities = 4;
- Specified by:
getCapabilitiesList
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- A list containing the capabilities.
-
getCapabilitiesCount
public int getCapabilitiesCount()repeated string capabilities = 4;
- Specified by:
getCapabilitiesCount
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Returns:
- The count of capabilities.
-
getCapabilities
repeated string capabilities = 4;
- Specified by:
getCapabilities
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The capabilities at the given index.
-
getCapabilitiesBytes
public com.google.protobuf.ByteString getCapabilitiesBytes(int index) repeated string capabilities = 4;
- Specified by:
getCapabilitiesBytes
in interfaceDaprProtos.RegisteredComponentsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the capabilities at the given index.
-
setCapabilities
repeated string capabilities = 4;
- Parameters:
index
- The index to set the value at.value
- The capabilities to set.- Returns:
- This builder for chaining.
-
addCapabilities
repeated string capabilities = 4;
- Parameters:
value
- The capabilities to add.- Returns:
- This builder for chaining.
-
addAllCapabilities
repeated string capabilities = 4;
- Parameters:
values
- The capabilities to add.- Returns:
- This builder for chaining.
-
clearCapabilities
repeated string capabilities = 4;
- Returns:
- This builder for chaining.
-
addCapabilitiesBytes
public DaprProtos.RegisteredComponents.Builder addCapabilitiesBytes(com.google.protobuf.ByteString value) repeated string capabilities = 4;
- Parameters:
value
- The bytes of the capabilities to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DaprProtos.RegisteredComponents.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-
mergeUnknownFields
public final DaprProtos.RegisteredComponents.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisteredComponents.Builder>
-