Class AccessOrderBy.MetricOrderBy (0.32.0)

public static final class AccessOrderBy.MetricOrderBy extends GeneratedMessageV3 implements AccessOrderBy.MetricOrderByOrBuilder

Sorts by metric values.

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

Static Fields

METRIC_NAME_FIELD_NUMBER

public static final int METRIC_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AccessOrderBy.MetricOrderBy getDefaultInstance()
Returns
TypeDescription
AccessOrderBy.MetricOrderBy

getDescriptor()

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

newBuilder()

public static AccessOrderBy.MetricOrderBy.Builder newBuilder()
Returns
TypeDescription
AccessOrderBy.MetricOrderBy.Builder

newBuilder(AccessOrderBy.MetricOrderBy prototype)

public static AccessOrderBy.MetricOrderBy.Builder newBuilder(AccessOrderBy.MetricOrderBy prototype)
Parameter
NameDescription
prototypeAccessOrderBy.MetricOrderBy
Returns
TypeDescription
AccessOrderBy.MetricOrderBy.Builder

parseDelimitedFrom(InputStream input)

public static AccessOrderBy.MetricOrderBy parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy.MetricOrderBy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AccessOrderBy.MetricOrderBy parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy.MetricOrderBy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccessOrderBy.MetricOrderBy parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy.MetricOrderBy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccessOrderBy.MetricOrderBy parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy.MetricOrderBy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AccessOrderBy.MetricOrderBy parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy.MetricOrderBy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AccessOrderBy.MetricOrderBy parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy.MetricOrderBy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessOrderBy.MetricOrderBy
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AccessOrderBy.MetricOrderBy> parser()
Returns
TypeDescription
Parser<MetricOrderBy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<AccessOrderBy.MetricOrderBy> getParserForType()
Returns
TypeDescription
Parser<MetricOrderBy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AccessOrderBy.MetricOrderBy.Builder newBuilderForType()
Returns
TypeDescription
AccessOrderBy.MetricOrderBy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccessOrderBy.MetricOrderBy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AccessOrderBy.MetricOrderBy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AccessOrderBy.MetricOrderBy.Builder toBuilder()
Returns
TypeDescription
AccessOrderBy.MetricOrderBy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException