Class ListAccountSummariesResponse.Builder (0.57.0)

public static final class ListAccountSummariesResponse.Builder extends GeneratedMessageV3.Builder<ListAccountSummariesResponse.Builder> implements ListAccountSummariesResponseOrBuilder

Response message for ListAccountSummaries RPC.

Protobuf type google.analytics.admin.v1alpha.ListAccountSummariesResponse

Static Methods

getDescriptor()

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

Methods

addAccountSummaries(AccountSummary value)

public ListAccountSummariesResponse.Builder addAccountSummaries(AccountSummary value)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
value AccountSummary
Returns
Type Description
ListAccountSummariesResponse.Builder

addAccountSummaries(AccountSummary.Builder builderForValue)

public ListAccountSummariesResponse.Builder addAccountSummaries(AccountSummary.Builder builderForValue)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
builderForValue AccountSummary.Builder
Returns
Type Description
ListAccountSummariesResponse.Builder

addAccountSummaries(int index, AccountSummary value)

public ListAccountSummariesResponse.Builder addAccountSummaries(int index, AccountSummary value)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameters
Name Description
index int
value AccountSummary
Returns
Type Description
ListAccountSummariesResponse.Builder

addAccountSummaries(int index, AccountSummary.Builder builderForValue)

public ListAccountSummariesResponse.Builder addAccountSummaries(int index, AccountSummary.Builder builderForValue)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameters
Name Description
index int
builderForValue AccountSummary.Builder
Returns
Type Description
ListAccountSummariesResponse.Builder

addAccountSummariesBuilder()

public AccountSummary.Builder addAccountSummariesBuilder()

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Returns
Type Description
AccountSummary.Builder

addAccountSummariesBuilder(int index)

public AccountSummary.Builder addAccountSummariesBuilder(int index)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountSummary.Builder

addAllAccountSummaries(Iterable<? extends AccountSummary> values)

public ListAccountSummariesResponse.Builder addAllAccountSummaries(Iterable<? extends AccountSummary> values)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.AccountSummary>
Returns
Type Description
ListAccountSummariesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAccountSummariesResponse build()
Returns
Type Description
ListAccountSummariesResponse

buildPartial()

public ListAccountSummariesResponse buildPartial()
Returns
Type Description
ListAccountSummariesResponse

clear()

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

clearAccountSummaries()

public ListAccountSummariesResponse.Builder clearAccountSummaries()

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Returns
Type Description
ListAccountSummariesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAccountSummariesResponse.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
Type Description
ListAccountSummariesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccountSummaries(int index)

public AccountSummary getAccountSummaries(int index)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountSummary

getAccountSummariesBuilder(int index)

public AccountSummary.Builder getAccountSummariesBuilder(int index)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountSummary.Builder

getAccountSummariesBuilderList()

public List<AccountSummary.Builder> getAccountSummariesBuilderList()

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Returns
Type Description
List<Builder>

getAccountSummariesCount()

public int getAccountSummariesCount()

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Returns
Type Description
int

getAccountSummariesList()

public List<AccountSummary> getAccountSummariesList()

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Returns
Type Description
List<AccountSummary>

getAccountSummariesOrBuilder(int index)

public AccountSummaryOrBuilder getAccountSummariesOrBuilder(int index)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountSummaryOrBuilder

getAccountSummariesOrBuilderList()

public List<? extends AccountSummaryOrBuilder> getAccountSummariesOrBuilderList()

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>

getDefaultInstanceForType()

public ListAccountSummariesResponse getDefaultInstanceForType()
Returns
Type Description
ListAccountSummariesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAccountSummariesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAccountSummaries(int index)

public ListAccountSummariesResponse.Builder removeAccountSummaries(int index)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAccountSummariesResponse.Builder

setAccountSummaries(int index, AccountSummary value)

public ListAccountSummariesResponse.Builder setAccountSummaries(int index, AccountSummary value)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameters
Name Description
index int
value AccountSummary
Returns
Type Description
ListAccountSummariesResponse.Builder

setAccountSummaries(int index, AccountSummary.Builder builderForValue)

public ListAccountSummariesResponse.Builder setAccountSummaries(int index, AccountSummary.Builder builderForValue)

Account summaries of all accounts the caller has access to.

repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1;

Parameters
Name Description
index int
builderForValue AccountSummary.Builder
Returns
Type Description
ListAccountSummariesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAccountSummariesResponse.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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAccountSummariesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAccountSummariesResponse.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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAccountSummariesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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