Package io.dapr.v1
Class CommonProtos.ConfigurationItem.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.Builder>
io.dapr.v1.CommonProtos.ConfigurationItem.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,CommonProtos.ConfigurationItemOrBuilder
,Cloneable
- Enclosing class:
- CommonProtos.ConfigurationItem
public static final class CommonProtos.ConfigurationItem.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.Builder>
implements CommonProtos.ConfigurationItemOrBuilder
ConfigurationItem represents all the configuration with its name(key).Protobuf type
dapr.proto.common.v1.ConfigurationItem
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Required.Version is response only and cannot be fetched.clone()
boolean
containsMetadata
(String key) the metadata which will be passed to/from configuration store component.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
the metadata which will be passed to/from configuration store component.the metadata which will be passed to/from configuration store component.getMetadataOrDefault
(String key, String defaultValue) the metadata which will be passed to/from configuration store component.getMetadataOrThrow
(String key) the metadata which will be passed to/from configuration store component.Deprecated.getValue()
Required.com.google.protobuf.ByteString
Required.Version is response only and cannot be fetched.com.google.protobuf.ByteString
Version is response only and cannot be fetched.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) 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) putAllMetadata
(Map<String, String> values) the metadata which will be passed to/from configuration store component.putMetadata
(String key, String value) the metadata which will be passed to/from configuration store component.removeMetadata
(String key) the metadata which will be passed to/from configuration store component.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Required.setValueBytes
(com.google.protobuf.ByteString value) Required.setVersion
(String value) Version is response only and cannot be fetched.setVersionBytes
(com.google.protobuf.ByteString value) Version is response only and cannot be fetched.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.Builder>
-
setField
public CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.Builder>
-
clearField
public CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.Builder>
-
clearOneof
public CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.Builder>
-
setRepeatedField
public CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.Builder>
-
addRepeatedField
public CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommonProtos.ConfigurationItem.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.Builder>
-
mergeFrom
public CommonProtos.ConfigurationItem.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<CommonProtos.ConfigurationItem.Builder>
- Throws:
IOException
-
getValue
Required. The value of configuration item.
string value = 1;
- Specified by:
getValue
in interfaceCommonProtos.ConfigurationItemOrBuilder
- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()Required. The value of configuration item.
string value = 1;
- Specified by:
getValueBytes
in interfaceCommonProtos.ConfigurationItemOrBuilder
- Returns:
- The bytes for value.
-
setValue
Required. The value of configuration item.
string value = 1;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
Required. The value of configuration item.
string value = 1;
- Returns:
- This builder for chaining.
-
setValueBytes
Required. The value of configuration item.
string value = 1;
- Parameters:
value
- The bytes for value to set.- Returns:
- This builder for chaining.
-
getVersion
Version is response only and cannot be fetched. Store is not expected to keep all versions available
string version = 2;
- Specified by:
getVersion
in interfaceCommonProtos.ConfigurationItemOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Version is response only and cannot be fetched. Store is not expected to keep all versions available
string version = 2;
- Specified by:
getVersionBytes
in interfaceCommonProtos.ConfigurationItemOrBuilder
- Returns:
- The bytes for version.
-
setVersion
Version is response only and cannot be fetched. Store is not expected to keep all versions available
string version = 2;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Version is response only and cannot be fetched. Store is not expected to keep all versions available
string version = 2;
- Returns:
- This builder for chaining.
-
setVersionBytes
Version is response only and cannot be fetched. Store is not expected to keep all versions available
string version = 2;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:CommonProtos.ConfigurationItemOrBuilder
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
- Specified by:
getMetadataCount
in interfaceCommonProtos.ConfigurationItemOrBuilder
-
containsMetadata
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
- Specified by:
containsMetadata
in interfaceCommonProtos.ConfigurationItemOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceCommonProtos.ConfigurationItemOrBuilder
-
getMetadataMap
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
- Specified by:
getMetadataMap
in interfaceCommonProtos.ConfigurationItemOrBuilder
-
getMetadataOrDefault
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrDefault
in interfaceCommonProtos.ConfigurationItemOrBuilder
-
getMetadataOrThrow
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrThrow
in interfaceCommonProtos.ConfigurationItemOrBuilder
-
clearMetadata
-
removeMetadata
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
-
putAllMetadata
the metadata which will be passed to/from configuration store component.
map<string, string> metadata = 3;
-
setUnknownFields
public final CommonProtos.ConfigurationItem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.Builder>
-
mergeUnknownFields
public final CommonProtos.ConfigurationItem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonProtos.ConfigurationItem.Builder>
-