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 | Chrome | Safari | Safari
---------|----------|----------------|----------|----------------
Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions
---------|----------|----------------|----------|----------------
US | 2 | 2 | 3 | 1
---------|----------|----------------|----------|----------------
Canada | 3 | 1 | 4 | 1
---------|----------|----------------|----------|----------------
Protobuf type google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DIMENSION_NAME_FIELD_NUMBER
public static final int DIMENSION_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIMENSION_VALUE_FIELD_NUMBER
public static final int DIMENSION_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static OrderBy.PivotOrderBy.PivotSelection getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OrderBy.PivotOrderBy.PivotSelection.Builder newBuilder()
newBuilder(OrderBy.PivotOrderBy.PivotSelection prototype)
public static OrderBy.PivotOrderBy.PivotSelection.Builder newBuilder(OrderBy.PivotOrderBy.PivotSelection prototype)
public static OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(InputStream input)
public static OrderBy.PivotOrderBy.PivotSelection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(CodedInputStream input)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(InputStream input)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrderBy.PivotOrderBy.PivotSelection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OrderBy.PivotOrderBy.PivotSelection> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public OrderBy.PivotOrderBy.PivotSelection getDefaultInstanceForType()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OrderBy.PivotOrderBy.PivotSelection.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OrderBy.PivotOrderBy.PivotSelection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public OrderBy.PivotOrderBy.PivotSelection.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides