Package io.dapr.v1

Interface CommonProtos.StateItemOrBuilder

    • Method Detail

      • getKey

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

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

        com.google.protobuf.ByteString getValue()
         Required. The state data for key
         
        bytes value = 2;
        Returns:
        The value.
      • hasEtag

        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;
        Returns:
        Whether the etag field is set.
      • getEtag

        CommonProtos.Etag getEtag()
         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;
        Returns:
        The etag.
      • getEtagOrBuilder

        CommonProtos.EtagOrBuilder getEtagOrBuilder()
         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;
      • getMetadataCount

        int getMetadataCount()
         The metadata which will be passed to state store component.
         
        map<string, string> metadata = 4;
      • containsMetadata

        boolean containsMetadata​(String key)
         The metadata which will be passed to state store component.
         
        map<string, string> metadata = 4;
      • getMetadataMap

        Map<String,​String> getMetadataMap()
         The metadata which will be passed to state store component.
         
        map<string, string> metadata = 4;
      • getMetadataOrDefault

        String getMetadataOrDefault​(String key,
                                    String defaultValue)
         The metadata which will be passed to state store component.
         
        map<string, string> metadata = 4;
      • getMetadataOrThrow

        String getMetadataOrThrow​(String key)
         The metadata which will be passed to state store component.
         
        map<string, string> metadata = 4;
      • hasOptions

        boolean hasOptions()
         Options for concurrency and consistency to save the state.
         
        .dapr.proto.common.v1.StateOptions options = 5;
        Returns:
        Whether the options field is set.
      • getOptions

        CommonProtos.StateOptions getOptions()
         Options for concurrency and consistency to save the state.
         
        .dapr.proto.common.v1.StateOptions options = 5;
        Returns:
        The options.
      • getOptionsOrBuilder

        CommonProtos.StateOptionsOrBuilder getOptionsOrBuilder()
         Options for concurrency and consistency to save the state.
         
        .dapr.proto.common.v1.StateOptions options = 5;