Package io.dapr.v1

Interface DaprProtos.GetStateResponseOrBuilder

    • Method Detail

      • getData

        com.google.protobuf.ByteString getData()
         The byte array data
         
        bytes data = 1;
        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 = 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​(String key)
         The metadata which will be sent to app.
         
        map<string, string> metadata = 3;
      • getMetadataMap

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

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

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