Class AccessOrderBy.DimensionOrderBy.Builder (0.56.0)

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

Sorts by dimension values.

Protobuf type google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDimensionName()

public AccessOrderBy.DimensionOrderBy.Builder clearDimensionName()

A dimension name in the request to order by.

string dimension_name = 1;

Returns
Type Description
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderType()

public AccessOrderBy.DimensionOrderBy.Builder clearOrderType()

Controls the rule for dimension value ordering.

.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;

Returns
Type Description
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AccessOrderBy.DimensionOrderBy getDefaultInstanceForType()
Returns
Type Description
AccessOrderBy.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 AccessOrderBy.DimensionOrderBy.OrderType getOrderType()

Controls the rule for dimension value ordering.

.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;

Returns
Type Description
AccessOrderBy.DimensionOrderBy.OrderType

The orderType.

getOrderTypeValue()

public int getOrderTypeValue()

Controls the rule for dimension value ordering.

.google.analytics.admin.v1beta.AccessOrderBy.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(AccessOrderBy.DimensionOrderBy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDimensionName(String value)

public AccessOrderBy.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
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

setDimensionNameBytes(ByteString value)

public AccessOrderBy.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
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOrderType(AccessOrderBy.DimensionOrderBy.OrderType value)

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

Controls the rule for dimension value ordering.

.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;

Parameter
Name Description
value AccessOrderBy.DimensionOrderBy.OrderType

The orderType to set.

Returns
Type Description
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

setOrderTypeValue(int value)

public AccessOrderBy.DimensionOrderBy.Builder setOrderTypeValue(int value)

Controls the rule for dimension value ordering.

.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;

Parameter
Name Description
value int

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

Returns
Type Description
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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