Class OrderBy.DimensionOrderBy.Builder (0.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OrderBy.DimensionOrderBy build()
Returns
TypeDescription
OrderBy.DimensionOrderBy

buildPartial()

public OrderBy.DimensionOrderBy buildPartial()
Returns
TypeDescription
OrderBy.DimensionOrderBy

clear()

public OrderBy.DimensionOrderBy.Builder clear()
Returns
TypeDescription
OrderBy.DimensionOrderBy.Builder
Overrides

clearDimensionName()

public OrderBy.DimensionOrderBy.Builder clearDimensionName()

A dimension name in the request to order by.

string dimension_name = 1;

Returns
TypeDescription
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public OrderBy.DimensionOrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

clone()

public OrderBy.DimensionOrderBy.Builder clone()
Returns
TypeDescription
OrderBy.DimensionOrderBy.Builder
Overrides

getDefaultInstanceForType()

public OrderBy.DimensionOrderBy getDefaultInstanceForType()
Returns
TypeDescription
OrderBy.DimensionOrderBy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionName()

public String getDimensionName()

A dimension name in the request to order by.

string dimension_name = 1;

Returns
TypeDescription
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

A dimension name in the request to order by.

string dimension_name = 1;

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

The enum numeric value on the wire for orderType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OrderBy.DimensionOrderBy other)

public OrderBy.DimensionOrderBy.Builder mergeFrom(OrderBy.DimensionOrderBy other)
Parameter
NameDescription
otherOrderBy.DimensionOrderBy
Returns
TypeDescription
OrderBy.DimensionOrderBy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public OrderBy.DimensionOrderBy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OrderBy.DimensionOrderBy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The dimensionName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dimensionName to set.

Returns
TypeDescription
OrderBy.DimensionOrderBy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OrderBy.DimensionOrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueOrderBy.DimensionOrderBy.OrderType

The orderType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OrderBy.DimensionOrderBy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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