Class Protocol.CompletePromiseEntryMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
com.google.protobuf.GeneratedMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
dev.restate.generated.service.protocol.Protocol.CompletePromiseEntryMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Protocol.CompletePromiseEntryMessageOrBuilder
,Cloneable
- Enclosing class:
Protocol.CompletePromiseEntryMessage
public static final class Protocol.CompletePromiseEntryMessage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
implements Protocol.CompletePromiseEntryMessageOrBuilder
Completable: Yes Fallible: No Type: 0x0800 + AProtobuf type
dev.restate.service.protocol.CompletePromiseEntryMessage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
.dev.restate.service.protocol.Failure completion_failure = 3;
bytes completion_value = 2;
Returns empty if value was set successfullyReturns a failure if the promise was already completedclearKey()
string key = 1;
Entry name.dev.restate.service.protocol.Failure completion_failure = 3;
.dev.restate.service.protocol.Failure completion_failure = 3;
.dev.restate.service.protocol.Failure completion_failure = 3;
com.google.protobuf.ByteString
bytes completion_value = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getEmpty()
Returns empty if value was set successfullyReturns 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 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 completedprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
.dev.restate.service.protocol.Failure completion_failure = 3;
mergeEmpty
(Protocol.Empty value) Returns empty if value was set successfullymergeFailure
(Protocol.Failure value) Returns a failure if the promise was already completedmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) .dev.restate.service.protocol.Failure completion_failure = 3;
setCompletionFailure
(Protocol.Failure.Builder builderForValue) .dev.restate.service.protocol.Failure completion_failure = 3;
setCompletionValue
(com.google.protobuf.ByteString value) bytes completion_value = 2;
setEmpty
(Protocol.Empty value) Returns empty if value was set successfullysetEmpty
(Protocol.Empty.Builder builderForValue) Returns empty if value was set successfullysetFailure
(Protocol.Failure value) Returns a failure if the promise was already completedsetFailure
(Protocol.Failure.Builder builderForValue) Returns a failure if the promise was already completedstring key = 1;
setKeyBytes
(com.google.protobuf.ByteString value) string key = 1;
Entry namesetNameBytes
(com.google.protobuf.ByteString value) Entry nameMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
-
mergeFrom
public Protocol.CompletePromiseEntryMessage.Builder mergeFrom(Protocol.CompletePromiseEntryMessage other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
-
mergeFrom
public Protocol.CompletePromiseEntryMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Protocol.CompletePromiseEntryMessage.Builder>
- Throws:
IOException
-
getCompletionCase
- Specified by:
getCompletionCase
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
-
clearCompletion
-
getResultCase
- Specified by:
getResultCase
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
-
clearResult
-
getKey
string key = 1;
- Specified by:
getKey
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()string key = 1;
- Specified by:
getKeyBytes
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The bytes for key.
-
setKey
string key = 1;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
string key = 1;
- Returns:
- This builder for chaining.
-
setKeyBytes
public Protocol.CompletePromiseEntryMessage.Builder setKeyBytes(com.google.protobuf.ByteString value) string key = 1;
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasCompletionValue
public boolean hasCompletionValue()bytes completion_value = 2;
- Specified by:
hasCompletionValue
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- Whether the completionValue field is set.
-
getCompletionValue
public com.google.protobuf.ByteString getCompletionValue()bytes completion_value = 2;
- Specified by:
getCompletionValue
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The completionValue.
-
setCompletionValue
public Protocol.CompletePromiseEntryMessage.Builder setCompletionValue(com.google.protobuf.ByteString value) bytes completion_value = 2;
- Parameters:
value
- The completionValue to set.- Returns:
- This builder for chaining.
-
clearCompletionValue
bytes completion_value = 2;
- Returns:
- This builder for chaining.
-
hasCompletionFailure
public boolean hasCompletionFailure().dev.restate.service.protocol.Failure completion_failure = 3;
- Specified by:
hasCompletionFailure
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- Whether the completionFailure field is set.
-
getCompletionFailure
.dev.restate.service.protocol.Failure completion_failure = 3;
- Specified by:
getCompletionFailure
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The completionFailure.
-
setCompletionFailure
.dev.restate.service.protocol.Failure completion_failure = 3;
-
setCompletionFailure
public Protocol.CompletePromiseEntryMessage.Builder setCompletionFailure(Protocol.Failure.Builder builderForValue) .dev.restate.service.protocol.Failure completion_failure = 3;
-
mergeCompletionFailure
.dev.restate.service.protocol.Failure completion_failure = 3;
-
clearCompletionFailure
.dev.restate.service.protocol.Failure completion_failure = 3;
-
getCompletionFailureBuilder
.dev.restate.service.protocol.Failure completion_failure = 3;
-
getCompletionFailureOrBuilder
.dev.restate.service.protocol.Failure completion_failure = 3;
- Specified by:
getCompletionFailureOrBuilder
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
-
hasEmpty
public boolean hasEmpty()Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
- Specified by:
hasEmpty
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- Whether the empty field is set.
-
getEmpty
Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
- Specified by:
getEmpty
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The empty.
-
setEmpty
Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
-
setEmpty
public Protocol.CompletePromiseEntryMessage.Builder setEmpty(Protocol.Empty.Builder builderForValue) Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
-
mergeEmpty
Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
-
clearEmpty
Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
-
getEmptyBuilder
Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
-
getEmptyOrBuilder
Returns empty if value was set successfully
.dev.restate.service.protocol.Empty empty = 13;
- Specified by:
getEmptyOrBuilder
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
-
hasFailure
public boolean hasFailure()Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
- Specified by:
hasFailure
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- Whether the failure field is set.
-
getFailure
Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
- Specified by:
getFailure
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The failure.
-
setFailure
Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
-
setFailure
public Protocol.CompletePromiseEntryMessage.Builder setFailure(Protocol.Failure.Builder builderForValue) Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
-
mergeFailure
Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
-
clearFailure
Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
-
getFailureBuilder
Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
-
getFailureOrBuilder
Returns a failure if the promise was already completed
.dev.restate.service.protocol.Failure failure = 15;
- Specified by:
getFailureOrBuilder
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
-
getName
Entry name
string name = 12;
- Specified by:
getName
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Entry name
string name = 12;
- Specified by:
getNameBytes
in interfaceProtocol.CompletePromiseEntryMessageOrBuilder
- Returns:
- The bytes for name.
-
setName
Entry name
string name = 12;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Entry name
string name = 12;
- Returns:
- This builder for chaining.
-
setNameBytes
public Protocol.CompletePromiseEntryMessage.Builder setNameBytes(com.google.protobuf.ByteString value) Entry name
string name = 12;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-