Class QueryAudienceExportResponse.Builder (0.54.0)

public static final class QueryAudienceExportResponse.Builder extends GeneratedMessageV3.Builder<QueryAudienceExportResponse.Builder> implements QueryAudienceExportResponseOrBuilder

A list of users in an audience export.

Protobuf type google.analytics.data.v1beta.QueryAudienceExportResponse

Static Methods

getDescriptor()

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

Methods

addAllAudienceRows(Iterable<? extends AudienceRow> values)

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

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

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

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

addAudienceRows(AudienceRow value)

public QueryAudienceExportResponse.Builder addAudienceRows(AudienceRow value)

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

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

Parameter
Name Description
value AudienceRow
Returns
Type Description
QueryAudienceExportResponse.Builder

addAudienceRows(AudienceRow.Builder builderForValue)

public QueryAudienceExportResponse.Builder addAudienceRows(AudienceRow.Builder builderForValue)

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

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

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

addAudienceRows(int index, AudienceRow value)

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

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

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

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

addAudienceRows(int index, AudienceRow.Builder builderForValue)

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

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

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

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

addAudienceRowsBuilder()

public AudienceRow.Builder addAudienceRowsBuilder()

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

repeated .google.analytics.data.v1beta.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 export. The number of rows in this response will be less than or equal to request's page size.

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

Parameter
Name Description
index int
Returns
Type Description
AudienceRow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryAudienceExportResponse build()
Returns
Type Description
QueryAudienceExportResponse

buildPartial()

public QueryAudienceExportResponse buildPartial()
Returns
Type Description
QueryAudienceExportResponse

clear()

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

clearAudienceExport()

public QueryAudienceExportResponse.Builder clearAudienceExport()

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Returns
Type Description
QueryAudienceExportResponse.Builder

clearAudienceRows()

public QueryAudienceExportResponse.Builder clearAudienceRows()

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

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

Returns
Type Description
QueryAudienceExportResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowCount()

public QueryAudienceExportResponse.Builder clearRowCount()

The total number of rows in the AudienceExport 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
QueryAudienceExportResponse.Builder

This builder for chaining.

clone()

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

getAudienceExport()

public AudienceExport getAudienceExport()

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Returns
Type Description
AudienceExport

The audienceExport.

getAudienceExportBuilder()

public AudienceExport.Builder getAudienceExportBuilder()

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Returns
Type Description
AudienceExport.Builder

getAudienceExportOrBuilder()

public AudienceExportOrBuilder getAudienceExportOrBuilder()

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Returns
Type Description
AudienceExportOrBuilder

getAudienceRows(int index)

public AudienceRow getAudienceRows(int index)

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

repeated .google.analytics.data.v1beta.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 export. The number of rows in this response will be less than or equal to request's page size.

repeated .google.analytics.data.v1beta.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 export. The number of rows in this response will be less than or equal to request's page size.

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

Returns
Type Description
List<Builder>

getAudienceRowsCount()

public int getAudienceRowsCount()

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

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

Returns
Type Description
int

getAudienceRowsList()

public List<AudienceRow> getAudienceRowsList()

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

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

Returns
Type Description
List<AudienceRow>

getAudienceRowsOrBuilder(int index)

public AudienceRowOrBuilder getAudienceRowsOrBuilder(int index)

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

repeated .google.analytics.data.v1beta.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 export. The number of rows in this response will be less than or equal to request's page size.

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

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

getDefaultInstanceForType()

public QueryAudienceExportResponse getDefaultInstanceForType()
Returns
Type Description
QueryAudienceExportResponse

getDescriptorForType()

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

getRowCount()

public int getRowCount()

The total number of rows in the AudienceExport 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.

hasAudienceExport()

public boolean hasAudienceExport()

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Returns
Type Description
boolean

Whether the audienceExport field is set.

hasRowCount()

public boolean hasRowCount()

The total number of rows in the AudienceExport 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

mergeAudienceExport(AudienceExport value)

public QueryAudienceExportResponse.Builder mergeAudienceExport(AudienceExport value)

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Parameter
Name Description
value AudienceExport
Returns
Type Description
QueryAudienceExportResponse.Builder

mergeFrom(QueryAudienceExportResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAudienceRows(int index)

public QueryAudienceExportResponse.Builder removeAudienceRows(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
QueryAudienceExportResponse.Builder

setAudienceExport(AudienceExport value)

public QueryAudienceExportResponse.Builder setAudienceExport(AudienceExport value)

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Parameter
Name Description
value AudienceExport
Returns
Type Description
QueryAudienceExportResponse.Builder

setAudienceExport(AudienceExport.Builder builderForValue)

public QueryAudienceExportResponse.Builder setAudienceExport(AudienceExport.Builder builderForValue)

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

optional .google.analytics.data.v1beta.AudienceExport audience_export = 1;

Parameter
Name Description
builderForValue AudienceExport.Builder
Returns
Type Description
QueryAudienceExportResponse.Builder

setAudienceRows(int index, AudienceRow value)

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

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

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

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

setAudienceRows(int index, AudienceRow.Builder builderForValue)

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowCount(int value)

public QueryAudienceExportResponse.Builder setRowCount(int value)

The total number of rows in the AudienceExport 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
QueryAudienceExportResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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