Class QueryReportTaskResponse (0.64.0)

public final class QueryReportTaskResponse extends GeneratedMessageV3 implements QueryReportTaskResponseOrBuilder

The report content corresponding to a report task.

Protobuf type google.analytics.data.v1alpha.QueryReportTaskResponse

Static Fields

DIMENSION_HEADERS_FIELD_NUMBER

public static final int DIMENSION_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

MAXIMUMS_FIELD_NUMBER

public static final int MAXIMUMS_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

METRIC_HEADERS_FIELD_NUMBER

public static final int METRIC_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

MINIMUMS_FIELD_NUMBER

public static final int MINIMUMS_FIELD_NUMBER
Field Value
Type Description
int

ROWS_FIELD_NUMBER

public static final int ROWS_FIELD_NUMBER
Field Value
Type Description
int

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TOTALS_FIELD_NUMBER

public static final int TOTALS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryReportTaskResponse getDefaultInstance()
Returns
Type Description
QueryReportTaskResponse

getDescriptor()

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

newBuilder()

public static QueryReportTaskResponse.Builder newBuilder()
Returns
Type Description
QueryReportTaskResponse.Builder

newBuilder(QueryReportTaskResponse prototype)

public static QueryReportTaskResponse.Builder newBuilder(QueryReportTaskResponse prototype)
Parameter
Name Description
prototype QueryReportTaskResponse
Returns
Type Description
QueryReportTaskResponse.Builder

parseDelimitedFrom(InputStream input)

public static QueryReportTaskResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryReportTaskResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueryReportTaskResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryReportTaskResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryReportTaskResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryReportTaskResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryReportTaskResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryReportTaskResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueryReportTaskResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryReportTaskResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueryReportTaskResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryReportTaskResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryReportTaskResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QueryReportTaskResponse> parser()
Returns
Type Description
Parser<QueryReportTaskResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public QueryReportTaskResponse getDefaultInstanceForType()
Returns
Type Description
QueryReportTaskResponse

getDimensionHeaders(int index)

public DimensionHeader getDimensionHeaders(int index)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionHeader

getDimensionHeadersCount()

public int getDimensionHeadersCount()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
int

getDimensionHeadersList()

public List<DimensionHeader> getDimensionHeadersList()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Returns
Type Description
List<DimensionHeader>

getDimensionHeadersOrBuilder(int index)

public DimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionHeaderOrBuilder

getDimensionHeadersOrBuilderList()

public List<? extends DimensionHeaderOrBuilder> getDimensionHeadersOrBuilderList()

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.DimensionHeader dimension_headers = 1;

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

getMaximums(int index)

public Row getMaximums(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
Row

getMaximumsCount()

public int getMaximumsCount()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
int

getMaximumsList()

public List<Row> getMaximumsList()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Returns
Type Description
List<Row>

getMaximumsOrBuilder(int index)

public RowOrBuilder getMaximumsOrBuilder(int index)

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getMaximumsOrBuilderList()

public List<? extends RowOrBuilder> getMaximumsOrBuilderList()

If requested, the maximum values of metrics.

repeated .google.analytics.data.v1alpha.Row maximums = 5;

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

getMetadata()

public ResponseMetaData getMetadata()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
ResponseMetaData

The metadata.

getMetadataOrBuilder()

public ResponseMetaDataOrBuilder getMetadataOrBuilder()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
ResponseMetaDataOrBuilder

getMetricHeaders(int index)

public MetricHeader getMetricHeaders(int index)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricHeader

getMetricHeadersCount()

public int getMetricHeadersCount()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
int

getMetricHeadersList()

public List<MetricHeader> getMetricHeadersList()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Returns
Type Description
List<MetricHeader>

getMetricHeadersOrBuilder(int index)

public MetricHeaderOrBuilder getMetricHeadersOrBuilder(int index)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

Parameter
Name Description
index int
Returns
Type Description
MetricHeaderOrBuilder

getMetricHeadersOrBuilderList()

public List<? extends MetricHeaderOrBuilder> getMetricHeadersOrBuilderList()

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.data.v1alpha.MetricHeader metric_headers = 2;

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

getMinimums(int index)

public Row getMinimums(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
Row

getMinimumsCount()

public int getMinimumsCount()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
int

getMinimumsList()

public List<Row> getMinimumsList()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Returns
Type Description
List<Row>

getMinimumsOrBuilder(int index)

public RowOrBuilder getMinimumsOrBuilder(int index)

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getMinimumsOrBuilderList()

public List<? extends RowOrBuilder> getMinimumsOrBuilderList()

If requested, the minimum values of metrics.

repeated .google.analytics.data.v1alpha.Row minimums = 6;

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

getParserForType()

public Parser<QueryReportTaskResponse> getParserForType()
Returns
Type Description
Parser<QueryReportTaskResponse>
Overrides

getRowCount()

public int getRowCount()

The total number of rows in the query result.

int32 row_count = 7;

Returns
Type Description
int

The rowCount.

getRows(int index)

public Row getRows(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
Row

getRowsCount()

public int getRowsCount()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
int

getRowsList()

public List<Row> getRowsList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Returns
Type Description
List<Row>

getRowsOrBuilder(int index)

public RowOrBuilder getRowsOrBuilder(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getRowsOrBuilderList()

public List<? extends RowOrBuilder> getRowsOrBuilderList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.data.v1alpha.Row rows = 3;

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotals(int index)

public Row getTotals(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
Row

getTotalsCount()

public int getTotalsCount()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
int

getTotalsList()

public List<Row> getTotalsList()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Returns
Type Description
List<Row>

getTotalsOrBuilder(int index)

public RowOrBuilder getTotalsOrBuilder(int index)

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getTotalsOrBuilderList()

public List<? extends RowOrBuilder> getTotalsOrBuilderList()

If requested, the totaled values of metrics.

repeated .google.analytics.data.v1alpha.Row totals = 4;

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

hasMetadata()

public boolean hasMetadata()

Metadata for the report.

.google.analytics.data.v1alpha.ResponseMetaData metadata = 8;

Returns
Type Description
boolean

Whether the metadata field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QueryReportTaskResponse.Builder newBuilderForType()
Returns
Type Description
QueryReportTaskResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryReportTaskResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueryReportTaskResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public QueryReportTaskResponse.Builder toBuilder()
Returns
Type Description
QueryReportTaskResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException