Package io.dapr.v1
Interface DaprProtos.GetStateResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DaprProtos.GetStateResponse
,DaprProtos.GetStateResponse.Builder
- Enclosing class:
- DaprProtos
public static interface DaprProtos.GetStateResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description boolean
containsMetadata(java.lang.String key)
The metadata which will be sent to app.com.google.protobuf.ByteString
getData()
The byte array datajava.lang.String
getEtag()
The entity tag which represents the specific version of data.com.google.protobuf.ByteString
getEtagBytes()
The entity tag which represents the specific version of data.java.util.Map<java.lang.String,java.lang.String>
getMetadata()
Deprecated.int
getMetadataCount()
The metadata which will be sent to app.java.util.Map<java.lang.String,java.lang.String>
getMetadataMap()
The metadata which will be sent to app.java.lang.String
getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)
The metadata which will be sent to app.java.lang.String
getMetadataOrThrow(java.lang.String key)
The metadata which will be sent to app.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getData
com.google.protobuf.ByteString getData()The byte array data
bytes data = 1;
- Returns:
- The data.
-
getEtag
java.lang.String getEtag()The entity tag which represents the specific version of data. ETag format is defined by the corresponding data store.
string etag = 2;
- Returns:
- The etag.
-
getEtagBytes
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 = 2;
- Returns:
- The bytes for etag.
-
getMetadataCount
int getMetadataCount()The metadata which will be sent to app.
map<string, string> metadata = 3;
-
containsMetadata
boolean containsMetadata(java.lang.String key)The metadata which will be sent to app.
map<string, string> metadata = 3;
-
getMetadata
@Deprecated java.util.Map<java.lang.String,java.lang.String> getMetadata()Deprecated.UsegetMetadataMap()
instead. -
getMetadataMap
java.util.Map<java.lang.String,java.lang.String> getMetadataMap()The metadata which will be sent to app.
map<string, string> metadata = 3;
-
getMetadataOrDefault
java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)The metadata which will be sent to app.
map<string, string> metadata = 3;
-
getMetadataOrThrow
java.lang.String getMetadataOrThrow(java.lang.String key)The metadata which will be sent to app.
map<string, string> metadata = 3;
-