Class ListAudienceListsResponse.Builder (0.53.0)

public static final class ListAudienceListsResponse.Builder extends GeneratedMessageV3.Builder<ListAudienceListsResponse.Builder> implements ListAudienceListsResponseOrBuilder

A list of all audience lists for a property.

Protobuf type google.analytics.data.v1alpha.ListAudienceListsResponse

Static Methods

getDescriptor()

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

Methods

addAllAudienceLists(Iterable<? extends AudienceList> values)

public ListAudienceListsResponse.Builder addAllAudienceLists(Iterable<? extends AudienceList> values)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.AudienceList>
Returns
Type Description
ListAudienceListsResponse.Builder

addAudienceLists(AudienceList value)

public ListAudienceListsResponse.Builder addAudienceLists(AudienceList value)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
value AudienceList
Returns
Type Description
ListAudienceListsResponse.Builder

addAudienceLists(AudienceList.Builder builderForValue)

public ListAudienceListsResponse.Builder addAudienceLists(AudienceList.Builder builderForValue)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
builderForValue AudienceList.Builder
Returns
Type Description
ListAudienceListsResponse.Builder

addAudienceLists(int index, AudienceList value)

public ListAudienceListsResponse.Builder addAudienceLists(int index, AudienceList value)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameters
Name Description
index int
value AudienceList
Returns
Type Description
ListAudienceListsResponse.Builder

addAudienceLists(int index, AudienceList.Builder builderForValue)

public ListAudienceListsResponse.Builder addAudienceLists(int index, AudienceList.Builder builderForValue)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameters
Name Description
index int
builderForValue AudienceList.Builder
Returns
Type Description
ListAudienceListsResponse.Builder

addAudienceListsBuilder()

public AudienceList.Builder addAudienceListsBuilder()

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Returns
Type Description
AudienceList.Builder

addAudienceListsBuilder(int index)

public AudienceList.Builder addAudienceListsBuilder(int index)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
AudienceList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAudienceListsResponse build()
Returns
Type Description
ListAudienceListsResponse

buildPartial()

public ListAudienceListsResponse buildPartial()
Returns
Type Description
ListAudienceListsResponse

clear()

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

clearAudienceLists()

public ListAudienceListsResponse.Builder clearAudienceLists()

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Returns
Type Description
ListAudienceListsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAudienceListsResponse.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.

optional string next_page_token = 2;

Returns
Type Description
ListAudienceListsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAudienceLists(int index)

public AudienceList getAudienceLists(int index)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
AudienceList

getAudienceListsBuilder(int index)

public AudienceList.Builder getAudienceListsBuilder(int index)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
AudienceList.Builder

getAudienceListsBuilderList()

public List<AudienceList.Builder> getAudienceListsBuilderList()

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Returns
Type Description
List<Builder>

getAudienceListsCount()

public int getAudienceListsCount()

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Returns
Type Description
int

getAudienceListsList()

public List<AudienceList> getAudienceListsList()

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Returns
Type Description
List<AudienceList>

getAudienceListsOrBuilder(int index)

public AudienceListOrBuilder getAudienceListsOrBuilder(int index)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
AudienceListOrBuilder

getAudienceListsOrBuilderList()

public List<? extends AudienceListOrBuilder> getAudienceListsOrBuilderList()

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.AudienceListOrBuilder>

getDefaultInstanceForType()

public ListAudienceListsResponse getDefaultInstanceForType()
Returns
Type Description
ListAudienceListsResponse

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.

optional 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.

optional string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

hasNextPageToken()

public boolean hasNextPageToken()

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

optional string next_page_token = 2;

Returns
Type Description
boolean

Whether the nextPageToken field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAudienceListsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAudienceLists(int index)

public ListAudienceListsResponse.Builder removeAudienceLists(int index)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAudienceListsResponse.Builder

setAudienceLists(int index, AudienceList value)

public ListAudienceListsResponse.Builder setAudienceLists(int index, AudienceList value)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameters
Name Description
index int
value AudienceList
Returns
Type Description
ListAudienceListsResponse.Builder

setAudienceLists(int index, AudienceList.Builder builderForValue)

public ListAudienceListsResponse.Builder setAudienceLists(int index, AudienceList.Builder builderForValue)

Each audience list for a property.

repeated .google.analytics.data.v1alpha.AudienceList audience_lists = 1;

Parameters
Name Description
index int
builderForValue AudienceList.Builder
Returns
Type Description
ListAudienceListsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAudienceListsResponse.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.

optional string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAudienceListsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAudienceListsResponse.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.

optional string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAudienceListsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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