public static final class OrderBy.Builder extends GeneratedMessageV3.Builder<OrderBy.Builder> implements OrderByOrBuilder
Order bys define how rows will be sorted in the response. For example,
ordering rows by descending event count is one ordering, and ordering rows by
the event name string is a different ordering.
Protobuf type google.analytics.data.v1beta.OrderBy
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public OrderBy buildPartial()
Returns
clear()
public OrderBy.Builder clear()
Returns
Overrides
clearDesc()
public OrderBy.Builder clearDesc()
If true, sorts by descending order.
bool desc = 4;
Returns
clearDimension()
public OrderBy.Builder clearDimension()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public OrderBy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMetric()
public OrderBy.Builder clearMetric()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Returns
clearOneOrderBy()
public OrderBy.Builder clearOneOrderBy()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public OrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPivot()
public OrderBy.Builder clearPivot()
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Returns
clone()
public OrderBy.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public OrderBy getDefaultInstanceForType()
Returns
getDesc()
If true, sorts by descending order.
bool desc = 4;
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDimension()
public OrderBy.DimensionOrderBy getDimension()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Returns
getDimensionBuilder()
public OrderBy.DimensionOrderBy.Builder getDimensionBuilder()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Returns
getDimensionOrBuilder()
public OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Returns
getMetric()
public OrderBy.MetricOrderBy getMetric()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Returns
getMetricBuilder()
public OrderBy.MetricOrderBy.Builder getMetricBuilder()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Returns
getMetricOrBuilder()
public OrderBy.MetricOrderByOrBuilder getMetricOrBuilder()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Returns
getOneOrderByCase()
public OrderBy.OneOrderByCase getOneOrderByCase()
Returns
getPivot()
public OrderBy.PivotOrderBy getPivot()
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Returns
getPivotBuilder()
public OrderBy.PivotOrderBy.Builder getPivotBuilder()
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Returns
getPivotOrBuilder()
public OrderBy.PivotOrderByOrBuilder getPivotOrBuilder()
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Returns
hasDimension()
public boolean hasDimension()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Returns
Type | Description |
boolean | Whether the dimension field is set.
|
hasMetric()
public boolean hasMetric()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Returns
Type | Description |
boolean | Whether the metric field is set.
|
hasPivot()
public boolean hasPivot()
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Returns
Type | Description |
boolean | Whether the pivot field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDimension(OrderBy.DimensionOrderBy value)
public OrderBy.Builder mergeDimension(OrderBy.DimensionOrderBy value)
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Parameter
Returns
mergeFrom(OrderBy other)
public OrderBy.Builder mergeFrom(OrderBy other)
Parameter
Returns
public OrderBy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OrderBy.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMetric(OrderBy.MetricOrderBy value)
public OrderBy.Builder mergeMetric(OrderBy.MetricOrderBy value)
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Parameter
Returns
mergePivot(OrderBy.PivotOrderBy value)
public OrderBy.Builder mergePivot(OrderBy.PivotOrderBy value)
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDesc(boolean value)
public OrderBy.Builder setDesc(boolean value)
If true, sorts by descending order.
bool desc = 4;
Parameter
Name | Description |
value | boolean
The desc to set.
|
Returns
setDimension(OrderBy.DimensionOrderBy value)
public OrderBy.Builder setDimension(OrderBy.DimensionOrderBy value)
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Parameter
Returns
setDimension(OrderBy.DimensionOrderBy.Builder builderForValue)
public OrderBy.Builder setDimension(OrderBy.DimensionOrderBy.Builder builderForValue)
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMetric(OrderBy.MetricOrderBy value)
public OrderBy.Builder setMetric(OrderBy.MetricOrderBy value)
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Parameter
Returns
setMetric(OrderBy.MetricOrderBy.Builder builderForValue)
public OrderBy.Builder setMetric(OrderBy.MetricOrderBy.Builder builderForValue)
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
Parameter
Returns
setPivot(OrderBy.PivotOrderBy value)
public OrderBy.Builder setPivot(OrderBy.PivotOrderBy value)
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Parameter
Returns
setPivot(OrderBy.PivotOrderBy.Builder builderForValue)
public OrderBy.Builder setPivot(OrderBy.PivotOrderBy.Builder builderForValue)
Sorts results by a metric's values within a pivot column group.
.google.analytics.data.v1beta.OrderBy.PivotOrderBy pivot = 3;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OrderBy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides