Package io.dapr.v1
Class DaprProtos.GetConfigurationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
io.dapr.v1.DaprProtos.GetConfigurationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.GetConfigurationRequestOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.GetConfigurationRequest
public static final class DaprProtos.GetConfigurationRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
implements DaprProtos.GetConfigurationRequestOrBuilder
GetConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.Protobuf type
dapr.proto.runtime.v1.GetConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllKeys
(Iterable<String> values) Optional.Optional.addKeysBytes
(com.google.protobuf.ByteString value) Optional.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Required.clone()
boolean
containsMetadata
(String key) Optional.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getKeys
(int index) Optional.com.google.protobuf.ByteString
getKeysBytes
(int index) Optional.int
Optional.com.google.protobuf.ProtocolStringList
Optional.Deprecated.int
Optional.Optional.getMetadataOrDefault
(String key, String defaultValue) Optional.getMetadataOrThrow
(String key) Optional.Deprecated.Required.com.google.protobuf.ByteString
Required.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) Optional.putMetadata
(String key, String value) Optional.removeMetadata
(String key) Optional.Optional.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStoreName
(String value) Required.setStoreNameBytes
(com.google.protobuf.ByteString value) Required.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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<DaprProtos.GetConfigurationRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.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.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-
setField
public DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-
clearField
public DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-
clearOneof
public DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-
setRepeatedField
public DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-
addRepeatedField
public DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
mergeFrom
public DaprProtos.GetConfigurationRequest.Builder mergeFrom(DaprProtos.GetConfigurationRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
mergeFrom
public DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
- Throws:
IOException
-
getStoreName
Required. The name of configuration store.
string store_name = 1;
- Specified by:
getStoreName
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
- Returns:
- The storeName.
-
getStoreNameBytes
public com.google.protobuf.ByteString getStoreNameBytes()Required. The name of configuration store.
string store_name = 1;
- Specified by:
getStoreNameBytes
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
- Returns:
- The bytes for storeName.
-
setStoreName
Required. The name of configuration store.
string store_name = 1;
- Parameters:
value
- The storeName to set.- Returns:
- This builder for chaining.
-
clearStoreName
Required. The name of configuration store.
string store_name = 1;
- Returns:
- This builder for chaining.
-
setStoreNameBytes
public DaprProtos.GetConfigurationRequest.Builder setStoreNameBytes(com.google.protobuf.ByteString value) Required. The name of configuration store.
string store_name = 1;
- Parameters:
value
- The bytes for storeName to set.- Returns:
- This builder for chaining.
-
getKeysList
public com.google.protobuf.ProtocolStringList getKeysList()Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Specified by:
getKeysList
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
- Returns:
- A list containing the keys.
-
getKeysCount
public int getKeysCount()Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Specified by:
getKeysCount
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
- Returns:
- The count of keys.
-
getKeys
Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Specified by:
getKeys
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The keys at the given index.
-
getKeysBytes
public com.google.protobuf.ByteString getKeysBytes(int index) Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Specified by:
getKeysBytes
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the keys at the given index.
-
setKeys
Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Parameters:
index
- The index to set the value at.value
- The keys to set.- Returns:
- This builder for chaining.
-
addKeys
Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Parameters:
value
- The keys to add.- Returns:
- This builder for chaining.
-
addAllKeys
Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Parameters:
values
- The keys to add.- Returns:
- This builder for chaining.
-
clearKeys
Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Returns:
- This builder for chaining.
-
addKeysBytes
public DaprProtos.GetConfigurationRequest.Builder addKeysBytes(com.google.protobuf.ByteString value) Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
repeated string keys = 2;
- Parameters:
value
- The bytes of the keys to add.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.GetConfigurationRequestOrBuilder
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
- Specified by:
getMetadataCount
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
containsMetadata
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
- Specified by:
containsMetadata
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadataMap
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
- Specified by:
getMetadataMap
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadataOrDefault
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadataOrThrow
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrThrow
in interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
clearMetadata
-
removeMetadata
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
-
putAllMetadata
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
-
setUnknownFields
public final DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-
mergeUnknownFields
public final DaprProtos.GetConfigurationRequest.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.GetConfigurationRequest.Builder>
-