Package io.temporal.api.history.v1
Class NexusOperationScheduledEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
- io.temporal.api.history.v1.NexusOperationScheduledEventAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NexusOperationScheduledEventAttributesOrBuilder,java.lang.Cloneable
- Enclosing class:
- NexusOperationScheduledEventAttributes
public static final class NexusOperationScheduledEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder> implements NexusOperationScheduledEventAttributesOrBuilder
Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.
Protobuf typetemporal.api.history.v1.NexusOperationScheduledEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NexusOperationScheduledEventAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NexusOperationScheduledEventAttributesbuild()NexusOperationScheduledEventAttributesbuildPartial()NexusOperationScheduledEventAttributes.Builderclear()NexusOperationScheduledEventAttributes.BuilderclearEndpoint()Endpoint name, must exist in the endpoint registry.NexusOperationScheduledEventAttributes.BuilderclearEndpointId()Endpoint ID as resolved in the endpoint registry at the time this event was generated.NexusOperationScheduledEventAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NexusOperationScheduledEventAttributes.BuilderclearInput()Input for the operation.NexusOperationScheduledEventAttributes.BuilderclearNexusHeader()NexusOperationScheduledEventAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NexusOperationScheduledEventAttributes.BuilderclearOperation()Operation name.NexusOperationScheduledEventAttributes.BuilderclearRequestId()A unique ID generated by the history service upon creation of this event.NexusOperationScheduledEventAttributes.BuilderclearScheduleToCloseTimeout()Schedule-to-close timeout for this operation.NexusOperationScheduledEventAttributes.BuilderclearService()Service name.NexusOperationScheduledEventAttributes.BuilderclearWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.NexusOperationScheduledEventAttributes.Builderclone()booleancontainsNexusHeader(java.lang.String key)Header to attach to the Nexus request.NexusOperationScheduledEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEndpoint()Endpoint name, must exist in the endpoint registry.com.google.protobuf.ByteStringgetEndpointBytes()Endpoint name, must exist in the endpoint registry.java.lang.StringgetEndpointId()Endpoint ID as resolved in the endpoint registry at the time this event was generated.com.google.protobuf.ByteStringgetEndpointIdBytes()Endpoint ID as resolved in the endpoint registry at the time this event was generated.PayloadgetInput()Input for the operation.Payload.BuildergetInputBuilder()Input for the operation.PayloadOrBuildergetInputOrBuilder()Input for the operation.java.util.Map<java.lang.String,java.lang.String>getMutableNexusHeader()Deprecated.java.util.Map<java.lang.String,java.lang.String>getNexusHeader()Deprecated.intgetNexusHeaderCount()Header to attach to the Nexus request.java.util.Map<java.lang.String,java.lang.String>getNexusHeaderMap()Header to attach to the Nexus request.java.lang.StringgetNexusHeaderOrDefault(java.lang.String key, java.lang.String defaultValue)Header to attach to the Nexus request.java.lang.StringgetNexusHeaderOrThrow(java.lang.String key)Header to attach to the Nexus request.java.lang.StringgetOperation()Operation name.com.google.protobuf.ByteStringgetOperationBytes()Operation name.java.lang.StringgetRequestId()A unique ID generated by the history service upon creation of this event.com.google.protobuf.ByteStringgetRequestIdBytes()A unique ID generated by the history service upon creation of this event.com.google.protobuf.DurationgetScheduleToCloseTimeout()Schedule-to-close timeout for this operation.com.google.protobuf.Duration.BuildergetScheduleToCloseTimeoutBuilder()Schedule-to-close timeout for this operation.com.google.protobuf.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Schedule-to-close timeout for this operation.java.lang.StringgetService()Service name.com.google.protobuf.ByteStringgetServiceBytes()Service name.longgetWorkflowTaskCompletedEventId()The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.booleanhasInput()Input for the operation.booleanhasScheduleToCloseTimeout()Schedule-to-close timeout for this operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()NexusOperationScheduledEventAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NexusOperationScheduledEventAttributes.BuildermergeFrom(com.google.protobuf.Message other)NexusOperationScheduledEventAttributes.BuildermergeFrom(NexusOperationScheduledEventAttributes other)NexusOperationScheduledEventAttributes.BuildermergeInput(Payload value)Input for the operation.NexusOperationScheduledEventAttributes.BuildermergeScheduleToCloseTimeout(com.google.protobuf.Duration value)Schedule-to-close timeout for this operation.NexusOperationScheduledEventAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NexusOperationScheduledEventAttributes.BuilderputAllNexusHeader(java.util.Map<java.lang.String,java.lang.String> values)Header to attach to the Nexus request.NexusOperationScheduledEventAttributes.BuilderputNexusHeader(java.lang.String key, java.lang.String value)Header to attach to the Nexus request.NexusOperationScheduledEventAttributes.BuilderremoveNexusHeader(java.lang.String key)Header to attach to the Nexus request.NexusOperationScheduledEventAttributes.BuildersetEndpoint(java.lang.String value)Endpoint name, must exist in the endpoint registry.NexusOperationScheduledEventAttributes.BuildersetEndpointBytes(com.google.protobuf.ByteString value)Endpoint name, must exist in the endpoint registry.NexusOperationScheduledEventAttributes.BuildersetEndpointId(java.lang.String value)Endpoint ID as resolved in the endpoint registry at the time this event was generated.NexusOperationScheduledEventAttributes.BuildersetEndpointIdBytes(com.google.protobuf.ByteString value)Endpoint ID as resolved in the endpoint registry at the time this event was generated.NexusOperationScheduledEventAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NexusOperationScheduledEventAttributes.BuildersetInput(Payload value)Input for the operation.NexusOperationScheduledEventAttributes.BuildersetInput(Payload.Builder builderForValue)Input for the operation.NexusOperationScheduledEventAttributes.BuildersetOperation(java.lang.String value)Operation name.NexusOperationScheduledEventAttributes.BuildersetOperationBytes(com.google.protobuf.ByteString value)Operation name.NexusOperationScheduledEventAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)NexusOperationScheduledEventAttributes.BuildersetRequestId(java.lang.String value)A unique ID generated by the history service upon creation of this event.NexusOperationScheduledEventAttributes.BuildersetRequestIdBytes(com.google.protobuf.ByteString value)A unique ID generated by the history service upon creation of this event.NexusOperationScheduledEventAttributes.BuildersetScheduleToCloseTimeout(com.google.protobuf.Duration value)Schedule-to-close timeout for this operation.NexusOperationScheduledEventAttributes.BuildersetScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)Schedule-to-close timeout for this operation.NexusOperationScheduledEventAttributes.BuildersetService(java.lang.String value)Service name.NexusOperationScheduledEventAttributes.BuildersetServiceBytes(com.google.protobuf.ByteString value)Service name.NexusOperationScheduledEventAttributes.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NexusOperationScheduledEventAttributes.BuildersetWorkflowTaskCompletedEventId(long value)The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
clear
public NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.Builder>
-
getDefaultInstanceForType
public NexusOperationScheduledEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NexusOperationScheduledEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NexusOperationScheduledEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NexusOperationScheduledEventAttributes.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<NexusOperationScheduledEventAttributes.Builder>
-
setField
public NexusOperationScheduledEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
clearField
public NexusOperationScheduledEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
clearOneof
public NexusOperationScheduledEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
setRepeatedField
public NexusOperationScheduledEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
addRepeatedField
public NexusOperationScheduledEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
mergeFrom
public NexusOperationScheduledEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NexusOperationScheduledEventAttributes.Builder>
-
mergeFrom
public NexusOperationScheduledEventAttributes.Builder mergeFrom(NexusOperationScheduledEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
mergeFrom
public NexusOperationScheduledEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NexusOperationScheduledEventAttributes.Builder>- Throws:
java.io.IOException
-
getEndpoint
public java.lang.String getEndpoint()
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Specified by:
getEndpointin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Specified by:
getEndpointBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for endpoint.
-
setEndpoint
public NexusOperationScheduledEventAttributes.Builder setEndpoint(java.lang.String value)
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
public NexusOperationScheduledEventAttributes.Builder clearEndpoint()
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Returns:
- This builder for chaining.
-
setEndpointBytes
public NexusOperationScheduledEventAttributes.Builder setEndpointBytes(com.google.protobuf.ByteString value)
Endpoint name, must exist in the endpoint registry.
string endpoint = 1;- Parameters:
value- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
getService
public java.lang.String getService()
Service name.
string service = 2;- Specified by:
getServicein interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()
Service name.
string service = 2;- Specified by:
getServiceBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for service.
-
setService
public NexusOperationScheduledEventAttributes.Builder setService(java.lang.String value)
Service name.
string service = 2;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
public NexusOperationScheduledEventAttributes.Builder clearService()
Service name.
string service = 2;- Returns:
- This builder for chaining.
-
setServiceBytes
public NexusOperationScheduledEventAttributes.Builder setServiceBytes(com.google.protobuf.ByteString value)
Service name.
string service = 2;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getOperation
public java.lang.String getOperation()
Operation name.
string operation = 3;- Specified by:
getOperationin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()
Operation name.
string operation = 3;- Specified by:
getOperationBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for operation.
-
setOperation
public NexusOperationScheduledEventAttributes.Builder setOperation(java.lang.String value)
Operation name.
string operation = 3;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
public NexusOperationScheduledEventAttributes.Builder clearOperation()
Operation name.
string operation = 3;- Returns:
- This builder for chaining.
-
setOperationBytes
public NexusOperationScheduledEventAttributes.Builder setOperationBytes(com.google.protobuf.ByteString value)
Operation name.
string operation = 3;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
hasInput
public boolean hasInput()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;- Specified by:
hasInputin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- Whether the input field is set.
-
getInput
public Payload getInput()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;- Specified by:
getInputin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The input.
-
setInput
public NexusOperationScheduledEventAttributes.Builder setInput(Payload value)
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;
-
setInput
public NexusOperationScheduledEventAttributes.Builder setInput(Payload.Builder builderForValue)
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;
-
mergeInput
public NexusOperationScheduledEventAttributes.Builder mergeInput(Payload value)
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;
-
clearInput
public NexusOperationScheduledEventAttributes.Builder clearInput()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;
-
getInputBuilder
public Payload.Builder getInputBuilder()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;
-
getInputOrBuilder
public PayloadOrBuilder getInputOrBuilder()
Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload stored in this event.
.temporal.api.common.v1.Payload input = 4;- Specified by:
getInputOrBuilderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
hasScheduleToCloseTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.Duration getScheduleToCloseTimeout()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
getScheduleToCloseTimeoutin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
setScheduleToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value)
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;
-
setScheduleToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;
-
mergeScheduleToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;
-
clearScheduleToCloseTimeout
public NexusOperationScheduledEventAttributes.Builder clearScheduleToCloseTimeout()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;
-
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;
-
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderCount
public int getNexusHeaderCount()
Description copied from interface:NexusOperationScheduledEventAttributesOrBuilderHeader to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderCountin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
containsNexusHeader
public boolean containsNexusHeader(java.lang.String key)
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
containsNexusHeaderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeader
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getNexusHeader()
Deprecated.UsegetNexusHeaderMap()instead.- Specified by:
getNexusHeaderin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderMap
public java.util.Map<java.lang.String,java.lang.String> getNexusHeaderMap()
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderMapin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderOrDefault
public java.lang.String getNexusHeaderOrDefault(java.lang.String key, java.lang.String defaultValue)Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderOrDefaultin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
getNexusHeaderOrThrow
public java.lang.String getNexusHeaderOrThrow(java.lang.String key)
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;- Specified by:
getNexusHeaderOrThrowin interfaceNexusOperationScheduledEventAttributesOrBuilder
-
clearNexusHeader
public NexusOperationScheduledEventAttributes.Builder clearNexusHeader()
-
removeNexusHeader
public NexusOperationScheduledEventAttributes.Builder removeNexusHeader(java.lang.String key)
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;
-
getMutableNexusHeader
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableNexusHeader()
Deprecated.Use alternate mutation accessors instead.
-
putNexusHeader
public NexusOperationScheduledEventAttributes.Builder putNexusHeader(java.lang.String key, java.lang.String value)
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;
-
putAllNexusHeader
public NexusOperationScheduledEventAttributes.Builder putAllNexusHeader(java.util.Map<java.lang.String,java.lang.String> values)
Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.
map<string, string> nexus_header = 6;
-
getWorkflowTaskCompletedEventId
public long getWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
int64 workflow_task_completed_event_id = 7;- Specified by:
getWorkflowTaskCompletedEventIdin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The workflowTaskCompletedEventId.
-
setWorkflowTaskCompletedEventId
public NexusOperationScheduledEventAttributes.Builder setWorkflowTaskCompletedEventId(long value)
The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
int64 workflow_task_completed_event_id = 7;- Parameters:
value- The workflowTaskCompletedEventId to set.- Returns:
- This builder for chaining.
-
clearWorkflowTaskCompletedEventId
public NexusOperationScheduledEventAttributes.Builder clearWorkflowTaskCompletedEventId()
The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.
int64 workflow_task_completed_event_id = 7;- Returns:
- This builder for chaining.
-
getRequestId
public java.lang.String getRequestId()
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Specified by:
getRequestIdin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Specified by:
getRequestIdBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
public NexusOperationScheduledEventAttributes.Builder setRequestId(java.lang.String value)
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public NexusOperationScheduledEventAttributes.Builder clearRequestId()
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public NexusOperationScheduledEventAttributes.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
A unique ID generated by the history service upon creation of this event. The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.
string request_id = 8;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getEndpointId
public java.lang.String getEndpointId()
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Specified by:
getEndpointIdin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The endpointId.
-
getEndpointIdBytes
public com.google.protobuf.ByteString getEndpointIdBytes()
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Specified by:
getEndpointIdBytesin interfaceNexusOperationScheduledEventAttributesOrBuilder- Returns:
- The bytes for endpointId.
-
setEndpointId
public NexusOperationScheduledEventAttributes.Builder setEndpointId(java.lang.String value)
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Parameters:
value- The endpointId to set.- Returns:
- This builder for chaining.
-
clearEndpointId
public NexusOperationScheduledEventAttributes.Builder clearEndpointId()
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Returns:
- This builder for chaining.
-
setEndpointIdBytes
public NexusOperationScheduledEventAttributes.Builder setEndpointIdBytes(com.google.protobuf.ByteString value)
Endpoint ID as resolved in the endpoint registry at the time this event was generated. This is stored on the event and used internally by the server in case the endpoint is renamed from the time the event was originally scheduled.
string endpoint_id = 9;- Parameters:
value- The bytes for endpointId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NexusOperationScheduledEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
mergeUnknownFields
public final NexusOperationScheduledEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
-
-