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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryAudienceExportResponse build()
Returns
TypeDescription
QueryAudienceExportResponse

buildPartial()

public QueryAudienceExportResponse buildPartial()
Returns
TypeDescription
QueryAudienceExportResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryAudienceExportResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
QueryAudienceExportResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public QueryAudienceExportResponse getDefaultInstanceForType()
Returns
TypeDescription
QueryAudienceExportResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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

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
NameDescription
valueAudienceExport
Returns
TypeDescription
QueryAudienceExportResponse.Builder

mergeFrom(QueryAudienceExportResponse other)

public QueryAudienceExportResponse.Builder mergeFrom(QueryAudienceExportResponse other)
Parameter
NameDescription
otherQueryAudienceExportResponse
Returns
TypeDescription
QueryAudienceExportResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public QueryAudienceExportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The rowCount to set.

Returns
TypeDescription
QueryAudienceExportResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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