Package io.dapr.v1
Interface DaprProtos.TransactionalActorStateOperationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DaprProtos.TransactionalActorStateOperation
,DaprProtos.TransactionalActorStateOperation.Builder
- Enclosing class:
- DaprProtos
public static interface DaprProtos.TransactionalActorStateOperationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetadata
(String key) The metadata used for transactional operations.getKey()
string key = 2;
com.google.protobuf.ByteString
string key = 2;
Deprecated.int
The metadata used for transactional operations.The metadata used for transactional operations.getMetadataOrDefault
(String key, String defaultValue) The metadata used for transactional operations.getMetadataOrThrow
(String key) The metadata used for transactional operations.string operationType = 1;
com.google.protobuf.ByteString
string operationType = 1;
com.google.protobuf.Any
getValue()
.google.protobuf.Any value = 3;
com.google.protobuf.AnyOrBuilder
.google.protobuf.Any value = 3;
boolean
hasValue()
.google.protobuf.Any value = 3;
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
-
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
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;
-
getMetadata
Deprecated.UsegetMetadataMap()
instead. -
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
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
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;
-