Class NexusOperationCompletedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NexusOperationCompletedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
io.temporal.api.history.v1.NexusOperationCompletedEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NexusOperationCompletedEventAttributesOrBuilder,Cloneable
- Enclosing class:
NexusOperationCompletedEventAttributes
public static final class NexusOperationCompletedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
implements NexusOperationCompletedEventAttributesOrBuilder
Nexus operation completed successfully.Protobuf type
temporal.api.history.v1.NexusOperationCompletedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The request ID allocated at schedule time.Serialized result of the Nexus operation.The ID of the `NEXUS_OPERATION_SCHEDULED` event.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe request ID allocated at schedule time.com.google.protobuf.ByteStringThe request ID allocated at schedule time.Serialized result of the Nexus operation.Serialized result of the Nexus operation.Serialized result of the Nexus operation.longThe ID of the `NEXUS_OPERATION_SCHEDULED` event.booleanSerialized result of the Nexus operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeResult(Payload value) Serialized result of the Nexus operation.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) The request ID allocated at schedule time.setRequestIdBytes(com.google.protobuf.ByteString value) The request ID allocated at schedule time.Serialized result of the Nexus operation.setResult(Payload.Builder builderForValue) Serialized result of the Nexus operation.setScheduledEventId(long value) The ID of the `NEXUS_OPERATION_SCHEDULED` event.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
setField
public NexusOperationCompletedEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
clearField
public NexusOperationCompletedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
clearOneof
public NexusOperationCompletedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
setRepeatedField
public NexusOperationCompletedEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
addRepeatedField
public NexusOperationCompletedEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NexusOperationCompletedEventAttributes.Builder>
-
mergeFrom
public NexusOperationCompletedEventAttributes.Builder mergeFrom(NexusOperationCompletedEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
mergeFrom
public NexusOperationCompletedEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NexusOperationCompletedEventAttributes.Builder>- Throws:
IOException
-
getScheduledEventId
public long getScheduledEventId()The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.
int64 scheduled_event_id = 1;- Specified by:
getScheduledEventIdin interfaceNexusOperationCompletedEventAttributesOrBuilder- Returns:
- The scheduledEventId.
-
setScheduledEventId
The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.
int64 scheduled_event_id = 1;- Parameters:
value- The scheduledEventId to set.- Returns:
- This builder for chaining.
-
clearScheduledEventId
The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.
int64 scheduled_event_id = 1;- Returns:
- This builder for chaining.
-
hasResult
public boolean hasResult()Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2;- Specified by:
hasResultin interfaceNexusOperationCompletedEventAttributesOrBuilder- Returns:
- Whether the result field is set.
-
getResult
Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2;- Specified by:
getResultin interfaceNexusOperationCompletedEventAttributesOrBuilder- Returns:
- The result.
-
setResult
Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2; -
setResult
Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2; -
mergeResult
Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2; -
clearResult
Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2; -
getResultBuilder
Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2; -
getResultOrBuilder
Serialized result of the Nexus operation. The response of the Nexus handler. Delivered either via a completion callback or as a response to a synchronous operation.
.temporal.api.common.v1.Payload result = 2;- Specified by:
getResultOrBuilderin interfaceNexusOperationCompletedEventAttributesOrBuilder
-
getRequestId
The request ID allocated at schedule time.
string request_id = 3;- Specified by:
getRequestIdin interfaceNexusOperationCompletedEventAttributesOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()The request ID allocated at schedule time.
string request_id = 3;- Specified by:
getRequestIdBytesin interfaceNexusOperationCompletedEventAttributesOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
The request ID allocated at schedule time.
string request_id = 3;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
The request ID allocated at schedule time.
string request_id = 3;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public NexusOperationCompletedEventAttributes.Builder setRequestIdBytes(com.google.protobuf.ByteString value) The request ID allocated at schedule time.
string request_id = 3;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NexusOperationCompletedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-
mergeUnknownFields
public final NexusOperationCompletedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationCompletedEventAttributes.Builder>
-