Class ListAudiencesResponse.Builder (0.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.Audience>
Returns
TypeDescription
ListAudiencesResponse.Builder

addAudiences(Audience value)

public ListAudiencesResponse.Builder addAudiences(Audience value)

List of Audiences.

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

Parameter
NameDescription
valueAudience
Returns
TypeDescription
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
NameDescription
builderForValueAudience.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAudience
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAudience.Builder
Returns
TypeDescription
ListAudiencesResponse.Builder

addAudiencesBuilder()

public Audience.Builder addAudiencesBuilder()

List of Audiences.

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

Returns
TypeDescription
Audience.Builder

addAudiencesBuilder(int index)

public Audience.Builder addAudiencesBuilder(int index)

List of Audiences.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Audience.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAudiencesResponse build()
Returns
TypeDescription
ListAudiencesResponse

buildPartial()

public ListAudiencesResponse buildPartial()
Returns
TypeDescription
ListAudiencesResponse

clear()

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

clearAudiences()

public ListAudiencesResponse.Builder clearAudiences()

List of Audiences.

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

Returns
TypeDescription
ListAudiencesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAudiences(int index)

public Audience getAudiences(int index)

List of Audiences.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Audience

getAudiencesBuilder(int index)

public Audience.Builder getAudiencesBuilder(int index)

List of Audiences.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Audience.Builder

getAudiencesBuilderList()

public List<Audience.Builder> getAudiencesBuilderList()

List of Audiences.

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

Returns
TypeDescription
List<Builder>

getAudiencesCount()

public int getAudiencesCount()

List of Audiences.

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

Returns
TypeDescription
int

getAudiencesList()

public List<Audience> getAudiencesList()

List of Audiences.

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

Returns
TypeDescription
List<Audience>

getAudiencesOrBuilder(int index)

public AudienceOrBuilder getAudiencesOrBuilder(int index)

List of Audiences.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceOrBuilder

getAudiencesOrBuilderList()

public List<? extends AudienceOrBuilder> getAudiencesOrBuilderList()

List of Audiences.

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

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

getDefaultInstanceForType()

public ListAudiencesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAudiencesResponse

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

public ListAudiencesResponse.Builder mergeFrom(ListAudiencesResponse other)
Parameter
NameDescription
otherListAudiencesResponse
Returns
TypeDescription
ListAudiencesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAudiences(int index)

public ListAudiencesResponse.Builder removeAudiences(int index)

List of Audiences.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAudience
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAudience.Builder
Returns
TypeDescription
ListAudiencesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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