Class ListBudgetsResponse (2.20.0)

public final class ListBudgetsResponse extends GeneratedMessageV3 implements ListBudgetsResponseOrBuilder

Response for ListBudgets

Protobuf type google.cloud.billing.budgets.v1beta1.ListBudgetsResponse

Static Fields

BUDGETS_FIELD_NUMBER

public static final int BUDGETS_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 ListBudgetsResponse getDefaultInstance()
Returns
TypeDescription
ListBudgetsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListBudgetsResponse prototype)

public static ListBudgetsResponse.Builder newBuilder(ListBudgetsResponse prototype)
Parameter
NameDescription
prototypeListBudgetsResponse
Returns
TypeDescription
ListBudgetsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBudgets(int index)

public Budget getBudgets(int index)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Budget

getBudgetsCount()

public int getBudgetsCount()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
TypeDescription
int

getBudgetsList()

public List<Budget> getBudgetsList()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
TypeDescription
List<Budget>

getBudgetsOrBuilder(int index)

public BudgetOrBuilder getBudgetsOrBuilder(int index)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BudgetOrBuilder

getBudgetsOrBuilderList()

public List<? extends BudgetOrBuilder> getBudgetsOrBuilderList()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.billing.budgets.v1beta1.BudgetOrBuilder>

getDefaultInstanceForType()

public ListBudgetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBudgetsResponse

getNextPageToken()

public String getNextPageToken()

If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new ListBudgetsRequest.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new ListBudgetsRequest.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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