Class UpdateAccountRequest.Builder (0.20.0)

public static final class UpdateAccountRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccountRequest.Builder> implements UpdateAccountRequestOrBuilder

Request message for UpdateAccount RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateAccountRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

build()

public UpdateAccountRequest build()
Returns
TypeDescription
UpdateAccountRequest

buildPartial()

public UpdateAccountRequest buildPartial()
Returns
TypeDescription
UpdateAccountRequest

clear()

public UpdateAccountRequest.Builder clear()
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

clearAccount()

public UpdateAccountRequest.Builder clearAccount()

Required. The account to update. The account's name field is used to identify the account.

.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateAccountRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

clearUpdateMask()

public UpdateAccountRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Returns
TypeDescription
UpdateAccountRequest.Builder

clone()

public UpdateAccountRequest.Builder clone()
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

getAccount()

public Account getAccount()

Required. The account to update. The account's name field is used to identify the account.

.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Account

The account.

getAccountBuilder()

public Account.Builder getAccountBuilder()

Required. The account to update. The account's name field is used to identify the account.

.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Account.Builder

getAccountOrBuilder()

public AccountOrBuilder getAccountOrBuilder()

Required. The account to update. The account's name field is used to identify the account.

.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AccountOrBuilder

getDefaultInstanceForType()

public UpdateAccountRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAccountRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Returns
TypeDescription
FieldMaskOrBuilder

hasAccount()

public boolean hasAccount()

Required. The account to update. The account's name field is used to identify the account.

.google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the account field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAccount(Account value)

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.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAccount
Returns
TypeDescription
UpdateAccountRequest.Builder

mergeFrom(UpdateAccountRequest other)

public UpdateAccountRequest.Builder mergeFrom(UpdateAccountRequest other)
Parameter
NameDescription
otherUpdateAccountRequest
Returns
TypeDescription
UpdateAccountRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateAccountRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAccountRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAccountRequest.Builder

setAccount(Account value)

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.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAccount
Returns
TypeDescription
UpdateAccountRequest.Builder

setAccount(Account.Builder builderForValue)

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.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAccount.Builder
Returns
TypeDescription
UpdateAccountRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateAccountRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAccountRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAccountRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAccountRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateAccountRequest.Builder