Package io.dapr.v1
Class DaprProtos.GetConfigurationRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typedapr.proto.runtime.v1.GetConfigurationRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
clear
public DaprProtos.GetConfigurationRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
getDefaultInstanceForType
public DaprProtos.GetConfigurationRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DaprProtos.GetConfigurationRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DaprProtos.GetConfigurationRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DaprProtos.GetConfigurationRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
setField
public DaprProtos.GetConfigurationRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
clearField
public DaprProtos.GetConfigurationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
clearOneof
public DaprProtos.GetConfigurationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
addRepeatedField
public DaprProtos.GetConfigurationRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
mergeFrom
public DaprProtos.GetConfigurationRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
mergeFrom
public DaprProtos.GetConfigurationRequest.Builder mergeFrom(DaprProtos.GetConfigurationRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.GetConfigurationRequest.Builder>- Throws:
IOException
-
getStoreName
public String getStoreName()
Required. The name of configuration store.
string store_name = 1;- Specified by:
getStoreNamein interfaceDaprProtos.GetConfigurationRequestOrBuilder- Returns:
- The storeName.
-
getStoreNameBytes
public com.google.protobuf.ByteString getStoreNameBytes()
Required. The name of configuration store.
string store_name = 1;- Specified by:
getStoreNameBytesin interfaceDaprProtos.GetConfigurationRequestOrBuilder- Returns:
- The bytes for storeName.
-
setStoreName
public DaprProtos.GetConfigurationRequest.Builder setStoreName(String value)
Required. The name of configuration store.
string store_name = 1;- Parameters:
value- The storeName to set.- Returns:
- This builder for chaining.
-
clearStoreName
public DaprProtos.GetConfigurationRequest.Builder 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:
getKeysListin 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:
getKeysCountin interfaceDaprProtos.GetConfigurationRequestOrBuilder- Returns:
- The count of keys.
-
getKeys
public String getKeys(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:
getKeysin 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:
getKeysBytesin interfaceDaprProtos.GetConfigurationRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keys at the given index.
-
setKeys
public DaprProtos.GetConfigurationRequest.Builder setKeys(int index, String 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:
index- The index to set the value at.value- The keys to set.- Returns:
- This builder for chaining.
-
addKeys
public DaprProtos.GetConfigurationRequest.Builder addKeys(String 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 keys to add.- Returns:
- This builder for chaining.
-
addAllKeys
public DaprProtos.GetConfigurationRequest.Builder addAllKeys(Iterable<String> values)
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
public DaprProtos.GetConfigurationRequest.Builder 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.GetConfigurationRequestOrBuilderOptional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;- Specified by:
getMetadataCountin interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;- Specified by:
containsMetadatain interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;- Specified by:
getMetadataMapin interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;- Specified by:
getMetadataOrDefaultin interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;- Specified by:
getMetadataOrThrowin interfaceDaprProtos.GetConfigurationRequestOrBuilder
-
clearMetadata
public DaprProtos.GetConfigurationRequest.Builder clearMetadata()
-
removeMetadata
public DaprProtos.GetConfigurationRequest.Builder removeMetadata(String key)
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public DaprProtos.GetConfigurationRequest.Builder putMetadata(String key, String value)
Optional. The metadata which will be sent to configuration store components.
map<string, string> metadata = 3;
-
putAllMetadata
public DaprProtos.GetConfigurationRequest.Builder putAllMetadata(Map<String,String> values)
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
mergeUnknownFields
public final DaprProtos.GetConfigurationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetConfigurationRequest.Builder>
-
-