Class PivotHeader (0.32.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
TypeDescription
int

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PivotHeader getDefaultInstance()
Returns
TypeDescription
PivotHeader

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PivotHeader.Builder newBuilder()
Returns
TypeDescription
PivotHeader.Builder

newBuilder(PivotHeader prototype)

public static PivotHeader.Builder newBuilder(PivotHeader prototype)
Parameter
NameDescription
prototypePivotHeader
Returns
TypeDescription
PivotHeader.Builder

parseDelimitedFrom(InputStream input)

public static PivotHeader parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PivotHeader parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PivotHeader parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PivotHeader parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PivotHeader parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PivotHeader parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PivotHeader parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PivotHeader parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PivotHeader parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PivotHeader parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PivotHeader parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PivotHeader parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PivotHeader
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PivotHeader> parser()
Returns
TypeDescription
Parser<PivotHeader>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PivotHeader getDefaultInstanceForType()
Returns
TypeDescription
PivotHeader

getParserForType()

public Parser<PivotHeader> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The rowCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PivotHeader.Builder newBuilderForType()
Returns
TypeDescription
PivotHeader.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PivotHeader.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PivotHeader.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PivotHeader.Builder toBuilder()
Returns
TypeDescription
PivotHeader.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException