Send feedback
Class ListOrganizationsRequest.Builder (0.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class ListOrganizationsRequest . Builder extends GeneratedMessageV3 . Builder<ListOrganizationsRequest . Builder > implements ListOrganizationsRequestOrBuilder
Request message for ListOrganizations RPC.
Protobuf type google.marketingplatform.admin.v1alpha.ListOrganizationsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public ListOrganizationsRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public ListOrganizationsRequest build ()
public ListOrganizationsRequest buildPartial ()
public ListOrganizationsRequest . Builder clear ()
Overrides
public ListOrganizationsRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public ListOrganizationsRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPageSize()
public ListOrganizationsRequest . Builder clearPageSize ()
Optional. The maximum number of organizations to return in one call. The
service may return fewer than this value.
If unspecified, at most 50 organizations will be returned. The
maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
clearPageToken()
public ListOrganizationsRequest . Builder clearPageToken ()
Optional. A page token, received from a previous ListOrganizations call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOrganizations must match the call that provided the page
token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
public ListOrganizationsRequest . Builder clone ()
Overrides
public ListOrganizationsRequest getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getPageSize()
Optional. The maximum number of organizations to return in one call. The
service may return fewer than this value.
If unspecified, at most 50 organizations will be returned. The
maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The pageSize.
getPageToken()
public String getPageToken ()
Optional. A page token, received from a previous ListOrganizations call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOrganizations must match the call that provided the page
token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The pageToken.
getPageTokenBytes()
public ByteString getPageTokenBytes ()
Optional. A page token, received from a previous ListOrganizations call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOrganizations must match the call that provided the page
token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for pageToken.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ListOrganizationsRequest . Builder mergeFrom ( ListOrganizationsRequest other )
public ListOrganizationsRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public ListOrganizationsRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final ListOrganizationsRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public ListOrganizationsRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setPageSize(int value)
public ListOrganizationsRequest . Builder setPageSize ( int value )
Optional. The maximum number of organizations to return in one call. The
service may return fewer than this value.
If unspecified, at most 50 organizations will be returned. The
maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
int The pageSize to set.
setPageToken(String value)
public ListOrganizationsRequest . Builder setPageToken ( String value )
Optional. A page token, received from a previous ListOrganizations call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOrganizations must match the call that provided the page
token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String The pageToken to set.
setPageTokenBytes(ByteString value)
public ListOrganizationsRequest . Builder setPageTokenBytes ( ByteString value )
Optional. A page token, received from a previous ListOrganizations call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListOrganizations must match the call that provided the page
token.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString The bytes for pageToken to set.
public ListOrganizationsRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final ListOrganizationsRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-19 UTC."],[],[]]