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