Class AccessOrderBy.MetricOrderBy.Builder (0.38.0)

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.MetricOrderBy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

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

buildPartial()

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

clear()

public AccessOrderBy.MetricOrderBy.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public AccessOrderBy.MetricOrderBy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearMetricName()

public AccessOrderBy.MetricOrderBy.Builder clearMetricName()

A metric name in the request to order by.

string metric_name = 1;

Returns
TypeDescription
AccessOrderBy.MetricOrderBy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessOrderBy.MetricOrderBy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clone()

public AccessOrderBy.MetricOrderBy.Builder clone()
Overrides

getDefaultInstanceForType()

public AccessOrderBy.MetricOrderBy getDefaultInstanceForType()
Returns
TypeDescription
AccessOrderBy.MetricOrderBy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMetricName()

public String getMetricName()

A metric name in the request to order by.

string metric_name = 1;

Returns
TypeDescription
String

The metricName.

getMetricNameBytes()

public ByteString getMetricNameBytes()

A metric name in the request to order by.

string metric_name = 1;

Returns
TypeDescription
ByteString

The bytes for metricName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AccessOrderBy.MetricOrderBy other)

public AccessOrderBy.MetricOrderBy.Builder mergeFrom(AccessOrderBy.MetricOrderBy other)
Parameter
NameDescription
otherAccessOrderBy.MetricOrderBy

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessOrderBy.MetricOrderBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AccessOrderBy.MetricOrderBy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueString

The metricName to set.

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

The bytes for metricName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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