Package io.dapr.v1
Class DaprProtos.BulkStateItem
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dapr.v1.DaprProtos.BulkStateItem
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DaprProtos.BulkStateItemOrBuilder,Serializable
- Enclosing class:
- DaprProtos
public static final class DaprProtos.BulkStateItem
extends com.google.protobuf.GeneratedMessageV3
implements DaprProtos.BulkStateItemOrBuilder
BulkStateItem is the response item for a bulk get operation. Return values include the item key, data and etag.Protobuf type
dapr.proto.runtime.v1.BulkStateItem- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBulkStateItem is the response item for a bulk get operation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) The metadata which will be sent to app.booleancom.google.protobuf.ByteStringgetData()The byte array datastatic DaprProtos.BulkStateItemstatic final com.google.protobuf.Descriptors.DescriptorgetError()The error that was returned from the state store in case of a failed get operation.com.google.protobuf.ByteStringThe error that was returned from the state store in case of a failed get operation.getEtag()The entity tag which represents the specific version of data.com.google.protobuf.ByteStringThe entity tag which represents the specific version of data.getKey()state item keycom.google.protobuf.ByteStringstate item keyDeprecated.intThe metadata which will be sent to app.The metadata which will be sent to app.getMetadataOrDefault(String key, String defaultValue) The metadata which will be sent to app.getMetadataOrThrow(String key) The metadata which will be sent to app.com.google.protobuf.Parser<DaprProtos.BulkStateItem>intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(DaprProtos.BulkStateItem prototype) protected DaprProtos.BulkStateItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static DaprProtos.BulkStateItemparseDelimitedFrom(InputStream input) static DaprProtos.BulkStateItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DaprProtos.BulkStateItemparseFrom(byte[] data) static DaprProtos.BulkStateItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DaprProtos.BulkStateItemparseFrom(com.google.protobuf.ByteString data) static DaprProtos.BulkStateItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DaprProtos.BulkStateItemparseFrom(com.google.protobuf.CodedInputStream input) static DaprProtos.BulkStateItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DaprProtos.BulkStateItemparseFrom(InputStream input) static DaprProtos.BulkStateItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DaprProtos.BulkStateItemparseFrom(ByteBuffer data) static DaprProtos.BulkStateItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DaprProtos.BulkStateItem>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getKey
state item key
string key = 1;- Specified by:
getKeyin interfaceDaprProtos.BulkStateItemOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()state item key
string key = 1;- Specified by:
getKeyBytesin interfaceDaprProtos.BulkStateItemOrBuilder- Returns:
- The bytes for key.
-
getData
public com.google.protobuf.ByteString getData()The byte array data
bytes data = 2;- Specified by:
getDatain interfaceDaprProtos.BulkStateItemOrBuilder- Returns:
- The data.
-
getEtag
The entity tag which represents the specific version of data. ETag format is defined by the corresponding data store.
string etag = 3;- Specified by:
getEtagin interfaceDaprProtos.BulkStateItemOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()The entity tag which represents the specific version of data. ETag format is defined by the corresponding data store.
string etag = 3;- Specified by:
getEtagBytesin interfaceDaprProtos.BulkStateItemOrBuilder- Returns:
- The bytes for etag.
-
getError
The error that was returned from the state store in case of a failed get operation.
string error = 4;- Specified by:
getErrorin interfaceDaprProtos.BulkStateItemOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()The error that was returned from the state store in case of a failed get operation.
string error = 4;- Specified by:
getErrorBytesin interfaceDaprProtos.BulkStateItemOrBuilder- Returns:
- The bytes for error.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.BulkStateItemOrBuilderThe metadata which will be sent to app.
map<string, string> metadata = 5;- Specified by:
getMetadataCountin interfaceDaprProtos.BulkStateItemOrBuilder
-
containsMetadata
The metadata which will be sent to app.
map<string, string> metadata = 5;- Specified by:
containsMetadatain interfaceDaprProtos.BulkStateItemOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceDaprProtos.BulkStateItemOrBuilder
-
getMetadataMap
The metadata which will be sent to app.
map<string, string> metadata = 5;- Specified by:
getMetadataMapin interfaceDaprProtos.BulkStateItemOrBuilder
-
getMetadataOrDefault
The metadata which will be sent to app.
map<string, string> metadata = 5;- Specified by:
getMetadataOrDefaultin interfaceDaprProtos.BulkStateItemOrBuilder
-
getMetadataOrThrow
The metadata which will be sent to app.
map<string, string> metadata = 5;- Specified by:
getMetadataOrThrowin interfaceDaprProtos.BulkStateItemOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DaprProtos.BulkStateItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DaprProtos.BulkStateItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DaprProtos.BulkStateItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-