Class UpdateTenantRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateTenantRequest.Builder>
com.google.cloud.talent.v4.UpdateTenantRequest.Builder
All Implemented Interfaces:
UpdateTenantRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateTenantRequest

public static final class UpdateTenantRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateTenantRequest.Builder> implements UpdateTenantRequestOrBuilder
 Request for updating a specified tenant.
 
Protobuf type google.cloud.talent.v4.UpdateTenantRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateTenantRequest.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.GeneratedMessage.Builder<UpdateTenantRequest.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.GeneratedMessage.Builder<UpdateTenantRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public UpdateTenantRequest.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<UpdateTenantRequest.Builder>
      Throws:
      IOException
    • hasTenant

      public boolean hasTenant()
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTenant in interface UpdateTenantRequestOrBuilder
      Returns:
      Whether the tenant field is set.
    • getTenant

      public Tenant getTenant()
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTenant in interface UpdateTenantRequestOrBuilder
      Returns:
      The tenant.
    • setTenant

      public UpdateTenantRequest.Builder setTenant(Tenant value)
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
    • setTenant

      public UpdateTenantRequest.Builder setTenant(Tenant.Builder builderForValue)
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeTenant

      public UpdateTenantRequest.Builder mergeTenant(Tenant value)
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearTenant

      public UpdateTenantRequest.Builder clearTenant()
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTenantBuilder

      public Tenant.Builder getTenantBuilder()
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTenantOrBuilder

      public TenantOrBuilder getTenantOrBuilder()
       Required. The tenant resource to replace the current resource in the
       system.
       
      .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTenantOrBuilder in interface UpdateTenantRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      hasUpdateMask in interface UpdateTenantRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMask in interface UpdateTenantRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateTenantRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
    • setUpdateMask

      public UpdateTenantRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
    • mergeUpdateMask

      public UpdateTenantRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
    • clearUpdateMask

      public UpdateTenantRequest.Builder clearUpdateMask()
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Strongly recommended for the best service experience.
      
       If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is
       provided, only the specified fields in
       [tenant][google.cloud.talent.v4.UpdateTenantRequest.tenant] are updated.
       Otherwise all the fields are updated.
      
       A field mask to specify the tenant fields to be updated. Only
       top level fields of [Tenant][google.cloud.talent.v4.Tenant] are supported.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateTenantRequestOrBuilder