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()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.PivotOrderBy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OrderBy.PivotOrderBy build()
buildPartial()
public OrderBy.PivotOrderBy buildPartial()
clear()
public OrderBy.PivotOrderBy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public OrderBy.PivotOrderBy.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public OrderBy.PivotOrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public OrderBy.PivotOrderBy.Builder clone()
Overrides
getDefaultInstanceForType()
public OrderBy.PivotOrderBy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(OrderBy.PivotOrderBy other)
public OrderBy.PivotOrderBy.Builder mergeFrom(OrderBy.PivotOrderBy other)
public OrderBy.PivotOrderBy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OrderBy.PivotOrderBy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.PivotOrderBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.PivotOrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OrderBy.PivotOrderBy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.PivotOrderBy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides