Class NexusOperationScheduledEventAttributes.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationScheduledEventAttributes.Builder>
      • getDefaultInstanceForType

        public NexusOperationScheduledEventAttributes getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public NexusOperationScheduledEventAttributes build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public NexusOperationScheduledEventAttributes buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NexusOperationScheduledEventAttributes.Builder>
        Throws:
        java.io.IOException
      • 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.
      • 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.
      • 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.
      • 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:
        hasInput in interface NexusOperationScheduledEventAttributesOrBuilder
        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:
        getInput in interface NexusOperationScheduledEventAttributesOrBuilder
        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:
        getInputOrBuilder in interface NexusOperationScheduledEventAttributesOrBuilder
      • 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:
        hasScheduleToCloseTimeout in interface NexusOperationScheduledEventAttributesOrBuilder
        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:
        getScheduleToCloseTimeout in interface NexusOperationScheduledEventAttributesOrBuilder
        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:
        getScheduleToCloseTimeoutOrBuilder in interface NexusOperationScheduledEventAttributesOrBuilder
      • 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:
        containsNexusHeader in interface NexusOperationScheduledEventAttributesOrBuilder
      • 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:
        getNexusHeaderMap in interface NexusOperationScheduledEventAttributesOrBuilder
      • 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:
        getNexusHeaderOrDefault in interface NexusOperationScheduledEventAttributesOrBuilder
      • 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:
        getNexusHeaderOrThrow in interface NexusOperationScheduledEventAttributesOrBuilder
      • 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;
      • 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:
        getRequestId in interface NexusOperationScheduledEventAttributesOrBuilder
        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:
        getRequestIdBytes in interface NexusOperationScheduledEventAttributesOrBuilder
        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:
        getEndpointId in interface NexusOperationScheduledEventAttributesOrBuilder
        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:
        getEndpointIdBytes in interface NexusOperationScheduledEventAttributesOrBuilder
        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.