Class AccessOrderBy.Builder (0.17.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessOrderBy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessOrderBy.Builder
Overrides

build()

public AccessOrderBy build()
Returns
TypeDescription
AccessOrderBy

buildPartial()

public AccessOrderBy buildPartial()
Returns
TypeDescription
AccessOrderBy

clear()

public AccessOrderBy.Builder clear()
Returns
TypeDescription
AccessOrderBy.Builder
Overrides

clearDesc()

public AccessOrderBy.Builder clearDesc()

If true, sorts by descending order. If false or unspecified, sorts in ascending order.

bool desc = 3;

Returns
TypeDescription
AccessOrderBy.Builder

This builder for chaining.

clearDimension()

public AccessOrderBy.Builder clearDimension()

Sorts results by a dimension's values.

.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
TypeDescription
AccessOrderBy.Builder

clearField(Descriptors.FieldDescriptor field)

public AccessOrderBy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccessOrderBy.Builder
Overrides

clearMetric()

public AccessOrderBy.Builder clearMetric()

Sorts results by a metric's values.

.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;

Returns
TypeDescription
AccessOrderBy.Builder

clearOneOrderBy()

public AccessOrderBy.Builder clearOneOrderBy()
Returns
TypeDescription
AccessOrderBy.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessOrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccessOrderBy.Builder
Overrides

clone()

public AccessOrderBy.Builder clone()
Returns
TypeDescription
AccessOrderBy.Builder
Overrides

getDefaultInstanceForType()

public AccessOrderBy getDefaultInstanceForType()
Returns
TypeDescription
AccessOrderBy

getDesc()

public boolean getDesc()

If true, sorts by descending order. If false or unspecified, sorts in ascending order.

bool desc = 3;

Returns
TypeDescription
boolean

The desc.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimension()

public AccessOrderBy.DimensionOrderBy getDimension()

Sorts results by a dimension's values.

.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
TypeDescription
AccessOrderBy.DimensionOrderBy

The dimension.

getDimensionBuilder()

public AccessOrderBy.DimensionOrderBy.Builder getDimensionBuilder()

Sorts results by a dimension's values.

.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
TypeDescription
AccessOrderBy.DimensionOrderBy.Builder

getDimensionOrBuilder()

public AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder()

Sorts results by a dimension's values.

.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
TypeDescription
AccessOrderBy.DimensionOrderByOrBuilder

getMetric()

public AccessOrderBy.MetricOrderBy getMetric()

Sorts results by a metric's values.

.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;

Returns
TypeDescription
AccessOrderBy.MetricOrderBy

The metric.

getMetricBuilder()

public AccessOrderBy.MetricOrderBy.Builder getMetricBuilder()

Sorts results by a metric's values.

.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;

Returns
TypeDescription
AccessOrderBy.MetricOrderBy.Builder

getMetricOrBuilder()

public AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder()

Sorts results by a metric's values.

.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;

Returns
TypeDescription
AccessOrderBy.MetricOrderByOrBuilder

getOneOrderByCase()

public AccessOrderBy.OneOrderByCase getOneOrderByCase()
Returns
TypeDescription
AccessOrderBy.OneOrderByCase

hasDimension()

public boolean hasDimension()

Sorts results by a dimension's values.

.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metric field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
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
NameDescription
valueAccessOrderBy.DimensionOrderBy
Returns
TypeDescription
AccessOrderBy.Builder

mergeFrom(AccessOrderBy other)

public AccessOrderBy.Builder mergeFrom(AccessOrderBy other)
Parameter
NameDescription
otherAccessOrderBy
Returns
TypeDescription
AccessOrderBy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessOrderBy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessOrderBy.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccessOrderBy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AccessOrderBy.Builder
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
NameDescription
valueAccessOrderBy.MetricOrderBy
Returns
TypeDescription
AccessOrderBy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessOrderBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessOrderBy.Builder
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
NameDescription
valueboolean

The desc to set.

Returns
TypeDescription
AccessOrderBy.Builder

This builder for chaining.

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
NameDescription
valueAccessOrderBy.DimensionOrderBy
Returns
TypeDescription
AccessOrderBy.Builder

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
NameDescription
builderForValueAccessOrderBy.DimensionOrderBy.Builder
Returns
TypeDescription
AccessOrderBy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AccessOrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessOrderBy.Builder
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
NameDescription
valueAccessOrderBy.MetricOrderBy
Returns
TypeDescription
AccessOrderBy.Builder

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
NameDescription
builderForValueAccessOrderBy.MetricOrderBy.Builder
Returns
TypeDescription
AccessOrderBy.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccessOrderBy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccessOrderBy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessOrderBy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessOrderBy.Builder
Overrides