Class BillingAccountPurchaseInfo (3.39.0)

public final class BillingAccountPurchaseInfo extends GeneratedMessageV3 implements BillingAccountPurchaseInfoOrBuilder

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

Protobuf type google.cloud.channel.v1.BillingAccountPurchaseInfo

Static Fields

BILLING_ACCOUNT_FIELD_NUMBER

public static final int BILLING_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BillingAccountPurchaseInfo getDefaultInstance()
Returns
TypeDescription
BillingAccountPurchaseInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BillingAccountPurchaseInfo.Builder newBuilder()
Returns
TypeDescription
BillingAccountPurchaseInfo.Builder

newBuilder(BillingAccountPurchaseInfo prototype)

public static BillingAccountPurchaseInfo.Builder newBuilder(BillingAccountPurchaseInfo prototype)
Parameter
NameDescription
prototypeBillingAccountPurchaseInfo
Returns
TypeDescription
BillingAccountPurchaseInfo.Builder

parseDelimitedFrom(InputStream input)

public static BillingAccountPurchaseInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BillingAccountPurchaseInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BillingAccountPurchaseInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BillingAccountPurchaseInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BillingAccountPurchaseInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BillingAccountPurchaseInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BillingAccountPurchaseInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BillingAccountPurchaseInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BillingAccountPurchaseInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BillingAccountPurchaseInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BillingAccountPurchaseInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BillingAccountPurchaseInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BillingAccountPurchaseInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BillingAccountPurchaseInfo> parser()
Returns
TypeDescription
Parser<BillingAccountPurchaseInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBillingAccount()

public BillingAccount getBillingAccount()

The billing account resource.

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

Returns
TypeDescription
BillingAccount

The billingAccount.

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

getParserForType()

public Parser<BillingAccountPurchaseInfo> getParserForType()
Returns
TypeDescription
Parser<BillingAccountPurchaseInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BillingAccountPurchaseInfo.Builder newBuilderForType()
Returns
TypeDescription
BillingAccountPurchaseInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BillingAccountPurchaseInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BillingAccountPurchaseInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BillingAccountPurchaseInfo.Builder toBuilder()
Returns
TypeDescription
BillingAccountPurchaseInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException