Class UpdateBillingAccountRequest.Builder (2.54.0)

public static final class UpdateBillingAccountRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateBillingAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UpdateBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

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.

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

public UpdateBillingAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateBillingAccountRequest.Builder
Overrides

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