Package com.google.analytics.data.v1beta
Class Pivot
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1beta.Pivot
- All Implemented Interfaces:
PivotOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Pivot
extends com.google.protobuf.GeneratedMessage
implements PivotOrBuilder
Describes the visible dimension columns and rows in the report response.Protobuf type
google.analytics.data.v1beta.Pivot- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes the visible dimension columns and rows in the report response.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Pivotstatic final com.google.protobuf.Descriptors.DescriptorgetFieldNames(int index) Dimension names for visible columns in the report response.com.google.protobuf.ByteStringgetFieldNamesBytes(int index) Dimension names for visible columns in the report response.intDimension names for visible columns in the report response.com.google.protobuf.ProtocolStringListDimension names for visible columns in the report response.longgetLimit()The number of unique combinations of dimension values to return in this pivot.getMetricAggregations(int index) Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.intAggregate the metrics by dimensions in this pivot using the specified metric_aggregations.Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.intgetMetricAggregationsValue(int index) Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.longThe row count of the start row.getOrderBys(int index) Specifies how dimensions are ordered in the pivot.intSpecifies how dimensions are ordered in the pivot.Specifies how dimensions are ordered in the pivot.getOrderBysOrBuilder(int index) Specifies how dimensions are ordered in the pivot.List<? extends OrderByOrBuilder>Specifies how dimensions are ordered in the pivot.com.google.protobuf.Parser<Pivot>intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Pivot.Builderstatic Pivot.BuildernewBuilder(Pivot prototype) protected Pivot.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PivotparseDelimitedFrom(InputStream input) static PivotparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PivotparseFrom(byte[] data) static PivotparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PivotparseFrom(com.google.protobuf.ByteString data) static PivotparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PivotparseFrom(com.google.protobuf.CodedInputStream input) static PivotparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PivotparseFrom(InputStream input) static PivotparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PivotparseFrom(ByteBuffer data) static PivotparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Pivot>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FIELD_NAMES_FIELD_NUMBER
public static final int FIELD_NAMES_FIELD_NUMBER- See Also:
-
ORDER_BYS_FIELD_NUMBER
public static final int ORDER_BYS_FIELD_NUMBER- See Also:
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
METRIC_AGGREGATIONS_FIELD_NUMBER
public static final int METRIC_AGGREGATIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getFieldNamesList
public 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;- Specified by:
getFieldNamesListin interfacePivotOrBuilder- Returns:
- A list containing the fieldNames.
-
getFieldNamesCount
public 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;- Specified by:
getFieldNamesCountin interfacePivotOrBuilder- Returns:
- The count of fieldNames.
-
getFieldNames
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;- Specified by:
getFieldNamesin interfacePivotOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fieldNames at the given index.
-
getFieldNamesBytes
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;- Specified by:
getFieldNamesBytesin interfacePivotOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fieldNames at the given index.
-
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;- Specified by:
getOrderBysListin interfacePivotOrBuilder
-
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;- Specified by:
getOrderBysOrBuilderListin interfacePivotOrBuilder
-
getOrderBysCount
public 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;- Specified by:
getOrderBysCountin interfacePivotOrBuilder
-
getOrderBys
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;- Specified by:
getOrderBysin interfacePivotOrBuilder
-
getOrderBysOrBuilder
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;- Specified by:
getOrderBysOrBuilderin interfacePivotOrBuilder
-
getOffset
public long getOffset()The row count of the start row. The first row is counted as row 0.
int64 offset = 3;- Specified by:
getOffsetin interfacePivotOrBuilder- Returns:
- The offset.
-
getLimit
public 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 250,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;- Specified by:
getLimitin interfacePivotOrBuilder- Returns:
- The limit.
-
getMetricAggregationsList
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;- Specified by:
getMetricAggregationsListin interfacePivotOrBuilder- Returns:
- A list containing the metricAggregations.
-
getMetricAggregationsCount
public int getMetricAggregationsCount()Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;- Specified by:
getMetricAggregationsCountin interfacePivotOrBuilder- Returns:
- The count of metricAggregations.
-
getMetricAggregations
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;- Specified by:
getMetricAggregationsin interfacePivotOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The metricAggregations at the given index.
-
getMetricAggregationsValueList
Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.
repeated .google.analytics.data.v1beta.MetricAggregation metric_aggregations = 5;- Specified by:
getMetricAggregationsValueListin interfacePivotOrBuilder- Returns:
- A list containing the enum numeric values on the wire for metricAggregations.
-
getMetricAggregationsValue
public 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;- Specified by:
getMetricAggregationsValuein interfacePivotOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of metricAggregations at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Pivot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pivot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pivot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pivot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pivot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Pivot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Pivot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Pivot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Pivot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-