Class AccessOrderBy.MetricOrderBy.Builder (0.59.0)

public static final class AccessOrderBy.MetricOrderBy.Builder extends GeneratedMessageV3.Builder<AccessOrderBy.MetricOrderBy.Builder> implements AccessOrderBy.MetricOrderByOrBuilder

Sorts by metric values.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetricName()

public AccessOrderBy.MetricOrderBy.Builder clearMetricName()

A metric name in the request to order by.

string metric_name = 1;

Returns
Type Description
AccessOrderBy.MetricOrderBy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AccessOrderBy.MetricOrderBy getDefaultInstanceForType()
Returns
Type Description
AccessOrderBy.MetricOrderBy

getDescriptorForType()

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

getMetricName()

public String getMetricName()

A metric name in the request to order by.

string metric_name = 1;

Returns
Type Description
String

The metricName.

getMetricNameBytes()

public ByteString getMetricNameBytes()

A metric name in the request to order by.

string metric_name = 1;

Returns
Type Description
ByteString

The bytes for metricName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AccessOrderBy.MetricOrderBy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetricName(String value)

public AccessOrderBy.MetricOrderBy.Builder setMetricName(String value)

A metric name in the request to order by.

string metric_name = 1;

Parameter
Name Description
value String

The metricName to set.

Returns
Type Description
AccessOrderBy.MetricOrderBy.Builder

This builder for chaining.

setMetricNameBytes(ByteString value)

public AccessOrderBy.MetricOrderBy.Builder setMetricNameBytes(ByteString value)

A metric name in the request to order by.

string metric_name = 1;

Parameter
Name Description
value ByteString

The bytes for metricName to set.

Returns
Type Description
AccessOrderBy.MetricOrderBy.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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