Class QueryEligibleBillingAccountsRequest (3.33.0)

public final class QueryEligibleBillingAccountsRequest extends GeneratedMessageV3 implements QueryEligibleBillingAccountsRequestOrBuilder

Request message for QueryEligibleBillingAccounts.

Protobuf type google.cloud.channel.v1.QueryEligibleBillingAccountsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > QueryEligibleBillingAccountsRequest

Static Fields

CUSTOMER_FIELD_NUMBER

public static final int CUSTOMER_FIELD_NUMBER
Field Value
TypeDescription
int

SKUS_FIELD_NUMBER

public static final int SKUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryEligibleBillingAccountsRequest getDefaultInstance()
Returns
TypeDescription
QueryEligibleBillingAccountsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(QueryEligibleBillingAccountsRequest prototype)

public static QueryEligibleBillingAccountsRequest.Builder newBuilder(QueryEligibleBillingAccountsRequest prototype)
Parameter
NameDescription
prototypeQueryEligibleBillingAccountsRequest
Returns
TypeDescription
QueryEligibleBillingAccountsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomer()

public String getCustomer()

Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The customer.

getCustomerBytes()

public ByteString getCustomerBytes()

Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for customer.

getDefaultInstanceForType()

public QueryEligibleBillingAccountsRequest getDefaultInstanceForType()
Returns
TypeDescription
QueryEligibleBillingAccountsRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSkus(int index)

public String getSkus(int index)

Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.

repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The skus at the given index.

getSkusBytes(int index)

public ByteString getSkusBytes(int index)

Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.

repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the skus at the given index.

getSkusCount()

public int getSkusCount()

Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.

repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of skus.

getSkusList()

public ProtocolStringList getSkusList()

Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.

repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the skus.

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 QueryEligibleBillingAccountsRequest.Builder newBuilderForType()
Returns
TypeDescription
QueryEligibleBillingAccountsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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