Class Protocol.NotificationTemplate.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Protocol.NotificationTemplate.Builder>
com.google.protobuf.GeneratedMessage.Builder<Protocol.NotificationTemplate.Builder>
dev.restate.sdk.core.generated.protocol.Protocol.NotificationTemplate.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Protocol.NotificationTemplateOrBuilder
,Cloneable
- Enclosing class:
Protocol.NotificationTemplate
public static final class Protocol.NotificationTemplate.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Protocol.NotificationTemplate.Builder>
implements Protocol.NotificationTemplateOrBuilder
A notification message follows the following duck-type:Protobuf type
dev.restate.service.protocol.NotificationTemplate
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
uint32 completion_id = 1;
.dev.restate.service.protocol.Failure failure = 6;
clearId()
Used by specific commandsuint32 signal_id = 2;
string signal_name = 3;
.dev.restate.service.protocol.StateKeys state_keys = 17;
.dev.restate.service.protocol.Value value = 5;
.dev.restate.service.protocol.Void void = 4;
int
uint32 completion_id = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.dev.restate.service.protocol.Failure failure = 6;
.dev.restate.service.protocol.Failure failure = 6;
.dev.restate.service.protocol.Failure failure = 6;
Used by specific commandscom.google.protobuf.ByteString
Used by specific commandsint
uint32 signal_id = 2;
string signal_name = 3;
com.google.protobuf.ByteString
string signal_name = 3;
.dev.restate.service.protocol.StateKeys state_keys = 17;
.dev.restate.service.protocol.StateKeys state_keys = 17;
.dev.restate.service.protocol.StateKeys state_keys = 17;
getValue()
.dev.restate.service.protocol.Value value = 5;
.dev.restate.service.protocol.Value value = 5;
.dev.restate.service.protocol.Value value = 5;
getVoid()
.dev.restate.service.protocol.Void void = 4;
.dev.restate.service.protocol.Void void = 4;
.dev.restate.service.protocol.Void void = 4;
boolean
uint32 completion_id = 1;
boolean
.dev.restate.service.protocol.Failure failure = 6;
boolean
Used by specific commandsboolean
uint32 signal_id = 2;
boolean
string signal_name = 3;
boolean
.dev.restate.service.protocol.StateKeys state_keys = 17;
boolean
hasValue()
.dev.restate.service.protocol.Value value = 5;
boolean
hasVoid()
.dev.restate.service.protocol.Void void = 4;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFailure
(Protocol.Failure value) .dev.restate.service.protocol.Failure failure = 6;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeStateKeys
(Protocol.StateKeys value) .dev.restate.service.protocol.StateKeys state_keys = 17;
mergeValue
(Protocol.Value value) .dev.restate.service.protocol.Value value = 5;
mergeVoid
(Protocol.Void value) .dev.restate.service.protocol.Void void = 4;
setCompletionId
(int value) uint32 completion_id = 1;
setFailure
(Protocol.Failure value) .dev.restate.service.protocol.Failure failure = 6;
setFailure
(Protocol.Failure.Builder builderForValue) .dev.restate.service.protocol.Failure failure = 6;
setInvocationId
(String value) Used by specific commandssetInvocationIdBytes
(com.google.protobuf.ByteString value) Used by specific commandssetSignalId
(int value) uint32 signal_id = 2;
setSignalName
(String value) string signal_name = 3;
setSignalNameBytes
(com.google.protobuf.ByteString value) string signal_name = 3;
setStateKeys
(Protocol.StateKeys value) .dev.restate.service.protocol.StateKeys state_keys = 17;
setStateKeys
(Protocol.StateKeys.Builder builderForValue) .dev.restate.service.protocol.StateKeys state_keys = 17;
setValue
(Protocol.Value value) .dev.restate.service.protocol.Value value = 5;
setValue
(Protocol.Value.Builder builderForValue) .dev.restate.service.protocol.Value value = 5;
setVoid
(Protocol.Void value) .dev.restate.service.protocol.Void void = 4;
setVoid
(Protocol.Void.Builder builderForValue) .dev.restate.service.protocol.Void void = 4;
Methods 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.NotificationTemplate.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.NotificationTemplate.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.NotificationTemplate.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.NotificationTemplate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Protocol.NotificationTemplate.Builder>
-
mergeFrom
public Protocol.NotificationTemplate.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.NotificationTemplate.Builder>
- Throws:
IOException
-
getIdCase
- Specified by:
getIdCase
in interfaceProtocol.NotificationTemplateOrBuilder
-
clearId
-
getResultCase
- Specified by:
getResultCase
in interfaceProtocol.NotificationTemplateOrBuilder
-
clearResult
-
hasCompletionId
public boolean hasCompletionId()uint32 completion_id = 1;
- Specified by:
hasCompletionId
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the completionId field is set.
-
getCompletionId
public int getCompletionId()uint32 completion_id = 1;
- Specified by:
getCompletionId
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The completionId.
-
setCompletionId
uint32 completion_id = 1;
- Parameters:
value
- The completionId to set.- Returns:
- This builder for chaining.
-
clearCompletionId
uint32 completion_id = 1;
- Returns:
- This builder for chaining.
-
hasSignalId
public boolean hasSignalId()uint32 signal_id = 2;
- Specified by:
hasSignalId
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the signalId field is set.
-
getSignalId
public int getSignalId()uint32 signal_id = 2;
- Specified by:
getSignalId
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The signalId.
-
setSignalId
uint32 signal_id = 2;
- Parameters:
value
- The signalId to set.- Returns:
- This builder for chaining.
-
clearSignalId
uint32 signal_id = 2;
- Returns:
- This builder for chaining.
-
hasSignalName
public boolean hasSignalName()string signal_name = 3;
- Specified by:
hasSignalName
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the signalName field is set.
-
getSignalName
string signal_name = 3;
- Specified by:
getSignalName
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The signalName.
-
getSignalNameBytes
public com.google.protobuf.ByteString getSignalNameBytes()string signal_name = 3;
- Specified by:
getSignalNameBytes
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The bytes for signalName.
-
setSignalName
string signal_name = 3;
- Parameters:
value
- The signalName to set.- Returns:
- This builder for chaining.
-
clearSignalName
string signal_name = 3;
- Returns:
- This builder for chaining.
-
setSignalNameBytes
public Protocol.NotificationTemplate.Builder setSignalNameBytes(com.google.protobuf.ByteString value) string signal_name = 3;
- Parameters:
value
- The bytes for signalName to set.- Returns:
- This builder for chaining.
-
hasVoid
public boolean hasVoid().dev.restate.service.protocol.Void void = 4;
- Specified by:
hasVoid
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the void field is set.
-
getVoid
.dev.restate.service.protocol.Void void = 4;
- Specified by:
getVoid
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The void.
-
setVoid
.dev.restate.service.protocol.Void void = 4;
-
setVoid
.dev.restate.service.protocol.Void void = 4;
-
mergeVoid
.dev.restate.service.protocol.Void void = 4;
-
clearVoid
.dev.restate.service.protocol.Void void = 4;
-
getVoidBuilder
.dev.restate.service.protocol.Void void = 4;
-
getVoidOrBuilder
.dev.restate.service.protocol.Void void = 4;
- Specified by:
getVoidOrBuilder
in interfaceProtocol.NotificationTemplateOrBuilder
-
hasValue
public boolean hasValue().dev.restate.service.protocol.Value value = 5;
- Specified by:
hasValue
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
.dev.restate.service.protocol.Value value = 5;
- Specified by:
getValue
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The value.
-
setValue
.dev.restate.service.protocol.Value value = 5;
-
setValue
.dev.restate.service.protocol.Value value = 5;
-
mergeValue
.dev.restate.service.protocol.Value value = 5;
-
clearValue
.dev.restate.service.protocol.Value value = 5;
-
getValueBuilder
.dev.restate.service.protocol.Value value = 5;
-
getValueOrBuilder
.dev.restate.service.protocol.Value value = 5;
- Specified by:
getValueOrBuilder
in interfaceProtocol.NotificationTemplateOrBuilder
-
hasFailure
public boolean hasFailure().dev.restate.service.protocol.Failure failure = 6;
- Specified by:
hasFailure
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the failure field is set.
-
getFailure
.dev.restate.service.protocol.Failure failure = 6;
- Specified by:
getFailure
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The failure.
-
setFailure
.dev.restate.service.protocol.Failure failure = 6;
-
setFailure
.dev.restate.service.protocol.Failure failure = 6;
-
mergeFailure
.dev.restate.service.protocol.Failure failure = 6;
-
clearFailure
.dev.restate.service.protocol.Failure failure = 6;
-
getFailureBuilder
.dev.restate.service.protocol.Failure failure = 6;
-
getFailureOrBuilder
.dev.restate.service.protocol.Failure failure = 6;
- Specified by:
getFailureOrBuilder
in interfaceProtocol.NotificationTemplateOrBuilder
-
hasInvocationId
public boolean hasInvocationId()Used by specific commands
string invocation_id = 16;
- Specified by:
hasInvocationId
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the invocationId field is set.
-
getInvocationId
Used by specific commands
string invocation_id = 16;
- Specified by:
getInvocationId
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The invocationId.
-
getInvocationIdBytes
public com.google.protobuf.ByteString getInvocationIdBytes()Used by specific commands
string invocation_id = 16;
- Specified by:
getInvocationIdBytes
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The bytes for invocationId.
-
setInvocationId
Used by specific commands
string invocation_id = 16;
- Parameters:
value
- The invocationId to set.- Returns:
- This builder for chaining.
-
clearInvocationId
Used by specific commands
string invocation_id = 16;
- Returns:
- This builder for chaining.
-
setInvocationIdBytes
public Protocol.NotificationTemplate.Builder setInvocationIdBytes(com.google.protobuf.ByteString value) Used by specific commands
string invocation_id = 16;
- Parameters:
value
- The bytes for invocationId to set.- Returns:
- This builder for chaining.
-
hasStateKeys
public boolean hasStateKeys().dev.restate.service.protocol.StateKeys state_keys = 17;
- Specified by:
hasStateKeys
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- Whether the stateKeys field is set.
-
getStateKeys
.dev.restate.service.protocol.StateKeys state_keys = 17;
- Specified by:
getStateKeys
in interfaceProtocol.NotificationTemplateOrBuilder
- Returns:
- The stateKeys.
-
setStateKeys
.dev.restate.service.protocol.StateKeys state_keys = 17;
-
setStateKeys
public Protocol.NotificationTemplate.Builder setStateKeys(Protocol.StateKeys.Builder builderForValue) .dev.restate.service.protocol.StateKeys state_keys = 17;
-
mergeStateKeys
.dev.restate.service.protocol.StateKeys state_keys = 17;
-
clearStateKeys
.dev.restate.service.protocol.StateKeys state_keys = 17;
-
getStateKeysBuilder
.dev.restate.service.protocol.StateKeys state_keys = 17;
-
getStateKeysOrBuilder
.dev.restate.service.protocol.StateKeys state_keys = 17;
- Specified by:
getStateKeysOrBuilder
in interfaceProtocol.NotificationTemplateOrBuilder
-