Class BillingAccountPurchaseInfo.Builder (3.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BillingAccountPurchaseInfo build()
Returns
TypeDescription
BillingAccountPurchaseInfo

buildPartial()

public BillingAccountPurchaseInfo buildPartial()
Returns
TypeDescription
BillingAccountPurchaseInfo

clear()

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

clearBillingAccount()

public BillingAccountPurchaseInfo.Builder clearBillingAccount()

The billing account resource.

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

Returns
TypeDescription
BillingAccountPurchaseInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBillingAccount()

public BillingAccount getBillingAccount()

The billing account resource.

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

Returns
TypeDescription
BillingAccount

The billingAccount.

getBillingAccountBuilder()

public BillingAccount.Builder getBillingAccountBuilder()

The billing account resource.

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

Returns
TypeDescription
BillingAccount.Builder

getBillingAccountOrBuilder()

public BillingAccountOrBuilder getBillingAccountOrBuilder()

The billing account resource.

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

Returns
TypeDescription
BillingAccountOrBuilder

getDefaultInstanceForType()

public BillingAccountPurchaseInfo getDefaultInstanceForType()
Returns
TypeDescription
BillingAccountPurchaseInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasBillingAccount()

public boolean hasBillingAccount()

The billing account resource.

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

Returns
TypeDescription
boolean

Whether the billingAccount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBillingAccount(BillingAccount value)

public BillingAccountPurchaseInfo.Builder mergeBillingAccount(BillingAccount value)

The billing account resource.

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

Parameter
NameDescription
valueBillingAccount
Returns
TypeDescription
BillingAccountPurchaseInfo.Builder

mergeFrom(BillingAccountPurchaseInfo other)

public BillingAccountPurchaseInfo.Builder mergeFrom(BillingAccountPurchaseInfo other)
Parameter
NameDescription
otherBillingAccountPurchaseInfo
Returns
TypeDescription
BillingAccountPurchaseInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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