Class AccessOrderBy.DimensionOrderBy.Builder (0.47.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
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()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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