Class UpdateBillingAccountRequest.Builder (2.83.0)

public static final class UpdateBillingAccountRequest.Builder extends GeneratedMessage.Builder<UpdateBillingAccountRequest.Builder> implements UpdateBillingAccountRequestOrBuilder

Request message for UpdateBillingAccount.

Protobuf type google.cloud.billing.v1.UpdateBillingAccountRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateBillingAccountRequest build()
Returns
Type Description
UpdateBillingAccountRequest

buildPartial()

public UpdateBillingAccountRequest buildPartial()
Returns
Type Description
UpdateBillingAccountRequest

clear()

public UpdateBillingAccountRequest.Builder clear()
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

clearAccount()

public UpdateBillingAccountRequest.Builder clearAccount()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateBillingAccountRequest.Builder

clearName()

public UpdateBillingAccountRequest.Builder clearName()

Required. The name of the billing account resource to be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
UpdateBillingAccountRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateBillingAccountRequest.Builder clearUpdateMask()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateBillingAccountRequest.Builder

getAccount()

public BillingAccount getAccount()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingAccount

The account.

getAccountBuilder()

public BillingAccount.Builder getAccountBuilder()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingAccount.Builder

getAccountOrBuilder()

public BillingAccountOrBuilder getAccountOrBuilder()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingAccountOrBuilder

getDefaultInstanceForType()

public UpdateBillingAccountRequest getDefaultInstanceForType()
Returns
Type Description
UpdateBillingAccountRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the billing account resource to be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the billing account resource to be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasAccount()

public boolean hasAccount()

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the account field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccount(BillingAccount value)

public UpdateBillingAccountRequest.Builder mergeAccount(BillingAccount value)

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BillingAccount
Returns
Type Description
UpdateBillingAccountRequest.Builder

mergeFrom(UpdateBillingAccountRequest other)

public UpdateBillingAccountRequest.Builder mergeFrom(UpdateBillingAccountRequest other)
Parameter
Name Description
other UpdateBillingAccountRequest
Returns
Type Description
UpdateBillingAccountRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateBillingAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateBillingAccountRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateBillingAccountRequest.Builder mergeUpdateMask(FieldMask value)

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateBillingAccountRequest.Builder

setAccount(BillingAccount value)

public UpdateBillingAccountRequest.Builder setAccount(BillingAccount value)

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BillingAccount
Returns
Type Description
UpdateBillingAccountRequest.Builder

setAccount(BillingAccount.Builder builderForValue)

public UpdateBillingAccountRequest.Builder setAccount(BillingAccount.Builder builderForValue)

Required. The billing account resource to replace the resource on the server.

.google.cloud.billing.v1.BillingAccount account = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BillingAccount.Builder
Returns
Type Description
UpdateBillingAccountRequest.Builder

setName(String value)

public UpdateBillingAccountRequest.Builder setName(String value)

Required. The name of the billing account resource to be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateBillingAccountRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateBillingAccountRequest.Builder setNameBytes(ByteString value)

Required. The name of the billing account resource to be updated.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateBillingAccountRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateBillingAccountRequest.Builder setUpdateMask(FieldMask value)

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateBillingAccountRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateBillingAccountRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask applied to the resource. Only "display_name" is currently supported.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateBillingAccountRequest.Builder