public static final class OrderBy.PivotOrderBy.Builder extends GeneratedMessageV3.Builder<OrderBy.PivotOrderBy.Builder> implements OrderBy.PivotOrderByOrBuilder
Sorts by a pivot column group.
Protobuf type google.analytics.data.v1beta.OrderBy.PivotOrderBy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllPivotSelections(Iterable<? extends OrderBy.PivotOrderBy.PivotSelection> values)
public OrderBy.PivotOrderBy.Builder addAllPivotSelections(Iterable<? extends OrderBy.PivotOrderBy.PivotSelection> values)
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 |
values | Iterable<? extends com.google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection>
|
Returns
addPivotSelections(OrderBy.PivotOrderBy.PivotSelection value)
public OrderBy.PivotOrderBy.Builder addPivotSelections(OrderBy.PivotOrderBy.PivotSelection value)
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
Returns
addPivotSelections(OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue)
public OrderBy.PivotOrderBy.Builder addPivotSelections(OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue)
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
Returns
addPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection value)
public OrderBy.PivotOrderBy.Builder addPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection value)
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;
Parameters
Returns
addPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue)
public OrderBy.PivotOrderBy.Builder addPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue)
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;
Parameters
Returns
addPivotSelectionsBuilder()
public OrderBy.PivotOrderBy.PivotSelection.Builder addPivotSelectionsBuilder()
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
addPivotSelectionsBuilder(int index)
public OrderBy.PivotOrderBy.PivotSelection.Builder addPivotSelectionsBuilder(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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.PivotOrderBy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public OrderBy.PivotOrderBy build()
Returns
buildPartial()
public OrderBy.PivotOrderBy buildPartial()
Returns
clear()
public OrderBy.PivotOrderBy.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public OrderBy.PivotOrderBy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMetricName()
public OrderBy.PivotOrderBy.Builder clearMetricName()
In the response to order by, order rows by this column. Must be a metric
name from the request.
string metric_name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public OrderBy.PivotOrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPivotSelections()
public OrderBy.PivotOrderBy.Builder clearPivotSelections()
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
clone()
public OrderBy.PivotOrderBy.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public OrderBy.PivotOrderBy getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMetricName()
public 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 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 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
Returns
getPivotSelectionsBuilder(int index)
public OrderBy.PivotOrderBy.PivotSelection.Builder getPivotSelectionsBuilder(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
Returns
getPivotSelectionsBuilderList()
public List<OrderBy.PivotOrderBy.PivotSelection.Builder> getPivotSelectionsBuilderList()
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
getPivotSelectionsCount()
public 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
getPivotSelectionsList()
public 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
getPivotSelectionsOrBuilder(int index)
public 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
Returns
getPivotSelectionsOrBuilderList()
public 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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(OrderBy.PivotOrderBy other)
public OrderBy.PivotOrderBy.Builder mergeFrom(OrderBy.PivotOrderBy other)
Parameter
Returns
public OrderBy.PivotOrderBy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OrderBy.PivotOrderBy.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.PivotOrderBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePivotSelections(int index)
public OrderBy.PivotOrderBy.Builder removePivotSelections(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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.PivotOrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMetricName(String value)
public OrderBy.PivotOrderBy.Builder setMetricName(String value)
In the response to order by, order rows by this column. Must be a metric
name from the request.
string metric_name = 1;
Parameter
Name | Description |
value | String
The metricName to set.
|
Returns
setMetricNameBytes(ByteString value)
public OrderBy.PivotOrderBy.Builder setMetricNameBytes(ByteString value)
In the response to order by, order rows by this column. Must be a metric
name from the request.
string metric_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for metricName to set.
|
Returns
setPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection value)
public OrderBy.PivotOrderBy.Builder setPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection value)
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;
Parameters
Returns
setPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue)
public OrderBy.PivotOrderBy.Builder setPivotSelections(int index, OrderBy.PivotOrderBy.PivotSelection.Builder builderForValue)
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OrderBy.PivotOrderBy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.PivotOrderBy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides