Class UpdateBillingAccountRequest.Builder (2.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateBillingAccountRequest build()
Returns
TypeDescription
UpdateBillingAccountRequest

buildPartial()

public UpdateBillingAccountRequest buildPartial()
Returns
TypeDescription
UpdateBillingAccountRequest

clear()

public UpdateBillingAccountRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateBillingAccountRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateBillingAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateBillingAccountRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateBillingAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateBillingAccountRequest.Builder

clone()

public UpdateBillingAccountRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BillingAccountOrBuilder

getDefaultInstanceForType()

public UpdateBillingAccountRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateBillingAccountRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(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
NameDescription
valueBillingAccount
Returns
TypeDescription
UpdateBillingAccountRequest.Builder

mergeFrom(UpdateBillingAccountRequest other)

public UpdateBillingAccountRequest.Builder mergeFrom(UpdateBillingAccountRequest other)
Parameter
NameDescription
otherUpdateBillingAccountRequest
Returns
TypeDescription
UpdateBillingAccountRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBillingAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueBillingAccount
Returns
TypeDescription
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
NameDescription
builderForValueBillingAccount.Builder
Returns
TypeDescription
UpdateBillingAccountRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateBillingAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateBillingAccountRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateBillingAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateBillingAccountRequest.Builder