Class ListAccountsResponse.Builder (0.26.0)

public static final class ListAccountsResponse.Builder extends GeneratedMessageV3.Builder<ListAccountsResponse.Builder> implements ListAccountsResponseOrBuilder

Request message for ListAccounts RPC.

Protobuf type google.analytics.admin.v1beta.ListAccountsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAccounts(Account value)

public ListAccountsResponse.Builder addAccounts(Account value)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
valueAccount
Returns
TypeDescription
ListAccountsResponse.Builder

addAccounts(Account.Builder builderForValue)

public ListAccountsResponse.Builder addAccounts(Account.Builder builderForValue)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
builderForValueAccount.Builder
Returns
TypeDescription
ListAccountsResponse.Builder

addAccounts(int index, Account value)

public ListAccountsResponse.Builder addAccounts(int index, Account value)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameters
NameDescription
indexint
valueAccount
Returns
TypeDescription
ListAccountsResponse.Builder

addAccounts(int index, Account.Builder builderForValue)

public ListAccountsResponse.Builder addAccounts(int index, Account.Builder builderForValue)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameters
NameDescription
indexint
builderForValueAccount.Builder
Returns
TypeDescription
ListAccountsResponse.Builder

addAccountsBuilder()

public Account.Builder addAccountsBuilder()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Returns
TypeDescription
Account.Builder

addAccountsBuilder(int index)

public Account.Builder addAccountsBuilder(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Account.Builder

addAllAccounts(Iterable<? extends Account> values)

public ListAccountsResponse.Builder addAllAccounts(Iterable<? extends Account> values)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1beta.Account>
Returns
TypeDescription
ListAccountsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAccountsResponse build()
Returns
TypeDescription
ListAccountsResponse

buildPartial()

public ListAccountsResponse buildPartial()
Returns
TypeDescription
ListAccountsResponse

clear()

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

clearAccounts()

public ListAccountsResponse.Builder clearAccounts()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Returns
TypeDescription
ListAccountsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAccountsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ListAccountsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListAccountsResponse.Builder
Overrides

clone()

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

getAccounts(int index)

public Account getAccounts(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Account

getAccountsBuilder(int index)

public Account.Builder getAccountsBuilder(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Account.Builder

getAccountsBuilderList()

public List<Account.Builder> getAccountsBuilderList()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Returns
TypeDescription
List<Builder>

getAccountsCount()

public int getAccountsCount()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Returns
TypeDescription
int

getAccountsList()

public List<Account> getAccountsList()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Returns
TypeDescription
List<Account>

getAccountsOrBuilder(int index)

public AccountOrBuilder getAccountsOrBuilder(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccountOrBuilder

getAccountsOrBuilderList()

public List<? extends AccountOrBuilder> getAccountsOrBuilderList()

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1beta.AccountOrBuilder>

getDefaultInstanceForType()

public ListAccountsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAccountsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAccountsResponse other)

public ListAccountsResponse.Builder mergeFrom(ListAccountsResponse other)
Parameter
NameDescription
otherListAccountsResponse
Returns
TypeDescription
ListAccountsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAccounts(int index)

public ListAccountsResponse.Builder removeAccounts(int index)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAccountsResponse.Builder

setAccounts(int index, Account value)

public ListAccountsResponse.Builder setAccounts(int index, Account value)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameters
NameDescription
indexint
valueAccount
Returns
TypeDescription
ListAccountsResponse.Builder

setAccounts(int index, Account.Builder builderForValue)

public ListAccountsResponse.Builder setAccounts(int index, Account.Builder builderForValue)

Results that were accessible to the caller.

repeated .google.analytics.admin.v1beta.Account accounts = 1;

Parameters
NameDescription
indexint
builderForValueAccount.Builder
Returns
TypeDescription
ListAccountsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAccountsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListAccountsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAccountsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAccountsResponse.Builder

This builder for chaining.

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

public ListAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAccountsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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