Package io.dapr.v1

Interface DaprProtos.BulkStateItemOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DaprProtos.BulkStateItem, DaprProtos.BulkStateItem.Builder
Enclosing class:
DaprProtos

public static interface DaprProtos.BulkStateItemOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The metadata which will be sent to app.
    com.google.protobuf.ByteString
    The byte array data
    The error that was returned from the state store in case of a failed get operation.
    com.google.protobuf.ByteString
    The error that was returned from the state store in case of a failed get operation.
    The entity tag which represents the specific version of data.
    com.google.protobuf.ByteString
    The entity tag which represents the specific version of data.
    state item key
    com.google.protobuf.ByteString
    state item key
    Deprecated.
    int
    The 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.
    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

    • getKey

      String getKey()
       state item key
       
      string key = 1;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       state item key
       
      string key = 1;
      Returns:
      The bytes for key.
    • getData

      com.google.protobuf.ByteString getData()
       The byte array data
       
      bytes data = 2;
      Returns:
      The data.
    • getEtag

      String getEtag()
       The entity tag which represents the specific version of data.
       ETag format is defined by the corresponding data store.
       
      string etag = 3;
      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 = 3;
      Returns:
      The bytes for etag.
    • getError

      String getError()
       The error that was returned from the state store in case of a failed get operation.
       
      string error = 4;
      Returns:
      The error.
    • getErrorBytes

      com.google.protobuf.ByteString getErrorBytes()
       The error that was returned from the state store in case of a failed get operation.
       
      string error = 4;
      Returns:
      The bytes for error.
    • getMetadataCount

      int getMetadataCount()
       The metadata which will be sent to app.
       
      map<string, string> metadata = 5;
    • containsMetadata

      boolean containsMetadata(String key)
       The metadata which will be sent to app.
       
      map<string, string> metadata = 5;
    • getMetadata

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> getMetadataMap()
       The metadata which will be sent to app.
       
      map<string, string> metadata = 5;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       The metadata which will be sent to app.
       
      map<string, string> metadata = 5;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       The metadata which will be sent to app.
       
      map<string, string> metadata = 5;