Interface OrderBy.PivotOrderByOrBuilder (0.54.0)

public static interface OrderBy.PivotOrderByOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetricName()

public abstract String getMetricName()

In the response to order by, order rows by this column. Must be a metric name from the request.

string metric_name = 1;

Returns
Type Description
String

The metricName.

getMetricNameBytes()

public abstract ByteString getMetricNameBytes()

In the response to order by, order rows by this column. Must be a metric name from the request.

string metric_name = 1;

Returns
Type Description
ByteString

The bytes for metricName.

getPivotSelections(int index)

public abstract OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index)

Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.

repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;

Parameter
Name Description
index int
Returns
Type Description
OrderBy.PivotOrderBy.PivotSelection

getPivotSelectionsCount()

public abstract int getPivotSelectionsCount()

Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.

repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;

Returns
Type Description
int

getPivotSelectionsList()

public abstract List<OrderBy.PivotOrderBy.PivotSelection> getPivotSelectionsList()

Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.

repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;

Returns
Type Description
List<PivotSelection>

getPivotSelectionsOrBuilder(int index)

public abstract OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder(int index)

Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.

repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;

Parameter
Name Description
index int
Returns
Type Description
OrderBy.PivotOrderBy.PivotSelectionOrBuilder

getPivotSelectionsOrBuilderList()

public abstract List<? extends OrderBy.PivotOrderBy.PivotSelectionOrBuilder> getPivotSelectionsOrBuilderList()

Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.

repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;

Returns
Type Description
List<? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>