Class AccessOrderBy (0.55.0)

public final class AccessOrderBy extends GeneratedMessageV3 implements AccessOrderByOrBuilder

Order bys define how rows will be sorted in the response. For example, ordering rows by descending access count is one ordering, and ordering rows by the country string is a different ordering.

Protobuf type google.analytics.admin.v1beta.AccessOrderBy

Static Fields

DESC_FIELD_NUMBER

public static final int DESC_FIELD_NUMBER
Field Value
Type Description
int

DIMENSION_FIELD_NUMBER

public static final int DIMENSION_FIELD_NUMBER
Field Value
Type Description
int

METRIC_FIELD_NUMBER

public static final int METRIC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccessOrderBy getDefaultInstance()
Returns
Type Description
AccessOrderBy

getDescriptor()

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

newBuilder()

public static AccessOrderBy.Builder newBuilder()
Returns
Type Description
AccessOrderBy.Builder

newBuilder(AccessOrderBy prototype)

public static AccessOrderBy.Builder newBuilder(AccessOrderBy prototype)
Parameter
Name Description
prototype AccessOrderBy
Returns
Type Description
AccessOrderBy.Builder

parseDelimitedFrom(InputStream input)

public static AccessOrderBy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AccessOrderBy parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccessOrderBy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccessOrderBy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AccessOrderBy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AccessOrderBy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccessOrderBy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessOrderBy
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AccessOrderBy> parser()
Returns
Type Description
Parser<AccessOrderBy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AccessOrderBy getDefaultInstanceForType()
Returns
Type Description
AccessOrderBy

getDesc()

public boolean getDesc()

If true, sorts by descending order. If false or unspecified, sorts in ascending order.

bool desc = 3;

Returns
Type Description
boolean

The desc.

getDimension()

public AccessOrderBy.DimensionOrderBy getDimension()

Sorts results by a dimension's values.

.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
Type Description
AccessOrderBy.DimensionOrderBy

The dimension.

getDimensionOrBuilder()

public AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder()

Sorts results by a dimension's values.

.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
Type Description
AccessOrderBy.DimensionOrderByOrBuilder

getMetric()

public AccessOrderBy.MetricOrderBy getMetric()

Sorts results by a metric's values.

.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1;

Returns
Type Description
AccessOrderBy.MetricOrderBy

The metric.

getMetricOrBuilder()

public AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder()

Sorts results by a metric's values.

.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1;

Returns
Type Description
AccessOrderBy.MetricOrderByOrBuilder

getOneOrderByCase()

public AccessOrderBy.OneOrderByCase getOneOrderByCase()
Returns
Type Description
AccessOrderBy.OneOrderByCase

getParserForType()

public Parser<AccessOrderBy> getParserForType()
Returns
Type Description
Parser<AccessOrderBy>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDimension()

public boolean hasDimension()

Sorts results by a dimension's values.

.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2;

Returns
Type Description
boolean

Whether the dimension field is set.

hasMetric()

public boolean hasMetric()

Sorts results by a metric's values.

.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1;

Returns
Type Description
boolean

Whether the metric field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AccessOrderBy.Builder newBuilderForType()
Returns
Type Description
AccessOrderBy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccessOrderBy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AccessOrderBy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AccessOrderBy.Builder toBuilder()
Returns
Type Description
AccessOrderBy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException