Class AccessOrderBy.DimensionOrderBy.Builder (0.17.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.v1alpha.AccessOrderBy.DimensionOrderBy

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDimensionName()

public AccessOrderBy.DimensionOrderBy.Builder clearDimensionName()

A dimension name in the request to order by.

string dimension_name = 1;

Returns
TypeDescription
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderType()

public AccessOrderBy.DimensionOrderBy.Builder clearOrderType()

Controls the rule for dimension value ordering.

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

Returns
TypeDescription
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

Controls the rule for dimension value ordering.

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

Returns
TypeDescription
AccessOrderBy.DimensionOrderBy.OrderType

The orderType.

getOrderTypeValue()

public int getOrderTypeValue()

Controls the rule for dimension value ordering.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The dimensionName to set.

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

The bytes for dimensionName to set.

Returns
TypeDescription
AccessOrderBy.DimensionOrderBy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AccessOrderBy.DimensionOrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;

Parameter
NameDescription
valueAccessOrderBy.DimensionOrderBy.OrderType

The orderType to set.

Returns
TypeDescription
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.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2;

Parameter
NameDescription
valueint

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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