Class UpdateAccountRequest.Builder

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

public static final class UpdateAccountRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateAccountRequest.Builder> implements UpdateAccountRequestOrBuilder
Protobuf type temporal.api.cloud.cloudservice.v1.UpdateAccountRequest
  • 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<UpdateAccountRequest.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<UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • getDefaultInstanceForType

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

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

      public UpdateAccountRequest 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<UpdateAccountRequest.Builder>
    • setField

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • clearField

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • clearOneof

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • setRepeatedField

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • addRepeatedField

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

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

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
      Throws:
      IOException
    • hasSpec

      public boolean hasSpec()
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
      Specified by:
      hasSpec in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public AccountSpec getSpec()
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
      Specified by:
      getSpec in interface UpdateAccountRequestOrBuilder
      Returns:
      The spec.
    • setSpec

      public UpdateAccountRequest.Builder setSpec(AccountSpec value)
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
    • setSpec

      public UpdateAccountRequest.Builder setSpec(AccountSpec.Builder builderForValue)
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
    • mergeSpec

      public UpdateAccountRequest.Builder mergeSpec(AccountSpec value)
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
    • clearSpec

      public UpdateAccountRequest.Builder clearSpec()
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
    • getSpecBuilder

      public AccountSpec.Builder getSpecBuilder()
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
    • getSpecOrBuilder

      public AccountSpecOrBuilder getSpecOrBuilder()
       The updated account specification to apply.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 1;
      Specified by:
      getSpecOrBuilder in interface UpdateAccountRequestOrBuilder
    • getResourceVersion

      public String getResourceVersion()
       The version of the account for which this update is intended for.
       The latest version can be found in the GetAccount operation response.
       
      string resource_version = 2;
      Specified by:
      getResourceVersion in interface UpdateAccountRequestOrBuilder
      Returns:
      The resourceVersion.
    • getResourceVersionBytes

      public com.google.protobuf.ByteString getResourceVersionBytes()
       The version of the account for which this update is intended for.
       The latest version can be found in the GetAccount operation response.
       
      string resource_version = 2;
      Specified by:
      getResourceVersionBytes in interface UpdateAccountRequestOrBuilder
      Returns:
      The bytes for resourceVersion.
    • setResourceVersion

      public UpdateAccountRequest.Builder setResourceVersion(String value)
       The version of the account for which this update is intended for.
       The latest version can be found in the GetAccount operation response.
       
      string resource_version = 2;
      Parameters:
      value - The resourceVersion to set.
      Returns:
      This builder for chaining.
    • clearResourceVersion

      public UpdateAccountRequest.Builder clearResourceVersion()
       The version of the account for which this update is intended for.
       The latest version can be found in the GetAccount operation response.
       
      string resource_version = 2;
      Returns:
      This builder for chaining.
    • setResourceVersionBytes

      public UpdateAccountRequest.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
       The version of the account for which this update is intended for.
       The latest version can be found in the GetAccount operation response.
       
      string resource_version = 2;
      Parameters:
      value - The bytes for resourceVersion to set.
      Returns:
      This builder for chaining.
    • getAsyncOperationId

      public String getAsyncOperationId()
       The id to use for this async operation.
       Optional, if not provided a random id will be generated.
       
      string async_operation_id = 3;
      Specified by:
      getAsyncOperationId in interface UpdateAccountRequestOrBuilder
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      public com.google.protobuf.ByteString getAsyncOperationIdBytes()
       The id to use for this async operation.
       Optional, if not provided a random id will be generated.
       
      string async_operation_id = 3;
      Specified by:
      getAsyncOperationIdBytes in interface UpdateAccountRequestOrBuilder
      Returns:
      The bytes for asyncOperationId.
    • setAsyncOperationId

      public UpdateAccountRequest.Builder setAsyncOperationId(String value)
       The id to use for this async operation.
       Optional, if not provided a random id will be generated.
       
      string async_operation_id = 3;
      Parameters:
      value - The asyncOperationId to set.
      Returns:
      This builder for chaining.
    • clearAsyncOperationId

      public UpdateAccountRequest.Builder clearAsyncOperationId()
       The id to use for this async operation.
       Optional, if not provided a random id will be generated.
       
      string async_operation_id = 3;
      Returns:
      This builder for chaining.
    • setAsyncOperationIdBytes

      public UpdateAccountRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
       The id to use for this async operation.
       Optional, if not provided a random id will be generated.
       
      string async_operation_id = 3;
      Parameters:
      value - The bytes for asyncOperationId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • mergeUnknownFields

      public final UpdateAccountRequest.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<UpdateAccountRequest.Builder>