Class OrderBy.PivotOrderBy.PivotSelection (0.25.0)

public static final class OrderBy.PivotOrderBy.PivotSelection extends GeneratedMessageV3 implements OrderBy.PivotOrderBy.PivotSelectionOrBuilder

A pair of dimension names and values. Rows with this dimension pivot pair are ordered by the metric's value. For example if pivots = {{"browser", "Chrome"}} and metric_name = "Sessions",

then the rows will be sorted based on Sessions in Chrome.
Chrome
---------
Country
---------
US
---------
Canada
---------

Protobuf type google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OrderBy.PivotOrderBy.PivotSelection

Static Fields

DIMENSION_NAME_FIELD_NUMBER

public static final int DIMENSION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

DIMENSION_VALUE_FIELD_NUMBER

public static final int DIMENSION_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OrderBy.PivotOrderBy.PivotSelection getDefaultInstance()
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection

getDescriptor()

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

newBuilder()

public static OrderBy.PivotOrderBy.PivotSelection.Builder newBuilder()
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection.Builder

newBuilder(OrderBy.PivotOrderBy.PivotSelection prototype)

public static OrderBy.PivotOrderBy.PivotSelection.Builder newBuilder(OrderBy.PivotOrderBy.PivotSelection prototype)
Parameter
NameDescription
prototypeOrderBy.PivotOrderBy.PivotSelection
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection.Builder

parseDelimitedFrom(InputStream input)

public static OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OrderBy.PivotOrderBy.PivotSelection> parser()
Returns
TypeDescription
Parser<PivotSelection>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OrderBy.PivotOrderBy.PivotSelection getDefaultInstanceForType()
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection

getDimensionName()

public String getDimensionName()

Must be a dimension name from the request.

string dimension_name = 1;

Returns
TypeDescription
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

Must be a dimension name from the request.

string dimension_name = 1;

Returns
TypeDescription
ByteString

The bytes for dimensionName.

getDimensionValue()

public String getDimensionValue()

Order by only when the named dimension is this value.

string dimension_value = 2;

Returns
TypeDescription
String

The dimensionValue.

getDimensionValueBytes()

public ByteString getDimensionValueBytes()

Order by only when the named dimension is this value.

string dimension_value = 2;

Returns
TypeDescription
ByteString

The bytes for dimensionValue.

getParserForType()

public Parser<OrderBy.PivotOrderBy.PivotSelection> getParserForType()
Returns
TypeDescription
Parser<PivotSelection>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 OrderBy.PivotOrderBy.PivotSelection.Builder newBuilderForType()
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OrderBy.PivotOrderBy.PivotSelection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public OrderBy.PivotOrderBy.PivotSelection.Builder toBuilder()
Returns
TypeDescription
OrderBy.PivotOrderBy.PivotSelection.Builder

writeTo(CodedOutputStream output)

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