Class SetWorkerDeploymentCurrentVersionResponse.Builder

    • Method Detail

      • getDescriptor

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

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

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

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

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

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

        public com.google.protobuf.ByteString getConflictToken()
         This value is returned so that it can be optionally passed to APIs
         that write to the Worker Deployment state to ensure that the state
         did not change between this API call and a future write.
         
        bytes conflict_token = 1;
        Specified by:
        getConflictToken in interface SetWorkerDeploymentCurrentVersionResponseOrBuilder
        Returns:
        The conflictToken.
      • setConflictToken

        public SetWorkerDeploymentCurrentVersionResponse.Builder setConflictToken​(com.google.protobuf.ByteString value)
         This value is returned so that it can be optionally passed to APIs
         that write to the Worker Deployment state to ensure that the state
         did not change between this API call and a future write.
         
        bytes conflict_token = 1;
        Parameters:
        value - The conflictToken to set.
        Returns:
        This builder for chaining.
      • clearConflictToken

        public SetWorkerDeploymentCurrentVersionResponse.Builder clearConflictToken()
         This value is returned so that it can be optionally passed to APIs
         that write to the Worker Deployment state to ensure that the state
         did not change between this API call and a future write.
         
        bytes conflict_token = 1;
        Returns:
        This builder for chaining.
      • getPreviousVersion

        @Deprecated
        public java.lang.String getPreviousVersion()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2267
         Deprecated. Use `previous_deployment_version`.
         
        string previous_version = 2 [deprecated = true];
        Specified by:
        getPreviousVersion in interface SetWorkerDeploymentCurrentVersionResponseOrBuilder
        Returns:
        The previousVersion.
      • getPreviousVersionBytes

        @Deprecated
        public com.google.protobuf.ByteString getPreviousVersionBytes()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2267
         Deprecated. Use `previous_deployment_version`.
         
        string previous_version = 2 [deprecated = true];
        Specified by:
        getPreviousVersionBytes in interface SetWorkerDeploymentCurrentVersionResponseOrBuilder
        Returns:
        The bytes for previousVersion.
      • setPreviousVersion

        @Deprecated
        public SetWorkerDeploymentCurrentVersionResponse.Builder setPreviousVersion​(java.lang.String value)
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2267
         Deprecated. Use `previous_deployment_version`.
         
        string previous_version = 2 [deprecated = true];
        Parameters:
        value - The previousVersion to set.
        Returns:
        This builder for chaining.
      • clearPreviousVersion

        @Deprecated
        public SetWorkerDeploymentCurrentVersionResponse.Builder clearPreviousVersion()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2267
         Deprecated. Use `previous_deployment_version`.
         
        string previous_version = 2 [deprecated = true];
        Returns:
        This builder for chaining.
      • setPreviousVersionBytes

        @Deprecated
        public SetWorkerDeploymentCurrentVersionResponse.Builder setPreviousVersionBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2267
         Deprecated. Use `previous_deployment_version`.
         
        string previous_version = 2 [deprecated = true];
        Parameters:
        value - The bytes for previousVersion to set.
        Returns:
        This builder for chaining.
      • hasPreviousDeploymentVersion

        @Deprecated
        public boolean hasPreviousDeploymentVersion()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_deployment_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2273
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
        Specified by:
        hasPreviousDeploymentVersion in interface SetWorkerDeploymentCurrentVersionResponseOrBuilder
        Returns:
        Whether the previousDeploymentVersion field is set.
      • getPreviousDeploymentVersion

        @Deprecated
        public WorkerDeploymentVersion getPreviousDeploymentVersion()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse.previous_deployment_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2273
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
        Specified by:
        getPreviousDeploymentVersion in interface SetWorkerDeploymentCurrentVersionResponseOrBuilder
        Returns:
        The previousDeploymentVersion.
      • setPreviousDeploymentVersion

        @Deprecated
        public SetWorkerDeploymentCurrentVersionResponse.Builder setPreviousDeploymentVersion​(WorkerDeploymentVersion value)
        Deprecated.
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
      • setPreviousDeploymentVersion

        @Deprecated
        public SetWorkerDeploymentCurrentVersionResponse.Builder setPreviousDeploymentVersion​(WorkerDeploymentVersion.Builder builderForValue)
        Deprecated.
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
      • mergePreviousDeploymentVersion

        @Deprecated
        public SetWorkerDeploymentCurrentVersionResponse.Builder mergePreviousDeploymentVersion​(WorkerDeploymentVersion value)
        Deprecated.
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
      • clearPreviousDeploymentVersion

        @Deprecated
        public SetWorkerDeploymentCurrentVersionResponse.Builder clearPreviousDeploymentVersion()
        Deprecated.
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
      • getPreviousDeploymentVersionBuilder

        @Deprecated
        public WorkerDeploymentVersion.Builder getPreviousDeploymentVersionBuilder()
        Deprecated.
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
      • getPreviousDeploymentVersionOrBuilder

        @Deprecated
        public WorkerDeploymentVersionOrBuilder getPreviousDeploymentVersionOrBuilder()
        Deprecated.
         The version that was current before executing this operation.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         Current version info before calling this API. By passing the `conflict_token` got from the
         `DescribeWorkerDeployment` call to this API you can ensure there is no interfering changes
         between the two calls.
         
        .temporal.api.deployment.v1.WorkerDeploymentVersion previous_deployment_version = 3 [deprecated = true];
        Specified by:
        getPreviousDeploymentVersionOrBuilder in interface SetWorkerDeploymentCurrentVersionResponseOrBuilder