Class SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public SetWorkerDeploymentManagerResponse.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<SetWorkerDeploymentManagerResponse.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 SetWorkerDeploymentManagerResponseOrBuilder
        Returns:
        The conflictToken.
      • setConflictToken

        public SetWorkerDeploymentManagerResponse.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 SetWorkerDeploymentManagerResponse.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.
      • getPreviousManagerIdentity

        @Deprecated
        public java.lang.String getPreviousManagerIdentity()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456
         What the `manager_identity` field was before this change.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         manager identity 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.
         
        string previous_manager_identity = 2 [deprecated = true];
        Specified by:
        getPreviousManagerIdentity in interface SetWorkerDeploymentManagerResponseOrBuilder
        Returns:
        The previousManagerIdentity.
      • getPreviousManagerIdentityBytes

        @Deprecated
        public com.google.protobuf.ByteString getPreviousManagerIdentityBytes()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456
         What the `manager_identity` field was before this change.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         manager identity 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.
         
        string previous_manager_identity = 2 [deprecated = true];
        Specified by:
        getPreviousManagerIdentityBytes in interface SetWorkerDeploymentManagerResponseOrBuilder
        Returns:
        The bytes for previousManagerIdentity.
      • setPreviousManagerIdentity

        @Deprecated
        public SetWorkerDeploymentManagerResponse.Builder setPreviousManagerIdentity​(java.lang.String value)
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456
         What the `manager_identity` field was before this change.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         manager identity 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.
         
        string previous_manager_identity = 2 [deprecated = true];
        Parameters:
        value - The previousManagerIdentity to set.
        Returns:
        This builder for chaining.
      • clearPreviousManagerIdentity

        @Deprecated
        public SetWorkerDeploymentManagerResponse.Builder clearPreviousManagerIdentity()
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456
         What the `manager_identity` field was before this change.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         manager identity 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.
         
        string previous_manager_identity = 2 [deprecated = true];
        Returns:
        This builder for chaining.
      • setPreviousManagerIdentityBytes

        @Deprecated
        public SetWorkerDeploymentManagerResponse.Builder setPreviousManagerIdentityBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2456
         What the `manager_identity` field was before this change.
         Deprecated in favor of idempotency of the API. Use `DescribeWorkerDeployment` to get the
         manager identity 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.
         
        string previous_manager_identity = 2 [deprecated = true];
        Parameters:
        value - The bytes for previousManagerIdentity to set.
        Returns:
        This builder for chaining.