Class ListBillingAccountsResponse (2.13.0)

public final class ListBillingAccountsResponse extends GeneratedMessageV3 implements ListBillingAccountsResponseOrBuilder

Response message for ListBillingAccounts.

Protobuf type google.cloud.billing.v1.ListBillingAccountsResponse

Static Fields

BILLING_ACCOUNTS_FIELD_NUMBER

public static final int BILLING_ACCOUNTS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListBillingAccountsResponse getDefaultInstance()
Returns
TypeDescription
ListBillingAccountsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListBillingAccountsResponse prototype)

public static ListBillingAccountsResponse.Builder newBuilder(ListBillingAccountsResponse prototype)
Parameter
NameDescription
prototypeListBillingAccountsResponse
Returns
TypeDescription
ListBillingAccountsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBillingAccounts(int index)

public BillingAccount getBillingAccounts(int index)

A list of billing accounts.

repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BillingAccount

getBillingAccountsCount()

public int getBillingAccountsCount()

A list of billing accounts.

repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;

Returns
TypeDescription
int

getBillingAccountsList()

public List<BillingAccount> getBillingAccountsList()

A list of billing accounts.

repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;

Returns
TypeDescription
List<BillingAccount>

getBillingAccountsOrBuilder(int index)

public BillingAccountOrBuilder getBillingAccountsOrBuilder(int index)

A list of billing accounts.

repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BillingAccountOrBuilder

getBillingAccountsOrBuilderList()

public List<? extends BillingAccountOrBuilder> getBillingAccountsOrBuilderList()

A list of billing accounts.

repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;

Returns
TypeDescription
List<? extends com.google.cloud.billing.v1.BillingAccountOrBuilder>

getDefaultInstanceForType()

public ListBillingAccountsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBillingAccountsResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. To retrieve the next page, call ListBillingAccounts again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. To retrieve the next page, call ListBillingAccounts again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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