public final class Pivot extends com.google.protobuf.GeneratedMessageV3 implements PivotOrBuilder
Describes the visible dimension columns and rows in the report response.Protobuf type
google.analytics.data.v1beta.Pivot| Modifier and Type | Class and Description |
|---|---|
static class |
Pivot.Builder
Describes the visible dimension columns and rows in the report response.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_NAMES_FIELD_NUMBER |
static int |
LIMIT_FIELD_NUMBER |
static int |
METRIC_AGGREGATIONS_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
ORDER_BYS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Pivot |
getDefaultInstance() |
Pivot |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFieldNames(int index)
Dimension names for visible columns in the report response.
|
com.google.protobuf.ByteString |
getFieldNamesBytes(int index)
Dimension names for visible columns in the report response.
|
int |
getFieldNamesCount()
Dimension names for visible columns in the report response.
|
com.google.protobuf.ProtocolStringList |
getFieldNamesList()
Dimension names for visible columns in the report response.
|
long |
getLimit()
The number of unique combinations of dimension values to return in this
pivot.
|
MetricAggregation |
getMetricAggregations(int index)
Aggregate the metrics by dimensions in this pivot using the specified
metric_aggregations.
|
int |
getMetricAggregationsCount()
Aggregate the metrics by dimensions in this pivot using the specified
metric_aggregations.
|
List<MetricAggregation> |
getMetricAggregationsList()
Aggregate the metrics by dimensions in this pivot using the specified
metric_aggregations.
|
int |
getMetricAggregationsValue(int index)
Aggregate the metrics by dimensions in this pivot using the specified
metric_aggregations.
|
List<Integer> |
getMetricAggregationsValueList()
Aggregate the metrics by dimensions in this pivot using the specified
metric_aggregations.
|
long |
getOffset()
The row count of the start row.
|
OrderBy |
getOrderBys(int index)
Specifies how dimensions are ordered in the pivot.
|
int |
getOrderBysCount()
Specifies how dimensions are ordered in the pivot.
|
List<OrderBy> |
getOrderBysList()
Specifies how dimensions are ordered in the pivot.
|
OrderByOrBuilder |
getOrderBysOrBuilder(int index)
Specifies how dimensions are ordered in the pivot.
|
List<? extends OrderByOrBuilder> |
getOrderBysOrBuilderList()
Specifies how dimensions are ordered in the pivot.
|
com.google.protobuf.Parser<Pivot> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Pivot.Builder |
newBuilder() |
static Pivot.Builder |
newBuilder(Pivot prototype) |
Pivot.Builder |
newBuilderForType() |
protected Pivot.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Pivot |
parseDelimitedFrom(InputStream input) |
static Pivot |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pivot |
parseFrom(byte[] data) |
static Pivot |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pivot |
parseFrom(ByteBuffer data) |
static Pivot |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pivot |
parseFrom(com.google.protobuf.ByteString data) |
static Pivot |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pivot |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Pivot |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Pivot |
parseFrom(InputStream input) |
static Pivot |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Pivot> |
parser() |
Pivot.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FIELD_NAMES_FIELD_NUMBER
public static final int ORDER_BYS_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public static final int METRIC_AGGREGATIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getFieldNamesList()
Dimension names for visible columns in the report response. Including "dateRange" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.
repeated string field_names = 1;getFieldNamesList in interface PivotOrBuilderpublic int getFieldNamesCount()
Dimension names for visible columns in the report response. Including "dateRange" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.
repeated string field_names = 1;getFieldNamesCount in interface PivotOrBuilderpublic String getFieldNames(int index)
Dimension names for visible columns in the report response. Including "dateRange" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.
repeated string field_names = 1;getFieldNames in interface PivotOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getFieldNamesBytes(int index)
Dimension names for visible columns in the report response. Including "dateRange" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.
repeated string field_names = 1;getFieldNamesBytes in interface PivotOrBuilderindex - The index of the value to return.public List<OrderBy> getOrderBysList()
Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;getOrderBysList in interface PivotOrBuilderpublic List<? extends OrderByOrBuilder> getOrderBysOrBuilderList()
Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;getOrderBysOrBuilderList in interface PivotOrBuilderpublic int getOrderBysCount()
Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;getOrderBysCount in interface PivotOrBuilderpublic OrderBy getOrderBys(int index)
Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;getOrderBys in interface PivotOrBuilderpublic OrderByOrBuilder getOrderBysOrBuilder(int index)
Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.
repeated .google.analytics.data.v1beta.OrderBy order_bys = 2;getOrderBysOrBuilder in interface PivotOrBuilderpublic long getOffset()
The row count of the start row. The first row is counted as row 0.
int64 offset = 3;getOffset in interface PivotOrBuilderpublic long getLimit()
The number of unique combinations of dimension values to return in this pivot. The `limit` parameter is required. A `limit` of 10,000 is common for single pivot requests. The product of the `limit` for each `pivot` in a `RunPivotReportRequest` must not exceed 100,000. For example, a two pivot request with `limit: 1000` in each pivot will fail because the product is `1,000,000`.
int64 limit = 4;getLimit in interface PivotOrBuilderpublic List<MetricAggregation> getMetricAggregationsList()
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;getMetricAggregationsList in interface PivotOrBuilderpublic int getMetricAggregationsCount()
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;getMetricAggregationsCount in interface PivotOrBuilderpublic MetricAggregation getMetricAggregations(int index)
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;getMetricAggregations in interface PivotOrBuilderindex - The index of the element to return.public List<Integer> getMetricAggregationsValueList()
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;getMetricAggregationsValueList in interface PivotOrBuilderpublic int getMetricAggregationsValue(int index)
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;getMetricAggregationsValue in interface PivotOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Pivot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pivot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pivot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pivot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pivot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pivot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Pivot parseFrom(InputStream input) throws IOException
IOExceptionpublic static Pivot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Pivot parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Pivot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Pivot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Pivot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Pivot.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Pivot.Builder newBuilder()
public static Pivot.Builder newBuilder(Pivot prototype)
public Pivot.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Pivot.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Pivot getDefaultInstance()
public static com.google.protobuf.Parser<Pivot> parser()
public com.google.protobuf.Parser<Pivot> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Pivot getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.