Class ListAudienceListsResponse.Builder (0.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1alpha.AudienceList>
Returns
TypeDescription
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
NameDescription
valueAudienceList
Returns
TypeDescription
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
NameDescription
builderForValueAudienceList.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAudienceList
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAudienceList.Builder
Returns
TypeDescription
ListAudienceListsResponse.Builder

addAudienceListsBuilder()

public AudienceList.Builder addAudienceListsBuilder()

Each audience list for a property.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AudienceList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAudienceListsResponse build()
Returns
TypeDescription
ListAudienceListsResponse

buildPartial()

public ListAudienceListsResponse buildPartial()
Returns
TypeDescription
ListAudienceListsResponse

clear()

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

clearAudienceLists()

public ListAudienceListsResponse.Builder clearAudienceLists()

Each audience list for a property.

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

Returns
TypeDescription
ListAudienceListsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAudienceListsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AudienceList.Builder

getAudienceListsBuilderList()

public List<AudienceList.Builder> getAudienceListsBuilderList()

Each audience list for a property.

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

Returns
TypeDescription
List<Builder>

getAudienceListsCount()

public int getAudienceListsCount()

Each audience list for a property.

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

Returns
TypeDescription
int

getAudienceListsList()

public List<AudienceList> getAudienceListsList()

Each audience list for a property.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AudienceListOrBuilder

getAudienceListsOrBuilderList()

public List<? extends AudienceListOrBuilder> getAudienceListsOrBuilderList()

Each audience list for a property.

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

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

getDefaultInstanceForType()

public ListAudienceListsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAudienceListsResponse

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.

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

optional string next_page_token = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the nextPageToken field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAudienceListsResponse other)

public ListAudienceListsResponse.Builder mergeFrom(ListAudienceListsResponse other)
Parameter
NameDescription
otherListAudienceListsResponse
Returns
TypeDescription
ListAudienceListsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAudienceListsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAudienceList
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAudienceList.Builder
Returns
TypeDescription
ListAudienceListsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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