Package io.dapr.v1
Class DaprProtos.DeleteStateRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dapr.v1.DaprProtos.DeleteStateRequest
- All Implemented Interfaces:
- com.google.protobuf.Message,- com.google.protobuf.MessageLite,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- DaprProtos.DeleteStateRequestOrBuilder,- java.io.Serializable
- Enclosing class:
- DaprProtos
public static final class DaprProtos.DeleteStateRequest extends com.google.protobuf.GeneratedMessageV3 implements DaprProtos.DeleteStateRequestOrBuilder
DeleteStateRequest is the message to delete key-value states in the specific state store.Protobuf type
dapr.proto.runtime.v1.DeleteStateRequest- See Also:
- Serialized Form
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDaprProtos.DeleteStateRequest.BuilderDeleteStateRequest is the message to delete key-value states in the specific state store.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLitecom.google.protobuf.AbstractMessageLite.InternalOneOfEnum
- 
Field SummaryFields Modifier and Type Field Description static intETAG_FIELD_NUMBERstatic intKEY_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intOPTIONS_FIELD_NUMBERstatic intSTORE_NAME_FIELD_NUMBERFields inherited from class com.google.protobuf.GeneratedMessageV3alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessagememoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLitememoizedHashCode
- 
Method SummaryModifier and Type Method Description booleancontainsMetadata(java.lang.String key)The metadata which will be sent to state store components.booleanequals(java.lang.Object obj)static DaprProtos.DeleteStateRequestgetDefaultInstance()DaprProtos.DeleteStateRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()CommonProtos.EtaggetEtag()The entity tag which represents the specific version of data.CommonProtos.EtagOrBuildergetEtagOrBuilder()The entity tag which represents the specific version of data.java.lang.StringgetKey()The key of the desired statecom.google.protobuf.ByteStringgetKeyBytes()The key of the desired statejava.util.Map<java.lang.String,java.lang.String>getMetadata()Deprecated.intgetMetadataCount()The metadata which will be sent to state store components.java.util.Map<java.lang.String,java.lang.String>getMetadataMap()The metadata which will be sent to state store components.java.lang.StringgetMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)The metadata which will be sent to state store components.java.lang.StringgetMetadataOrThrow(java.lang.String key)The metadata which will be sent to state store components.CommonProtos.StateOptionsgetOptions()State operation options which includes concurrency/ consistency/retry_policy.CommonProtos.StateOptionsOrBuildergetOptionsOrBuilder()State operation options which includes concurrency/ consistency/retry_policy.com.google.protobuf.Parser<DaprProtos.DeleteStateRequest>getParserForType()intgetSerializedSize()java.lang.StringgetStoreName()The name of state store.com.google.protobuf.ByteStringgetStoreNameBytes()The name of state store.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasEtag()The entity tag which represents the specific version of data.inthashCode()booleanhasOptions()State operation options which includes concurrency/ consistency/retry_policy.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static DaprProtos.DeleteStateRequest.BuildernewBuilder()static DaprProtos.DeleteStateRequest.BuildernewBuilder(DaprProtos.DeleteStateRequest prototype)DaprProtos.DeleteStateRequest.BuildernewBuilderForType()protected DaprProtos.DeleteStateRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DaprProtos.DeleteStateRequestparseDelimitedFrom(java.io.InputStream input)static DaprProtos.DeleteStateRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.DeleteStateRequestparseFrom(byte[] data)static DaprProtos.DeleteStateRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.DeleteStateRequestparseFrom(com.google.protobuf.ByteString data)static DaprProtos.DeleteStateRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.DeleteStateRequestparseFrom(com.google.protobuf.CodedInputStream input)static DaprProtos.DeleteStateRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.DeleteStateRequestparseFrom(java.io.InputStream input)static DaprProtos.DeleteStateRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.DeleteStateRequestparseFrom(java.nio.ByteBuffer data)static DaprProtos.DeleteStateRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DaprProtos.DeleteStateRequest>parser()DaprProtos.DeleteStateRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)Methods inherited from class com.google.protobuf.GeneratedMessageV3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLiteaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLitetoByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
- 
Field Details- 
STORE_NAME_FIELD_NUMBERpublic static final int STORE_NAME_FIELD_NUMBER- See Also:
- Constant Field Values
 
- 
KEY_FIELD_NUMBERpublic static final int KEY_FIELD_NUMBER- See Also:
- Constant Field Values
 
- 
ETAG_FIELD_NUMBERpublic static final int ETAG_FIELD_NUMBER- See Also:
- Constant Field Values
 
- 
OPTIONS_FIELD_NUMBERpublic static final int OPTIONS_FIELD_NUMBER- See Also:
- Constant Field Values
 
- 
METADATA_FIELD_NUMBERpublic static final int METADATA_FIELD_NUMBER- See Also:
- Constant Field Values
 
 
- 
- 
Method Details- 
newInstanceprotected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)- Overrides:
- newInstancein class- com.google.protobuf.GeneratedMessageV3
 
- 
getUnknownFieldspublic final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
- getUnknownFieldsin interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3
 
- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
- 
internalGetMapFieldprotected com.google.protobuf.MapField internalGetMapField(int number)- Overrides:
- internalGetMapFieldin class- com.google.protobuf.GeneratedMessageV3
 
- 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3
 
- 
getStoreNamepublic java.lang.String getStoreName()The name of state store. string store_name = 1;- Specified by:
- getStoreNamein interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The storeName.
 
- 
getStoreNameBytespublic com.google.protobuf.ByteString getStoreNameBytes()The name of state store. string store_name = 1;- Specified by:
- getStoreNameBytesin interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The bytes for storeName.
 
- 
getKeypublic java.lang.String getKey()The key of the desired state string key = 2;- Specified by:
- getKeyin interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The key.
 
- 
getKeyBytespublic com.google.protobuf.ByteString getKeyBytes()The key of the desired state string key = 2;- Specified by:
- getKeyBytesin interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The bytes for key.
 
- 
hasEtagpublic 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:
- hasEtagin interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- Whether the etag field is set.
 
- 
getEtagThe 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:
- getEtagin interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The etag.
 
- 
getEtagOrBuilderThe 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:
- getEtagOrBuilderin interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
hasOptionspublic boolean hasOptions()State operation options which includes concurrency/ consistency/retry_policy. .dapr.proto.common.v1.StateOptions options = 4;- Specified by:
- hasOptionsin interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- Whether the options field is set.
 
- 
getOptionsState operation options which includes concurrency/ consistency/retry_policy. .dapr.proto.common.v1.StateOptions options = 4;- Specified by:
- getOptionsin interface- DaprProtos.DeleteStateRequestOrBuilder
- Returns:
- The options.
 
- 
getOptionsOrBuilderState operation options which includes concurrency/ consistency/retry_policy. .dapr.proto.common.v1.StateOptions options = 4;- Specified by:
- getOptionsOrBuilderin interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
getMetadataCountpublic int getMetadataCount()Description copied from interface:DaprProtos.DeleteStateRequestOrBuilderThe metadata which will be sent to state store components. map<string, string> metadata = 5;- Specified by:
- getMetadataCountin interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
containsMetadatapublic boolean containsMetadata(java.lang.String key)The metadata which will be sent to state store components. map<string, string> metadata = 5;- Specified by:
- containsMetadatain interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
getMetadata@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetadata()Deprecated.UsegetMetadataMap()instead.- Specified by:
- getMetadatain interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
getMetadataMappublic java.util.Map<java.lang.String,java.lang.String> getMetadataMap()The metadata which will be sent to state store components. map<string, string> metadata = 5;- Specified by:
- getMetadataMapin interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
getMetadataOrDefaultpublic java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)The metadata which will be sent to state store components. map<string, string> metadata = 5;- Specified by:
- getMetadataOrDefaultin interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
getMetadataOrThrowpublic java.lang.String getMetadataOrThrow(java.lang.String key)The metadata which will be sent to state store components. map<string, string> metadata = 5;- Specified by:
- getMetadataOrThrowin interface- DaprProtos.DeleteStateRequestOrBuilder
 
- 
isInitializedpublic final boolean isInitialized()- Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3
 
- 
writeTopublic void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
- writeToin interface- com.google.protobuf.MessageLite
- Overrides:
- writeToin class- com.google.protobuf.GeneratedMessageV3
- Throws:
- java.io.IOException
 
- 
getSerializedSizepublic int getSerializedSize()- Specified by:
- getSerializedSizein interface- com.google.protobuf.MessageLite
- Overrides:
- getSerializedSizein class- com.google.protobuf.GeneratedMessageV3
 
- 
equalspublic boolean equals(java.lang.Object obj)- Specified by:
- equalsin interface- com.google.protobuf.Message
- Overrides:
- equalsin class- com.google.protobuf.AbstractMessage
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein interface- com.google.protobuf.Message
- Overrides:
- hashCodein class- com.google.protobuf.AbstractMessage
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException- Throws:
- java.io.IOException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
- java.io.IOException
 
- 
parseDelimitedFrompublic static DaprProtos.DeleteStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- Throws:
- java.io.IOException
 
- 
parseDelimitedFrompublic static DaprProtos.DeleteStateRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
- java.io.IOException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- Throws:
- java.io.IOException
 
- 
parseFrompublic static DaprProtos.DeleteStateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
- java.io.IOException
 
- 
newBuilderForType- Specified by:
- newBuilderForTypein interface- com.google.protobuf.Message
- Specified by:
- newBuilderForTypein interface- com.google.protobuf.MessageLite
 
- 
newBuilder
- 
newBuilderpublic static DaprProtos.DeleteStateRequest.Builder newBuilder(DaprProtos.DeleteStateRequest prototype)
- 
toBuilder- Specified by:
- toBuilderin interface- com.google.protobuf.Message
- Specified by:
- toBuilderin interface- com.google.protobuf.MessageLite
 
- 
newBuilderForTypeprotected DaprProtos.DeleteStateRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
- newBuilderForTypein class- com.google.protobuf.GeneratedMessageV3
 
- 
getDefaultInstance
- 
parser
- 
getParserForType- Specified by:
- getParserForTypein interface- com.google.protobuf.Message
- Specified by:
- getParserForTypein interface- com.google.protobuf.MessageLite
- Overrides:
- getParserForTypein class- com.google.protobuf.GeneratedMessageV3
 
- 
getDefaultInstanceForType- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 
-