Interface OrderBy.PivotOrderByOrBuilder (0.48.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelectionOrBuilder>