Class ListAudiencesResponse.Builder (0.63.0)

public static final class ListAudiencesResponse.Builder extends GeneratedMessageV3.Builder<ListAudiencesResponse.Builder> implements ListAudiencesResponseOrBuilder

Response message for ListAudiences RPC.

Protobuf type google.analytics.admin.v1alpha.ListAudiencesResponse

Static Methods

getDescriptor()

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

Methods

addAllAudiences(Iterable<? extends Audience> values)

public ListAudiencesResponse.Builder addAllAudiences(Iterable<? extends Audience> values)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

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

addAudiences(Audience value)

public ListAudiencesResponse.Builder addAudiences(Audience value)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
Name Description
value Audience
Returns
Type Description
ListAudiencesResponse.Builder

addAudiences(Audience.Builder builderForValue)

public ListAudiencesResponse.Builder addAudiences(Audience.Builder builderForValue)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
Name Description
builderForValue Audience.Builder
Returns
Type Description
ListAudiencesResponse.Builder

addAudiences(int index, Audience value)

public ListAudiencesResponse.Builder addAudiences(int index, Audience value)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameters
Name Description
index int
value Audience
Returns
Type Description
ListAudiencesResponse.Builder

addAudiences(int index, Audience.Builder builderForValue)

public ListAudiencesResponse.Builder addAudiences(int index, Audience.Builder builderForValue)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameters
Name Description
index int
builderForValue Audience.Builder
Returns
Type Description
ListAudiencesResponse.Builder

addAudiencesBuilder()

public Audience.Builder addAudiencesBuilder()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Returns
Type Description
Audience.Builder

addAudiencesBuilder(int index)

public Audience.Builder addAudiencesBuilder(int index)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
Name Description
index int
Returns
Type Description
Audience.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAudiencesResponse build()
Returns
Type Description
ListAudiencesResponse

buildPartial()

public ListAudiencesResponse buildPartial()
Returns
Type Description
ListAudiencesResponse

clear()

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

clearAudiences()

public ListAudiencesResponse.Builder clearAudiences()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Returns
Type Description
ListAudiencesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAudiencesResponse.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
ListAudiencesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAudiences(int index)

public Audience getAudiences(int index)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
Name Description
index int
Returns
Type Description
Audience

getAudiencesBuilder(int index)

public Audience.Builder getAudiencesBuilder(int index)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
Name Description
index int
Returns
Type Description
Audience.Builder

getAudiencesBuilderList()

public List<Audience.Builder> getAudiencesBuilderList()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Returns
Type Description
List<Builder>

getAudiencesCount()

public int getAudiencesCount()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Returns
Type Description
int

getAudiencesList()

public List<Audience> getAudiencesList()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Returns
Type Description
List<Audience>

getAudiencesOrBuilder(int index)

public AudienceOrBuilder getAudiencesOrBuilder(int index)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
Name Description
index int
Returns
Type Description
AudienceOrBuilder

getAudiencesOrBuilderList()

public List<? extends AudienceOrBuilder> getAudiencesOrBuilderList()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

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

getDefaultInstanceForType()

public ListAudiencesResponse getDefaultInstanceForType()
Returns
Type Description
ListAudiencesResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAudiences(int index)

public ListAudiencesResponse.Builder removeAudiences(int index)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAudiencesResponse.Builder

setAudiences(int index, Audience value)

public ListAudiencesResponse.Builder setAudiences(int index, Audience value)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameters
Name Description
index int
value Audience
Returns
Type Description
ListAudiencesResponse.Builder

setAudiences(int index, Audience.Builder builderForValue)

public ListAudiencesResponse.Builder setAudiences(int index, Audience.Builder builderForValue)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameters
Name Description
index int
builderForValue Audience.Builder
Returns
Type Description
ListAudiencesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAudiencesResponse.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
ListAudiencesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAudiencesResponse.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
ListAudiencesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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