Package com.google.cloud.billing.v1
Class ListBillingAccountsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsRequest.Builder>
com.google.cloud.billing.v1.ListBillingAccountsRequest.Builder
- All Implemented Interfaces:
ListBillingAccountsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListBillingAccountsRequest
public static final class ListBillingAccountsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsRequest.Builder>
implements ListBillingAccountsRequestOrBuilder
Request message for `ListBillingAccounts`.Protobuf type
google.cloud.billing.v1.ListBillingAccountsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Options for how to filter the returned billing accounts.Requested page size.A token identifying a page of results to return.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptions for how to filter the returned billing accounts.com.google.protobuf.ByteStringOptions for how to filter the returned billing accounts.intRequested page size.A token identifying a page of results to return.com.google.protobuf.ByteStringA token identifying a page of results to return.Optional.com.google.protobuf.ByteStringOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Options for how to filter the returned billing accounts.setFilterBytes(com.google.protobuf.ByteString value) Options for how to filter the returned billing accounts.setPageSize(int value) Requested page size.setPageToken(String value) A token identifying a page of results to return.setPageTokenBytes(com.google.protobuf.ByteString value) A token identifying a page of results to return.Optional.setParentBytes(com.google.protobuf.ByteString value) Optional.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<ListBillingAccountsRequest.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<ListBillingAccountsRequest.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<ListBillingAccountsRequest.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<ListBillingAccountsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsRequest.Builder>
-
mergeFrom
public ListBillingAccountsRequest.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<ListBillingAccountsRequest.Builder>- Throws:
IOException
-
getPageSize
public int getPageSize()Requested page size. The maximum page size is 100; this is also the default.
int32 page_size = 1;- Specified by:
getPageSizein interfaceListBillingAccountsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Requested page size. The maximum page size is 100; this is also the default.
int32 page_size = 1;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Requested page size. The maximum page size is 100; this is also the default.
int32 page_size = 1;- Returns:
- This builder for chaining.
-
getPageToken
A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.
string page_token = 2;- Specified by:
getPageTokenin interfaceListBillingAccountsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.
string page_token = 2;- Specified by:
getPageTokenBytesin interfaceListBillingAccountsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.
string page_token = 2;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.
string page_token = 2;- Returns:
- This builder for chaining.
-
setPageTokenBytes
A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.
string page_token = 2;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getFilter
Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.
string filter = 3;- Specified by:
getFilterin interfaceListBillingAccountsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.
string filter = 3;- Specified by:
getFilterBytesin interfaceListBillingAccountsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.
string filter = 3;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.
string filter = 3;- Returns:
- This builder for chaining.
-
setFilterBytes
Options for how to filter the returned billing accounts. This only supports filtering for [subaccounts](https://cloud.google.com/billing/docs/concepts) under a single provided parent billing account. (for example, `master_billing_account=billingAccounts/012345-678901-ABCDEF`). Boolean algebra and other fields are not currently supported.
string filter = 3;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getParent
Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`string parent = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParentin interfaceListBillingAccountsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`string parent = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParentBytesin interfaceListBillingAccountsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`string parent = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`string parent = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setParentBytes
Optional. The parent resource to list billing accounts from. Format: - `organizations/{organization_id}`, for example, `organizations/12345678` - `billingAccounts/{billing_account_id}`, for example, `billingAccounts/012345-567890-ABCDEF`string parent = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-