Class ListAccountsRequest.Builder (0.62.0)

public static final class ListAccountsRequest.Builder extends GeneratedMessageV3.Builder<ListAccountsRequest.Builder> implements ListAccountsRequestOrBuilder

Request message for ListAccounts RPC.

Protobuf type google.analytics.admin.v1alpha.ListAccountsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAccountsRequest.Builder
Overrides

build()

public ListAccountsRequest build()
Returns
Type Description
ListAccountsRequest

buildPartial()

public ListAccountsRequest buildPartial()
Returns
Type Description
ListAccountsRequest

clear()

public ListAccountsRequest.Builder clear()
Returns
Type Description
ListAccountsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAccountsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAccountsRequest.Builder
Overrides

clearPageSize()

public ListAccountsRequest.Builder clearPageSize()

The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)

int32 page_size = 1;

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

clearPageToken()

public ListAccountsRequest.Builder clearPageToken()

A page token, received from a previous ListAccounts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAccounts must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

clearShowDeleted()

public ListAccountsRequest.Builder clearShowDeleted()

Whether to include soft-deleted (ie: "trashed") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.

bool show_deleted = 3;

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

clone()

public ListAccountsRequest.Builder clone()
Returns
Type Description
ListAccountsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListAccountsRequest getDefaultInstanceForType()
Returns
Type Description
ListAccountsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)

int32 page_size = 1;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListAccounts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAccounts must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListAccounts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAccounts must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

getShowDeleted()

public boolean getShowDeleted()

Whether to include soft-deleted (ie: "trashed") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.

bool show_deleted = 3;

Returns
Type Description
boolean

The showDeleted.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAccountsRequest other)

public ListAccountsRequest.Builder mergeFrom(ListAccountsRequest other)
Parameter
Name Description
other ListAccountsRequest
Returns
Type Description
ListAccountsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAccountsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAccountsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAccountsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAccountsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAccountsRequest.Builder
Overrides

setPageSize(int value)

public ListAccountsRequest.Builder setPageSize(int value)

The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)

int32 page_size = 1;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListAccountsRequest.Builder setPageToken(String value)

A page token, received from a previous ListAccounts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAccounts must match the call that provided the page token.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListAccountsRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListAccounts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAccounts must match the call that provided the page token.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAccountsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAccountsRequest.Builder
Overrides

setShowDeleted(boolean value)

public ListAccountsRequest.Builder setShowDeleted(boolean value)

Whether to include soft-deleted (ie: "trashed") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.

bool show_deleted = 3;

Parameter
Name Description
value boolean

The showDeleted to set.

Returns
Type Description
ListAccountsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAccountsRequest.Builder
Overrides