Class QueryAudienceListResponse.Builder (0.41.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1alpha.AudienceRow>
Returns
TypeDescription
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
NameDescription
valueAudienceRow
Returns
TypeDescription
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
NameDescription
builderForValueAudienceRow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAudienceRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAudienceRow.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AudienceRow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryAudienceListResponse build()
Returns
TypeDescription
QueryAudienceListResponse

buildPartial()

public QueryAudienceListResponse buildPartial()
Returns
TypeDescription
QueryAudienceListResponse

clear()

public QueryAudienceListResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
QueryAudienceListResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryAudienceListResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryAudienceListResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowCount()

public QueryAudienceListResponse.Builder clearRowCount()

The total number of rows in the query 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
TypeDescription
QueryAudienceListResponse.Builder

This builder for chaining.

clone()

public QueryAudienceListResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1alpha.AudienceRowOrBuilder>

getDefaultInstanceForType()

public QueryAudienceListResponse getDefaultInstanceForType()
Returns
TypeDescription
QueryAudienceListResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowCount()

public int getRowCount()

The total number of rows in the query 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
TypeDescription
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
TypeDescription
boolean

Whether the audienceList field is set.

hasRowCount()

public boolean hasRowCount()

The total number of rows in the query 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
TypeDescription
boolean

Whether the rowCount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAudienceList
Returns
TypeDescription
QueryAudienceListResponse.Builder

mergeFrom(QueryAudienceListResponse other)

public QueryAudienceListResponse.Builder mergeFrom(QueryAudienceListResponse other)
Parameter
NameDescription
otherQueryAudienceListResponse
Returns
TypeDescription
QueryAudienceListResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public QueryAudienceListResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryAudienceListResponse.Builder
Overrides

setRowCount(int value)

public QueryAudienceListResponse.Builder setRowCount(int value)

The total number of rows in the query 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
NameDescription
valueint

The rowCount to set.

Returns
TypeDescription
QueryAudienceListResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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