Class ListAccountSummariesResponse.Builder (0.46.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
TypeDescription
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
NameDescription
valueAccountSummary
Returns
TypeDescription
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
NameDescription
builderForValueAccountSummary.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAccountSummary
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccountSummary.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.AccountSummary>
Returns
TypeDescription
ListAccountSummariesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAccountSummariesResponse build()
Returns
TypeDescription
ListAccountSummariesResponse

buildPartial()

public ListAccountSummariesResponse buildPartial()
Returns
TypeDescription
ListAccountSummariesResponse

clear()

public ListAccountSummariesResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListAccountSummariesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAccountSummariesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAccountSummariesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAccountSummariesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder>

getDefaultInstanceForType()

public ListAccountSummariesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAccountSummariesResponse

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(ListAccountSummariesResponse other)

public ListAccountSummariesResponse.Builder mergeFrom(ListAccountSummariesResponse other)
Parameter
NameDescription
otherListAccountSummariesResponse
Returns
TypeDescription
ListAccountSummariesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAccountSummariesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAccountSummary
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccountSummary.Builder
Returns
TypeDescription
ListAccountSummariesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAccountSummariesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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