Class BillingAccountPurchaseInfo.Builder (3.52.0)

public static final class BillingAccountPurchaseInfo.Builder extends GeneratedMessageV3.Builder<BillingAccountPurchaseInfo.Builder> implements BillingAccountPurchaseInfoOrBuilder

Represents a billing account that can be used to make a purchase.

Protobuf type google.cloud.channel.v1.BillingAccountPurchaseInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BillingAccountPurchaseInfo build()
Returns
Type Description
BillingAccountPurchaseInfo

buildPartial()

public BillingAccountPurchaseInfo buildPartial()
Returns
Type Description
BillingAccountPurchaseInfo

clear()

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

clearBillingAccount()

public BillingAccountPurchaseInfo.Builder clearBillingAccount()

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

Returns
Type Description
BillingAccountPurchaseInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBillingAccount()

public BillingAccount getBillingAccount()

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

Returns
Type Description
BillingAccount

The billingAccount.

getBillingAccountBuilder()

public BillingAccount.Builder getBillingAccountBuilder()

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

Returns
Type Description
BillingAccount.Builder

getBillingAccountOrBuilder()

public BillingAccountOrBuilder getBillingAccountOrBuilder()

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

Returns
Type Description
BillingAccountOrBuilder

getDefaultInstanceForType()

public BillingAccountPurchaseInfo getDefaultInstanceForType()
Returns
Type Description
BillingAccountPurchaseInfo

getDescriptorForType()

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

hasBillingAccount()

public boolean hasBillingAccount()

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

Returns
Type Description
boolean

Whether the billingAccount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBillingAccount(BillingAccount value)

public BillingAccountPurchaseInfo.Builder mergeBillingAccount(BillingAccount value)

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

Parameter
Name Description
value BillingAccount
Returns
Type Description
BillingAccountPurchaseInfo.Builder

mergeFrom(BillingAccountPurchaseInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BillingAccountPurchaseInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BillingAccountPurchaseInfo.Builder
Overrides

setBillingAccount(BillingAccount value)

public BillingAccountPurchaseInfo.Builder setBillingAccount(BillingAccount value)

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

Parameter
Name Description
value BillingAccount
Returns
Type Description
BillingAccountPurchaseInfo.Builder

setBillingAccount(BillingAccount.Builder builderForValue)

public BillingAccountPurchaseInfo.Builder setBillingAccount(BillingAccount.Builder builderForValue)

The billing account resource.

.google.cloud.channel.v1.BillingAccount billing_account = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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