Class PivotHeader (0.60.0)

public final class PivotHeader extends GeneratedMessageV3 implements PivotHeaderOrBuilder

Dimensions' values in a single pivot.

Protobuf type google.analytics.data.v1beta.PivotHeader

Static Fields

PIVOT_DIMENSION_HEADERS_FIELD_NUMBER

public static final int PIVOT_DIMENSION_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PivotHeader getDefaultInstance()
Returns
Type Description
PivotHeader

getDescriptor()

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

newBuilder()

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

newBuilder(PivotHeader prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PivotHeader getDefaultInstanceForType()
Returns
Type Description
PivotHeader

getParserForType()

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

getPivotDimensionHeaders(int index)

public PivotDimensionHeader getPivotDimensionHeaders(int index)

The size is the same as the cardinality of the corresponding dimension combinations.

repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
PivotDimensionHeader

getPivotDimensionHeadersCount()

public int getPivotDimensionHeadersCount()

The size is the same as the cardinality of the corresponding dimension combinations.

repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1;

Returns
Type Description
int

getPivotDimensionHeadersList()

public List<PivotDimensionHeader> getPivotDimensionHeadersList()

The size is the same as the cardinality of the corresponding dimension combinations.

repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1;

Returns
Type Description
List<PivotDimensionHeader>

getPivotDimensionHeadersOrBuilder(int index)

public PivotDimensionHeaderOrBuilder getPivotDimensionHeadersOrBuilder(int index)

The size is the same as the cardinality of the corresponding dimension combinations.

repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1;

Parameter
Name Description
index int
Returns
Type Description
PivotDimensionHeaderOrBuilder

getPivotDimensionHeadersOrBuilderList()

public List<? extends PivotDimensionHeaderOrBuilder> getPivotDimensionHeadersOrBuilderList()

The size is the same as the cardinality of the corresponding dimension combinations.

repeated .google.analytics.data.v1beta.PivotDimensionHeader pivot_dimension_headers = 1;

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

getRowCount()

public int getRowCount()

The cardinality of the pivot. The total number of rows for this pivot's fields regardless of how the parameters offset and limit are specified in the request.

int32 row_count = 2;

Returns
Type Description
int

The rowCount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 PivotHeader.Builder newBuilderForType()
Returns
Type Description
PivotHeader.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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