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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public OrderBy buildPartial()
clear()
public OrderBy.Builder clear()
Overrides
clearDesc()
public OrderBy.Builder clearDesc()
If true, sorts by descending order.
bool desc = 4;
clearDimension()
public OrderBy.Builder clearDimension()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
clearField(Descriptors.FieldDescriptor field)
public OrderBy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetric()
public OrderBy.Builder clearMetric()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
clearOneOrderBy()
public OrderBy.Builder clearOneOrderBy()
clearOneof(Descriptors.OneofDescriptor oneof)
public OrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public OrderBy.Builder clone()
Overrides
getDefaultInstanceForType()
public OrderBy getDefaultInstanceForType()
getDesc()
If true, sorts by descending order.
bool desc = 4;
Returns |
Type |
Description |
boolean |
The desc.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDimension()
public OrderBy.DimensionOrderBy getDimension()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
getDimensionBuilder()
public OrderBy.DimensionOrderBy.Builder getDimensionBuilder()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
getDimensionOrBuilder()
public OrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder()
Sorts results by a dimension's values.
.google.analytics.data.v1beta.OrderBy.DimensionOrderBy dimension = 2;
getMetric()
public OrderBy.MetricOrderBy getMetric()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
getMetricBuilder()
public OrderBy.MetricOrderBy.Builder getMetricBuilder()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
getMetricOrBuilder()
public OrderBy.MetricOrderByOrBuilder getMetricOrBuilder()
Sorts results by a metric's values.
.google.analytics.data.v1beta.OrderBy.MetricOrderBy metric = 1;
getOneOrderByCase()
public OrderBy.OneOrderByCase getOneOrderByCase()
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(OrderBy other)
public OrderBy.Builder mergeFrom(OrderBy other)
Parameter |
Name |
Description |
other |
OrderBy
|
public OrderBy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OrderBy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public OrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OrderBy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OrderBy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides