Package com.google.cloud.billing.v1
Class ListBillingAccountsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsResponse.Builder>
com.google.cloud.billing.v1.ListBillingAccountsResponse.Builder
- All Implemented Interfaces:
ListBillingAccountsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListBillingAccountsResponse
public static final class ListBillingAccountsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsResponse.Builder>
implements ListBillingAccountsResponseOrBuilder
Response message for `ListBillingAccounts`.Protobuf type
google.cloud.billing.v1.ListBillingAccountsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllBillingAccounts(Iterable<? extends BillingAccount> values) A list of billing accounts.addBillingAccounts(int index, BillingAccount value) A list of billing accounts.addBillingAccounts(int index, BillingAccount.Builder builderForValue) A list of billing accounts.addBillingAccounts(BillingAccount value) A list of billing accounts.addBillingAccounts(BillingAccount.Builder builderForValue) A list of billing accounts.A list of billing accounts.addBillingAccountsBuilder(int index) A list of billing accounts.build()clear()A list of billing accounts.A token to retrieve the next page of results.getBillingAccounts(int index) A list of billing accounts.getBillingAccountsBuilder(int index) A list of billing accounts.A list of billing accounts.intA list of billing accounts.A list of billing accounts.getBillingAccountsOrBuilder(int index) A list of billing accounts.List<? extends BillingAccountOrBuilder>A list of billing accounts.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token to retrieve the next page of results.com.google.protobuf.ByteStringA token to retrieve the next page of results.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBillingAccounts(int index) A list of billing accounts.setBillingAccounts(int index, BillingAccount value) A list of billing accounts.setBillingAccounts(int index, BillingAccount.Builder builderForValue) A list of billing accounts.setNextPageToken(String value) A token to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to retrieve the next page of results.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBillingAccountsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsResponse.Builder>
-
mergeFrom
public ListBillingAccountsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBillingAccountsResponse.Builder>- Throws:
IOException
-
getBillingAccountsList
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;- Specified by:
getBillingAccountsListin interfaceListBillingAccountsResponseOrBuilder
-
getBillingAccountsCount
public int getBillingAccountsCount()A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;- Specified by:
getBillingAccountsCountin interfaceListBillingAccountsResponseOrBuilder
-
getBillingAccounts
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;- Specified by:
getBillingAccountsin interfaceListBillingAccountsResponseOrBuilder
-
setBillingAccounts
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
setBillingAccounts
public ListBillingAccountsResponse.Builder setBillingAccounts(int index, BillingAccount.Builder builderForValue) A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
addBillingAccounts
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
addBillingAccounts
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
addBillingAccounts
public ListBillingAccountsResponse.Builder addBillingAccounts(BillingAccount.Builder builderForValue) A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
addBillingAccounts
public ListBillingAccountsResponse.Builder addBillingAccounts(int index, BillingAccount.Builder builderForValue) A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
addAllBillingAccounts
public ListBillingAccountsResponse.Builder addAllBillingAccounts(Iterable<? extends BillingAccount> values) A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
clearBillingAccounts
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
removeBillingAccounts
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
getBillingAccountsBuilder
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
getBillingAccountsOrBuilder
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;- Specified by:
getBillingAccountsOrBuilderin interfaceListBillingAccountsResponseOrBuilder
-
getBillingAccountsOrBuilderList
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;- Specified by:
getBillingAccountsOrBuilderListin interfaceListBillingAccountsResponseOrBuilder
-
addBillingAccountsBuilder
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
addBillingAccountsBuilder
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
getBillingAccountsBuilderList
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1; -
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;- Specified by:
getNextPageTokenin interfaceListBillingAccountsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListBillingAccountsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListBillingAccountsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-