Interface Protocol.CompletePromiseEntryMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Protocol.CompletePromiseEntryMessage
,Protocol.CompletePromiseEntryMessage.Builder
- Enclosing class:
Protocol
public static interface Protocol.CompletePromiseEntryMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.dev.restate.service.protocol.Failure completion_failure = 3;
.dev.restate.service.protocol.Failure completion_failure = 3;
com.google.protobuf.ByteString
bytes completion_value = 2;
getEmpty()
Returns empty if value was set successfullyReturns empty if value was set successfullyReturns a failure if the promise was already completedReturns a failure if the promise was already completedgetKey()
string key = 1;
com.google.protobuf.ByteString
string key = 1;
getName()
Entry namecom.google.protobuf.ByteString
Entry nameboolean
.dev.restate.service.protocol.Failure completion_failure = 3;
boolean
bytes completion_value = 2;
boolean
hasEmpty()
Returns empty if value was set successfullyboolean
Returns a failure if the promise was already completedMethods 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()string key = 1;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()string key = 1;
- Returns:
- The bytes for key.
-
hasCompletionValue
boolean hasCompletionValue()bytes completion_value = 2;
- Returns:
- Whether the completionValue field is set.
-
getCompletionValue
com.google.protobuf.ByteString getCompletionValue()bytes completion_value = 2;
- Returns:
- The completionValue.
-
hasCompletionFailure
boolean hasCompletionFailure().dev.restate.service.protocol.Failure completion_failure = 3;
- Returns:
- Whether the completionFailure field is set.
-
getCompletionFailure
Protocol.Failure getCompletionFailure().dev.restate.service.protocol.Failure completion_failure = 3;
- Returns:
- The completionFailure.
-
getCompletionFailureOrBuilder
Protocol.FailureOrBuilder getCompletionFailureOrBuilder().dev.restate.service.protocol.Failure completion_failure = 3;
-
hasEmpty
boolean hasEmpty()Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
- Returns:
- Whether the empty field is set.
-
getEmpty
Protocol.Empty getEmpty()Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
- Returns:
- The empty.
-
getEmptyOrBuilder
Protocol.EmptyOrBuilder getEmptyOrBuilder()Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
-
hasFailure
boolean hasFailure()Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
- Returns:
- Whether the failure field is set.
-
getFailure
Protocol.Failure getFailure()Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
- Returns:
- The failure.
-
getFailureOrBuilder
Protocol.FailureOrBuilder getFailureOrBuilder()Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
-
getName
String getName()Entry name
string name = 12;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Entry name
string name = 12;
- Returns:
- The bytes for name.
-
getCompletionCase
Protocol.CompletePromiseEntryMessage.CompletionCase getCompletionCase() -
getResultCase
Protocol.CompletePromiseEntryMessage.ResultCase getResultCase()
-