Class UpdateAccountRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateAccountRequest.Builder>
com.google.analytics.admin.v1beta.UpdateAccountRequest.Builder
All Implemented Interfaces:
UpdateAccountRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateAccountRequest

public static final class UpdateAccountRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateAccountRequest.Builder> implements UpdateAccountRequestOrBuilder
 Request message for UpdateAccount RPC.
 
Protobuf type google.analytics.admin.v1beta.UpdateAccountRequest
  • 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<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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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
    • hasAccount

      public boolean hasAccount()
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAccount in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the account field is set.
    • getAccount

      public Account getAccount()
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAccount in interface UpdateAccountRequestOrBuilder
      Returns:
      The account.
    • setAccount

      public UpdateAccountRequest.Builder setAccount(Account value)
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAccount

      public UpdateAccountRequest.Builder setAccount(Account.Builder builderForValue)
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeAccount

      public UpdateAccountRequest.Builder mergeAccount(Account value)
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearAccount

      public UpdateAccountRequest.Builder clearAccount()
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAccountBuilder

      public Account.Builder getAccountBuilder()
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAccountOrBuilder

      public AccountOrBuilder getAccountOrBuilder()
       Required. The account to update.
       The account's `name` field is used to identify the account.
       
      .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAccountOrBuilder in interface UpdateAccountRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateAccountRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateAccountRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateAccountRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateAccountRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateAccountRequest.Builder clearUpdateMask()
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. The list of fields to be updated. Field names must be in snake
       case (for example, "field_to_update"). Omitted fields will not be updated.
       To replace the entire entity, use one path with the string "*" to match all
       fields.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateAccountRequestOrBuilder