Package io.dapr.v1
Class DaprProtos.DeleteStateRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteStateRequest.Builder>
io.dapr.v1.DaprProtos.DeleteStateRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.DeleteStateRequestOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.DeleteStateRequest
public static final class DaprProtos.DeleteStateRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteStateRequest.Builder>
implements DaprProtos.DeleteStateRequestOrBuilder
DeleteStateRequest is the message to delete key-value states in the specific state store.Protobuf type
dapr.proto.runtime.v1.DeleteStateRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The entity tag which represents the specific version of data.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearKey()
The key of the desired stateclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) State operation options which includes concurrency/ consistency/retry_policy.The name of state store.clone()
boolean
containsMetadata
(String key) The metadata which will be sent to state store components.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getEtag()
The entity tag which represents the specific version of data.The entity tag which represents the specific version of data.The entity tag which represents the specific version of data.getKey()
The key of the desired statecom.google.protobuf.ByteString
The key of the desired stateDeprecated.int
The metadata which will be sent to state store components.The metadata which will be sent to state store components.getMetadataOrDefault
(String key, String defaultValue) The metadata which will be sent to state store components.getMetadataOrThrow
(String key) The metadata which will be sent to state store components.Deprecated.State operation options which includes concurrency/ consistency/retry_policy.State operation options which includes concurrency/ consistency/retry_policy.State operation options which includes concurrency/ consistency/retry_policy.The name of state store.com.google.protobuf.ByteString
The name of state store.boolean
hasEtag()
The entity tag which represents the specific version of data.boolean
State operation options which includes concurrency/ consistency/retry_policy.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeEtag
(CommonProtos.Etag value) The entity tag which represents the specific version of data.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) State operation options which includes concurrency/ consistency/retry_policy.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllMetadata
(Map<String, String> values) The metadata which will be sent to state store components.putMetadata
(String key, String value) The metadata which will be sent to state store components.removeMetadata
(String key) The metadata which will be sent to state store components.setEtag
(CommonProtos.Etag value) The entity tag which represents the specific version of data.setEtag
(CommonProtos.Etag.Builder builderForValue) The entity tag which represents the specific version of data.The key of the desired statesetKeyBytes
(com.google.protobuf.ByteString value) The key of the desired stateState operation options which includes concurrency/ consistency/retry_policy.setOptions
(CommonProtos.StateOptions.Builder builderForValue) State operation options which includes concurrency/ consistency/retry_policy.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStoreName
(String value) The name of state store.setStoreNameBytes
(com.google.protobuf.ByteString value) The name of state store.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.DeleteStateRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteStateRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteStateRequest.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.DeleteStateRequest.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.DeleteStateRequest.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.DeleteStateRequest.Builder>
-
setField
public DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
-
clearField
public DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
-
clearOneof
public DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
-
setRepeatedField
public DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
-
addRepeatedField
public DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.DeleteStateRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteStateRequest.Builder>
-
mergeFrom
public DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
- Throws:
IOException
-
getStoreName
The name of state store.
string store_name = 1;
- Specified by:
getStoreName
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The storeName.
-
getStoreNameBytes
public com.google.protobuf.ByteString getStoreNameBytes()The name of state store.
string store_name = 1;
- Specified by:
getStoreNameBytes
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The bytes for storeName.
-
setStoreName
The name of state store.
string store_name = 1;
- Parameters:
value
- The storeName to set.- Returns:
- This builder for chaining.
-
clearStoreName
The name of state store.
string store_name = 1;
- Returns:
- This builder for chaining.
-
setStoreNameBytes
public DaprProtos.DeleteStateRequest.Builder setStoreNameBytes(com.google.protobuf.ByteString value) The name of state store.
string store_name = 1;
- Parameters:
value
- The bytes for storeName to set.- Returns:
- This builder for chaining.
-
getKey
The key of the desired state
string key = 2;
- Specified by:
getKey
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()The key of the desired state
string key = 2;
- Specified by:
getKeyBytes
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The bytes for key.
-
setKey
The key of the desired state
string key = 2;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
The key of the desired state
string key = 2;
- Returns:
- This builder for chaining.
-
setKeyBytes
The key of the desired state
string key = 2;
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasEtag
public boolean hasEtag()The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
- Specified by:
hasEtag
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- Whether the etag field is set.
-
getEtag
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
- Specified by:
getEtag
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The etag.
-
setEtag
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
-
setEtag
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
-
mergeEtag
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
-
clearEtag
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
-
getEtagBuilder
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
-
getEtagOrBuilder
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
.dapr.proto.common.v1.Etag etag = 3;
- Specified by:
getEtagOrBuilder
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
hasOptions
public boolean hasOptions()State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
- Specified by:
hasOptions
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
- Specified by:
getOptions
in interfaceDaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The options.
-
setOptions
State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
-
setOptions
public DaprProtos.DeleteStateRequest.Builder setOptions(CommonProtos.StateOptions.Builder builderForValue) State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
-
mergeOptions
State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
-
clearOptions
State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
-
getOptionsBuilder
State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
-
getOptionsOrBuilder
State operation options which includes concurrency/ consistency/retry_policy.
.dapr.proto.common.v1.StateOptions options = 4;
- Specified by:
getOptionsOrBuilder
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.DeleteStateRequestOrBuilder
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
- Specified by:
getMetadataCount
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
containsMetadata
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
- Specified by:
containsMetadata
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
getMetadataMap
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
- Specified by:
getMetadataMap
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
getMetadataOrDefault
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
getMetadataOrThrow
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
- Specified by:
getMetadataOrThrow
in interfaceDaprProtos.DeleteStateRequestOrBuilder
-
clearMetadata
-
removeMetadata
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
-
putAllMetadata
The metadata which will be sent to state store components.
map<string, string> metadata = 5;
-
setUnknownFields
public final DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
-
mergeUnknownFields
public final DaprProtos.DeleteStateRequest.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.DeleteStateRequest.Builder>
-