Class ListAccountsRequest.Builder (0.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides

build()

public ListAccountsRequest build()
Returns
TypeDescription
ListAccountsRequest

buildPartial()

public ListAccountsRequest buildPartial()
Returns
TypeDescription
ListAccountsRequest

clear()

public ListAccountsRequest.Builder clear()
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListAccountsRequest.Builder

This builder for chaining.

clone()

public ListAccountsRequest.Builder clone()
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListAccountsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListAccountsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The showDeleted.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAccountsRequest other)

public ListAccountsRequest.Builder mergeFrom(ListAccountsRequest other)
Parameter
NameDescription
otherListAccountsRequest
Returns
TypeDescription
ListAccountsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListAccountsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The showDeleted to set.

Returns
TypeDescription
ListAccountsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAccountsRequest.Builder
Overrides