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
Static Fields
DIMENSION_NAME_FIELD_NUMBER
public static final int DIMENSION_NAME_FIELD_NUMBER
Field Value
DIMENSION_VALUE_FIELD_NUMBER
public static final int DIMENSION_VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static OrderBy.PivotOrderBy.PivotSelection getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static OrderBy.PivotOrderBy.PivotSelection.Builder newBuilder()
Returns
newBuilder(OrderBy.PivotOrderBy.PivotSelection prototype)
public static OrderBy.PivotOrderBy.PivotSelection.Builder newBuilder(OrderBy.PivotOrderBy.PivotSelection prototype)
Parameter
Returns
public static OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<OrderBy.PivotOrderBy.PivotSelection> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public OrderBy.PivotOrderBy.PivotSelection getDefaultInstanceForType()
Returns
getDimensionName()
public String getDimensionName()
Must be a dimension name from the request.
string dimension_name = 1;
Returns
Type | Description |
String | The dimensionName.
|
getDimensionNameBytes()
public ByteString getDimensionNameBytes()
Must be a dimension name from the request.
string dimension_name = 1;
Returns
Type | Description |
ByteString | The bytes for dimensionName.
|
getDimensionValue()
public String getDimensionValue()
Order by only when the named dimension is this value.
string dimension_value = 2;
Returns
Type | Description |
String | The dimensionValue.
|
getDimensionValueBytes()
public ByteString getDimensionValueBytes()
Order by only when the named dimension is this value.
string dimension_value = 2;
Returns
Type | Description |
ByteString | The bytes for dimensionValue.
|
getParserForType()
public Parser<OrderBy.PivotOrderBy.PivotSelection> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public OrderBy.PivotOrderBy.PivotSelection.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OrderBy.PivotOrderBy.PivotSelection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public OrderBy.PivotOrderBy.PivotSelection.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions