Package io.dapr.v1

Interface DaprProtos.TransactionalActorStateOperationOrBuilder

    • Method Detail

      • getOperationType

        String getOperationType()
        string operationType = 1;
        Returns:
        The operationType.
      • getOperationTypeBytes

        com.google.protobuf.ByteString getOperationTypeBytes()
        string operationType = 1;
        Returns:
        The bytes for operationType.
      • getKey

        String getKey()
        string key = 2;
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
        string key = 2;
        Returns:
        The bytes for key.
      • hasValue

        boolean hasValue()
        .google.protobuf.Any value = 3;
        Returns:
        Whether the value field is set.
      • getValue

        com.google.protobuf.Any getValue()
        .google.protobuf.Any value = 3;
        Returns:
        The value.
      • getValueOrBuilder

        com.google.protobuf.AnyOrBuilder getValueOrBuilder()
        .google.protobuf.Any value = 3;
      • getMetadataCount

        int getMetadataCount()
         The metadata used for transactional operations.
         Common metadata property:
         - ttlInSeconds : the time to live in seconds for the stored value.
         
        map<string, string> metadata = 4;
      • containsMetadata

        boolean containsMetadata​(String key)
         The metadata used for transactional operations.
         Common metadata property:
         - ttlInSeconds : the time to live in seconds for the stored value.
         
        map<string, string> metadata = 4;
      • getMetadataMap

        Map<String,​String> getMetadataMap()
         The metadata used for transactional operations.
         Common metadata property:
         - ttlInSeconds : the time to live in seconds for the stored value.
         
        map<string, string> metadata = 4;
      • getMetadataOrDefault

        String getMetadataOrDefault​(String key,
                                    String defaultValue)
         The metadata used for transactional operations.
         Common metadata property:
         - ttlInSeconds : the time to live in seconds for the stored value.
         
        map<string, string> metadata = 4;
      • getMetadataOrThrow

        String getMetadataOrThrow​(String key)
         The metadata used for transactional operations.
         Common metadata property:
         - ttlInSeconds : the time to live in seconds for the stored value.
         
        map<string, string> metadata = 4;