public static final class ListOrganizationsRequest.Builder extends GeneratedMessage.Builder<ListOrganizationsRequest.Builder> implements ListOrganizationsRequestOrBuilderRequest message for ListOrganizations RPC.
Protobuf type google.marketingplatform.admin.v1alpha.ListOrganizationsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListOrganizationsRequest.BuilderImplements
ListOrganizationsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListOrganizationsRequest build()| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest |
|
buildPartial()
public ListOrganizationsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest |
|
clear()
public ListOrganizationsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListOrganizationsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPageSize()
public int 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListOrganizationsRequest other)
public ListOrganizationsRequest.Builder mergeFrom(ListOrganizationsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListOrganizationsRequest |
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListOrganizationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListOrganizationsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
|
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 |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
This builder for chaining. |
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 |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListOrganizationsRequest.Builder |
This builder for chaining. |