Class SetWorkerDeploymentManagerResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SetWorkerDeploymentManagerResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
io.temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SetWorkerDeploymentManagerResponseOrBuilder, Cloneable
Enclosing class:
SetWorkerDeploymentManagerResponse

public static final class SetWorkerDeploymentManagerResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder> implements SetWorkerDeploymentManagerResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • setField

      public SetWorkerDeploymentManagerResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • clearField

      public SetWorkerDeploymentManagerResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • clearOneof

      public SetWorkerDeploymentManagerResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • setRepeatedField

      public SetWorkerDeploymentManagerResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • addRepeatedField

      public SetWorkerDeploymentManagerResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • mergeFrom

      public SetWorkerDeploymentManagerResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • mergeFrom

    • 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 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:
      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 String getPreviousManagerIdentity()
      Deprecated.
      temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2861
       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=2861
       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(String value)
      Deprecated.
      temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.previous_manager_identity is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2861
       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=2861
       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=2861
       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.
    • setUnknownFields

      public final SetWorkerDeploymentManagerResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>
    • mergeUnknownFields

      public final SetWorkerDeploymentManagerResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetWorkerDeploymentManagerResponse.Builder>