Class OrderBy.DimensionOrderBy.Builder (0.64.0)

public static final class OrderBy.DimensionOrderBy.Builder extends GeneratedMessageV3.Builder<OrderBy.DimensionOrderBy.Builder> implements OrderBy.DimensionOrderByOrBuilder

Sorts by dimension values.

Protobuf type google.analytics.data.v1beta.OrderBy.DimensionOrderBy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrderBy.DimensionOrderBy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

build()

public OrderBy.DimensionOrderBy build()
Returns
Type Description
OrderBy.DimensionOrderBy

buildPartial()

public OrderBy.DimensionOrderBy buildPartial()
Returns
Type Description
OrderBy.DimensionOrderBy

clear()

public OrderBy.DimensionOrderBy.Builder clear()
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

clearDimensionName()

public OrderBy.DimensionOrderBy.Builder clearDimensionName()

A dimension name in the request to order by.

string dimension_name = 1;

Returns
Type Description
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OrderBy.DimensionOrderBy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OrderBy.DimensionOrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

clearOrderType()

public OrderBy.DimensionOrderBy.Builder clearOrderType()

Controls the rule for dimension value ordering.

.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2;

Returns
Type Description
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

clone()

public OrderBy.DimensionOrderBy.Builder clone()
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

getDefaultInstanceForType()

public OrderBy.DimensionOrderBy getDefaultInstanceForType()
Returns
Type Description
OrderBy.DimensionOrderBy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDimensionName()

public String getDimensionName()

A dimension name in the request to order by.

string dimension_name = 1;

Returns
Type Description
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

A dimension name in the request to order by.

string dimension_name = 1;

Returns
Type Description
ByteString

The bytes for dimensionName.

getOrderType()

public OrderBy.DimensionOrderBy.OrderType getOrderType()

Controls the rule for dimension value ordering.

.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2;

Returns
Type Description
OrderBy.DimensionOrderBy.OrderType

The orderType.

getOrderTypeValue()

public int getOrderTypeValue()

Controls the rule for dimension value ordering.

.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for orderType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OrderBy.DimensionOrderBy other)

public OrderBy.DimensionOrderBy.Builder mergeFrom(OrderBy.DimensionOrderBy other)
Parameter
Name Description
other OrderBy.DimensionOrderBy
Returns
Type Description
OrderBy.DimensionOrderBy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OrderBy.DimensionOrderBy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OrderBy.DimensionOrderBy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrderBy.DimensionOrderBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

setDimensionName(String value)

public OrderBy.DimensionOrderBy.Builder setDimensionName(String value)

A dimension name in the request to order by.

string dimension_name = 1;

Parameter
Name Description
value String

The dimensionName to set.

Returns
Type Description
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

setDimensionNameBytes(ByteString value)

public OrderBy.DimensionOrderBy.Builder setDimensionNameBytes(ByteString value)

A dimension name in the request to order by.

string dimension_name = 1;

Parameter
Name Description
value ByteString

The bytes for dimensionName to set.

Returns
Type Description
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OrderBy.DimensionOrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

setOrderType(OrderBy.DimensionOrderBy.OrderType value)

public OrderBy.DimensionOrderBy.Builder setOrderType(OrderBy.DimensionOrderBy.OrderType value)

Controls the rule for dimension value ordering.

.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2;

Parameter
Name Description
value OrderBy.DimensionOrderBy.OrderType

The orderType to set.

Returns
Type Description
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

setOrderTypeValue(int value)

public OrderBy.DimensionOrderBy.Builder setOrderTypeValue(int value)

Controls the rule for dimension value ordering.

.google.analytics.data.v1beta.OrderBy.DimensionOrderBy.OrderType order_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for orderType to set.

Returns
Type Description
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

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

public OrderBy.DimensionOrderBy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OrderBy.DimensionOrderBy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrderBy.DimensionOrderBy.Builder
Overrides