Class ScheduleNexusOperationCommandAttributes.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<ScheduleNexusOperationCommandAttributes.Builder>
      • internalGetMutableMapField

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ScheduleNexusOperationCommandAttributes.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<ScheduleNexusOperationCommandAttributes.Builder>
      • getDefaultInstanceForType

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

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

        public ScheduleNexusOperationCommandAttributes 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<ScheduleNexusOperationCommandAttributes.Builder>
      • mergeFrom

        public ScheduleNexusOperationCommandAttributes.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<ScheduleNexusOperationCommandAttributes.Builder>
        Throws:
        java.io.IOException
      • setEndpoint

        public ScheduleNexusOperationCommandAttributes.Builder setEndpoint​(java.lang.String value)
         Endpoint name, must exist in the endpoint registry or this command will fail.
         
        string endpoint = 1;
        Parameters:
        value - The endpoint to set.
        Returns:
        This builder for chaining.
      • setEndpointBytes

        public ScheduleNexusOperationCommandAttributes.Builder setEndpointBytes​(com.google.protobuf.ByteString value)
         Endpoint name, must exist in the endpoint registry or this command will fail.
         
        string endpoint = 1;
        Parameters:
        value - The bytes for endpoint to set.
        Returns:
        This builder for chaining.
      • setServiceBytes

        public ScheduleNexusOperationCommandAttributes.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 ScheduleNexusOperationCommandAttributes.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 sent in this command.
         
        .temporal.api.common.v1.Payload input = 4;
        Specified by:
        hasInput in interface ScheduleNexusOperationCommandAttributesOrBuilder
        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 sent in this command.
         
        .temporal.api.common.v1.Payload input = 4;
        Specified by:
        getInput in interface ScheduleNexusOperationCommandAttributesOrBuilder
        Returns:
        The input.
      • setInput

        public ScheduleNexusOperationCommandAttributes.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 sent in this command.
         
        .temporal.api.common.v1.Payload input = 4;
      • setInput

        public ScheduleNexusOperationCommandAttributes.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 sent in this command.
         
        .temporal.api.common.v1.Payload input = 4;
      • mergeInput

        public ScheduleNexusOperationCommandAttributes.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 sent in this command.
         
        .temporal.api.common.v1.Payload input = 4;
      • clearInput

        public ScheduleNexusOperationCommandAttributes.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 sent in this command.
         
        .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 sent in this command.
         
        .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 sent in this command.
         
        .temporal.api.common.v1.Payload input = 4;
        Specified by:
        getInputOrBuilder in interface ScheduleNexusOperationCommandAttributesOrBuilder
      • 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 ScheduleNexusOperationCommandAttributesOrBuilder
        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 ScheduleNexusOperationCommandAttributesOrBuilder
        Returns:
        The scheduleToCloseTimeout.
      • setScheduleToCloseTimeout

        public ScheduleNexusOperationCommandAttributes.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 ScheduleNexusOperationCommandAttributes.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 ScheduleNexusOperationCommandAttributes.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 ScheduleNexusOperationCommandAttributes.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 ScheduleNexusOperationCommandAttributesOrBuilder
      • getNexusHeaderCount

        public int getNexusHeaderCount()
        Description copied from interface: ScheduleNexusOperationCommandAttributesOrBuilder
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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:
        getNexusHeaderCount in interface ScheduleNexusOperationCommandAttributesOrBuilder
      • containsNexusHeader

        public boolean containsNexusHeader​(java.lang.String key)
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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 ScheduleNexusOperationCommandAttributesOrBuilder
      • getNexusHeaderMap

        public java.util.Map<java.lang.String,​java.lang.String> getNexusHeaderMap()
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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 ScheduleNexusOperationCommandAttributesOrBuilder
      • getNexusHeaderOrDefault

        public java.lang.String getNexusHeaderOrDefault​(java.lang.String key,
                                                        java.lang.String defaultValue)
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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 ScheduleNexusOperationCommandAttributesOrBuilder
      • getNexusHeaderOrThrow

        public java.lang.String getNexusHeaderOrThrow​(java.lang.String key)
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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 ScheduleNexusOperationCommandAttributesOrBuilder
      • removeNexusHeader

        public ScheduleNexusOperationCommandAttributes.Builder removeNexusHeader​(java.lang.String key)
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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 ScheduleNexusOperationCommandAttributes.Builder putNexusHeader​(java.lang.String key,
                                                                              java.lang.String value)
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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 ScheduleNexusOperationCommandAttributes.Builder putAllNexusHeader​(java.util.Map<java.lang.String,​java.lang.String> values)
         Header to attach to the Nexus request.
         Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
         transmitted to external services as-is.
         This is useful for propagating tracing information.
         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;