Class UpdateServiceAccountRequest.Builder

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

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

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

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

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

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

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

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

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

      public UpdateServiceAccountRequest.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<UpdateServiceAccountRequest.Builder>
      Throws:
      IOException
    • getServiceAccountId

      public String getServiceAccountId()
       The ID of the service account to update.
       
      string service_account_id = 1;
      Specified by:
      getServiceAccountId in interface UpdateServiceAccountRequestOrBuilder
      Returns:
      The serviceAccountId.
    • getServiceAccountIdBytes

      public com.google.protobuf.ByteString getServiceAccountIdBytes()
       The ID of the service account to update.
       
      string service_account_id = 1;
      Specified by:
      getServiceAccountIdBytes in interface UpdateServiceAccountRequestOrBuilder
      Returns:
      The bytes for serviceAccountId.
    • setServiceAccountId

      public UpdateServiceAccountRequest.Builder setServiceAccountId(String value)
       The ID of the service account to update.
       
      string service_account_id = 1;
      Parameters:
      value - The serviceAccountId to set.
      Returns:
      This builder for chaining.
    • clearServiceAccountId

      public UpdateServiceAccountRequest.Builder clearServiceAccountId()
       The ID of the service account to update.
       
      string service_account_id = 1;
      Returns:
      This builder for chaining.
    • setServiceAccountIdBytes

      public UpdateServiceAccountRequest.Builder setServiceAccountIdBytes(com.google.protobuf.ByteString value)
       The ID of the service account to update.
       
      string service_account_id = 1;
      Parameters:
      value - The bytes for serviceAccountId to set.
      Returns:
      This builder for chaining.
    • hasSpec

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

      public ServiceAccountSpec getSpec()
       The new service account specification.
       
      .temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;
      Specified by:
      getSpec in interface UpdateServiceAccountRequestOrBuilder
      Returns:
      The spec.
    • setSpec

       The new service account specification.
       
      .temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;
    • setSpec

       The new service account specification.
       
      .temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;
    • mergeSpec

       The new service account specification.
       
      .temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;
    • clearSpec

       The new service account specification.
       
      .temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;
    • getSpecBuilder

      public ServiceAccountSpec.Builder getSpecBuilder()
       The new service account specification.
       
      .temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;
    • getSpecOrBuilder

      public ServiceAccountSpecOrBuilder getSpecOrBuilder()
       The new service account specification.
       
      .temporal.api.cloud.identity.v1.ServiceAccountSpec spec = 2;
      Specified by:
      getSpecOrBuilder in interface UpdateServiceAccountRequestOrBuilder
    • getResourceVersion

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

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

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

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

      public UpdateServiceAccountRequest.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
       The version of the service account for which this update is intended for.
       The latest version can be found in the GetServiceAccount response.
       
      string resource_version = 3;
      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.
       
      string async_operation_id = 4;
      Specified by:
      getAsyncOperationId in interface UpdateServiceAccountRequestOrBuilder
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      public com.google.protobuf.ByteString getAsyncOperationIdBytes()
       The ID to use for this async operation - optional.
       
      string async_operation_id = 4;
      Specified by:
      getAsyncOperationIdBytes in interface UpdateServiceAccountRequestOrBuilder
      Returns:
      The bytes for asyncOperationId.
    • setAsyncOperationId

      public UpdateServiceAccountRequest.Builder setAsyncOperationId(String value)
       The ID to use for this async operation - optional.
       
      string async_operation_id = 4;
      Parameters:
      value - The asyncOperationId to set.
      Returns:
      This builder for chaining.
    • clearAsyncOperationId

      public UpdateServiceAccountRequest.Builder clearAsyncOperationId()
       The ID to use for this async operation - optional.
       
      string async_operation_id = 4;
      Returns:
      This builder for chaining.
    • setAsyncOperationIdBytes

      public UpdateServiceAccountRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
       The ID to use for this async operation - optional.
       
      string async_operation_id = 4;
      Parameters:
      value - The bytes for asyncOperationId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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