Class QueryAudienceListResponse.Builder (0.60.0)

public static final class QueryAudienceListResponse.Builder extends GeneratedMessageV3.Builder<QueryAudienceListResponse.Builder> implements QueryAudienceListResponseOrBuilder

A list of users in an audience list.

Protobuf type google.analytics.data.v1alpha.QueryAudienceListResponse

Static Methods

getDescriptor()

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

Methods

addAllAudienceRows(Iterable<? extends AudienceRow> values)

public QueryAudienceListResponse.Builder addAllAudienceRows(Iterable<? extends AudienceRow> values)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

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

addAudienceRows(AudienceRow value)

public QueryAudienceListResponse.Builder addAudienceRows(AudienceRow value)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameter
Name Description
value AudienceRow
Returns
Type Description
QueryAudienceListResponse.Builder

addAudienceRows(AudienceRow.Builder builderForValue)

public QueryAudienceListResponse.Builder addAudienceRows(AudienceRow.Builder builderForValue)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameter
Name Description
builderForValue AudienceRow.Builder
Returns
Type Description
QueryAudienceListResponse.Builder

addAudienceRows(int index, AudienceRow value)

public QueryAudienceListResponse.Builder addAudienceRows(int index, AudienceRow value)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameters
Name Description
index int
value AudienceRow
Returns
Type Description
QueryAudienceListResponse.Builder

addAudienceRows(int index, AudienceRow.Builder builderForValue)

public QueryAudienceListResponse.Builder addAudienceRows(int index, AudienceRow.Builder builderForValue)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameters
Name Description
index int
builderForValue AudienceRow.Builder
Returns
Type Description
QueryAudienceListResponse.Builder

addAudienceRowsBuilder()

public AudienceRow.Builder addAudienceRowsBuilder()

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Returns
Type Description
AudienceRow.Builder

addAudienceRowsBuilder(int index)

public AudienceRow.Builder addAudienceRowsBuilder(int index)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameter
Name Description
index int
Returns
Type Description
AudienceRow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryAudienceListResponse build()
Returns
Type Description
QueryAudienceListResponse

buildPartial()

public QueryAudienceListResponse buildPartial()
Returns
Type Description
QueryAudienceListResponse

clear()

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

clearAudienceList()

public QueryAudienceListResponse.Builder clearAudienceList()

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

Returns
Type Description
QueryAudienceListResponse.Builder

clearAudienceRows()

public QueryAudienceListResponse.Builder clearAudienceRows()

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Returns
Type Description
QueryAudienceListResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowCount()

public QueryAudienceListResponse.Builder clearRowCount()

The total number of rows in the AudienceList result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows.

To learn more about this pagination parameter, see Pagination.

optional int32 row_count = 3;

Returns
Type Description
QueryAudienceListResponse.Builder

This builder for chaining.

clone()

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

getAudienceList()

public AudienceList getAudienceList()

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

Returns
Type Description
AudienceList

The audienceList.

getAudienceListBuilder()

public AudienceList.Builder getAudienceListBuilder()

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

Returns
Type Description
AudienceList.Builder

getAudienceListOrBuilder()

public AudienceListOrBuilder getAudienceListOrBuilder()

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

Returns
Type Description
AudienceListOrBuilder

getAudienceRows(int index)

public AudienceRow getAudienceRows(int index)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameter
Name Description
index int
Returns
Type Description
AudienceRow

getAudienceRowsBuilder(int index)

public AudienceRow.Builder getAudienceRowsBuilder(int index)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameter
Name Description
index int
Returns
Type Description
AudienceRow.Builder

getAudienceRowsBuilderList()

public List<AudienceRow.Builder> getAudienceRowsBuilderList()

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Returns
Type Description
List<Builder>

getAudienceRowsCount()

public int getAudienceRowsCount()

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Returns
Type Description
int

getAudienceRowsList()

public List<AudienceRow> getAudienceRowsList()

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Returns
Type Description
List<AudienceRow>

getAudienceRowsOrBuilder(int index)

public AudienceRowOrBuilder getAudienceRowsOrBuilder(int index)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameter
Name Description
index int
Returns
Type Description
AudienceRowOrBuilder

getAudienceRowsOrBuilderList()

public List<? extends AudienceRowOrBuilder> getAudienceRowsOrBuilderList()

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

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

getDefaultInstanceForType()

public QueryAudienceListResponse getDefaultInstanceForType()
Returns
Type Description
QueryAudienceListResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRowCount()

public int getRowCount()

The total number of rows in the AudienceList result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows.

To learn more about this pagination parameter, see Pagination.

optional int32 row_count = 3;

Returns
Type Description
int

The rowCount.

hasAudienceList()

public boolean hasAudienceList()

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

Returns
Type Description
boolean

Whether the audienceList field is set.

hasRowCount()

public boolean hasRowCount()

The total number of rows in the AudienceList result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows.

To learn more about this pagination parameter, see Pagination.

optional int32 row_count = 3;

Returns
Type Description
boolean

Whether the rowCount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAudienceList(AudienceList value)

public QueryAudienceListResponse.Builder mergeAudienceList(AudienceList value)

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

Parameter
Name Description
value AudienceList
Returns
Type Description
QueryAudienceListResponse.Builder

mergeFrom(QueryAudienceListResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAudienceRows(int index)

public QueryAudienceListResponse.Builder removeAudienceRows(int index)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameter
Name Description
index int
Returns
Type Description
QueryAudienceListResponse.Builder

setAudienceList(AudienceList value)

public QueryAudienceListResponse.Builder setAudienceList(AudienceList value)

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

Parameter
Name Description
value AudienceList
Returns
Type Description
QueryAudienceListResponse.Builder

setAudienceList(AudienceList.Builder builderForValue)

public QueryAudienceListResponse.Builder setAudienceList(AudienceList.Builder builderForValue)

Configuration data about AudienceList being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceList correspond to the columns in the AudienceRows.

optional .google.analytics.data.v1alpha.AudienceList audience_list = 1;

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

setAudienceRows(int index, AudienceRow value)

public QueryAudienceListResponse.Builder setAudienceRows(int index, AudienceRow value)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameters
Name Description
index int
value AudienceRow
Returns
Type Description
QueryAudienceListResponse.Builder

setAudienceRows(int index, AudienceRow.Builder builderForValue)

public QueryAudienceListResponse.Builder setAudienceRows(int index, AudienceRow.Builder builderForValue)

Rows for each user in an audience list. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1alpha.AudienceRow audience_rows = 2;

Parameters
Name Description
index int
builderForValue AudienceRow.Builder
Returns
Type Description
QueryAudienceListResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowCount(int value)

public QueryAudienceListResponse.Builder setRowCount(int value)

The total number of rows in the AudienceList result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows.

To learn more about this pagination parameter, see Pagination.

optional int32 row_count = 3;

Parameter
Name Description
value int

The rowCount to set.

Returns
Type Description
QueryAudienceListResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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