Class Account.Builder

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

public static final class Account.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder> implements AccountOrBuilder
Protobuf type temporal.api.cloud.account.v1.Account
  • 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<Account.Builder>
    • clear

      public Account.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<Account.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<Account.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public Account.Builder mergeFrom(Account other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Account.Builder>
    • mergeFrom

      public Account.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<Account.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       The id of the account.
       
      string id = 1;
      Specified by:
      getId in interface AccountOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       The id of the account.
       
      string id = 1;
      Specified by:
      getIdBytes in interface AccountOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Account.Builder setId(String value)
       The id of the account.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Account.Builder clearId()
       The id of the account.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public Account.Builder setIdBytes(com.google.protobuf.ByteString value)
       The id of the account.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasSpec

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

      public AccountSpec getSpec()
       The account specification.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 2;
      Specified by:
      getSpec in interface AccountOrBuilder
      Returns:
      The spec.
    • setSpec

      public Account.Builder setSpec(AccountSpec value)
       The account specification.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 2;
    • setSpec

      public Account.Builder setSpec(AccountSpec.Builder builderForValue)
       The account specification.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 2;
    • mergeSpec

      public Account.Builder mergeSpec(AccountSpec value)
       The account specification.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 2;
    • clearSpec

      public Account.Builder clearSpec()
       The account specification.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 2;
    • getSpecBuilder

      public AccountSpec.Builder getSpecBuilder()
       The account specification.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 2;
    • getSpecOrBuilder

      public AccountSpecOrBuilder getSpecOrBuilder()
       The account specification.
       
      .temporal.api.cloud.account.v1.AccountSpec spec = 2;
      Specified by:
      getSpecOrBuilder in interface AccountOrBuilder
    • getResourceVersion

      public String getResourceVersion()
       The current version of the account specification.
       The next update operation will have to include this version.
       
      string resource_version = 3;
      Specified by:
      getResourceVersion in interface AccountOrBuilder
      Returns:
      The resourceVersion.
    • getResourceVersionBytes

      public com.google.protobuf.ByteString getResourceVersionBytes()
       The current version of the account specification.
       The next update operation will have to include this version.
       
      string resource_version = 3;
      Specified by:
      getResourceVersionBytes in interface AccountOrBuilder
      Returns:
      The bytes for resourceVersion.
    • setResourceVersion

      public Account.Builder setResourceVersion(String value)
       The current version of the account specification.
       The next update operation will have to include this version.
       
      string resource_version = 3;
      Parameters:
      value - The resourceVersion to set.
      Returns:
      This builder for chaining.
    • clearResourceVersion

      public Account.Builder clearResourceVersion()
       The current version of the account specification.
       The next update operation will have to include this version.
       
      string resource_version = 3;
      Returns:
      This builder for chaining.
    • setResourceVersionBytes

      public Account.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
       The current version of the account specification.
       The next update operation will have to include this version.
       
      string resource_version = 3;
      Parameters:
      value - The bytes for resourceVersion to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       The current state of the account.
       
      .temporal.api.cloud.resource.v1.ResourceState state = 4;
      Specified by:
      getStateValue in interface AccountOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Account.Builder setStateValue(int value)
       The current state of the account.
       
      .temporal.api.cloud.resource.v1.ResourceState state = 4;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public ResourceState getState()
       The current state of the account.
       
      .temporal.api.cloud.resource.v1.ResourceState state = 4;
      Specified by:
      getState in interface AccountOrBuilder
      Returns:
      The state.
    • setState

      public Account.Builder setState(ResourceState value)
       The current state of the account.
       
      .temporal.api.cloud.resource.v1.ResourceState state = 4;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Account.Builder clearState()
       The current state of the account.
       
      .temporal.api.cloud.resource.v1.ResourceState state = 4;
      Returns:
      This builder for chaining.
    • getAsyncOperationId

      public String getAsyncOperationId()
       The id of the async operation that is updating the account, if any.
       
      string async_operation_id = 5;
      Specified by:
      getAsyncOperationId in interface AccountOrBuilder
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      public com.google.protobuf.ByteString getAsyncOperationIdBytes()
       The id of the async operation that is updating the account, if any.
       
      string async_operation_id = 5;
      Specified by:
      getAsyncOperationIdBytes in interface AccountOrBuilder
      Returns:
      The bytes for asyncOperationId.
    • setAsyncOperationId

      public Account.Builder setAsyncOperationId(String value)
       The id of the async operation that is updating the account, if any.
       
      string async_operation_id = 5;
      Parameters:
      value - The asyncOperationId to set.
      Returns:
      This builder for chaining.
    • clearAsyncOperationId

      public Account.Builder clearAsyncOperationId()
       The id of the async operation that is updating the account, if any.
       
      string async_operation_id = 5;
      Returns:
      This builder for chaining.
    • setAsyncOperationIdBytes

      public Account.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
       The id of the async operation that is updating the account, if any.
       
      string async_operation_id = 5;
      Parameters:
      value - The bytes for asyncOperationId to set.
      Returns:
      This builder for chaining.
    • hasMetrics

      public boolean hasMetrics()
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
      Specified by:
      hasMetrics in interface AccountOrBuilder
      Returns:
      Whether the metrics field is set.
    • getMetrics

      public Metrics getMetrics()
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
      Specified by:
      getMetrics in interface AccountOrBuilder
      Returns:
      The metrics.
    • setMetrics

      public Account.Builder setMetrics(Metrics value)
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
    • setMetrics

      public Account.Builder setMetrics(Metrics.Builder builderForValue)
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
    • mergeMetrics

      public Account.Builder mergeMetrics(Metrics value)
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
    • clearMetrics

      public Account.Builder clearMetrics()
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
    • getMetricsBuilder

      public Metrics.Builder getMetricsBuilder()
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
    • getMetricsOrBuilder

      public MetricsOrBuilder getMetricsOrBuilder()
       Information related to metrics.
       
      .temporal.api.cloud.account.v1.Metrics metrics = 6;
      Specified by:
      getMetricsOrBuilder in interface AccountOrBuilder
    • setUnknownFields

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

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