Class AccessOrderBy (0.34.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.v1alpha.AccessOrderBy

Static Fields

DESC_FIELD_NUMBER

public static final int DESC_FIELD_NUMBER
Field Value
TypeDescription
int

DIMENSION_FIELD_NUMBER

public static final int DIMENSION_FIELD_NUMBER
Field Value
TypeDescription
int

METRIC_FIELD_NUMBER

public static final int METRIC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AccessOrderBy getDefaultInstance()
Returns
TypeDescription
AccessOrderBy

getDescriptor()

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

newBuilder()

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

newBuilder(AccessOrderBy prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AccessOrderBy getDefaultInstanceForType()
Returns
TypeDescription
AccessOrderBy

getDesc()

public boolean getDesc()

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

bool desc = 3;

Returns
TypeDescription
boolean

The desc.

getDimension()

public AccessOrderBy.DimensionOrderBy getDimension()

Sorts results by a dimension's values.

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

Returns
TypeDescription
AccessOrderBy.DimensionOrderBy

The dimension.

getDimensionOrBuilder()

public AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder()

Sorts results by a dimension's values.

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

Returns
TypeDescription
AccessOrderBy.DimensionOrderByOrBuilder

getMetric()

public AccessOrderBy.MetricOrderBy getMetric()

Sorts results by a metric's values.

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

Returns
TypeDescription
AccessOrderBy.MetricOrderBy

The metric.

getMetricOrBuilder()

public AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder()

Sorts results by a metric's values.

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

Returns
TypeDescription
AccessOrderBy.MetricOrderByOrBuilder

getOneOrderByCase()

public AccessOrderBy.OneOrderByCase getOneOrderByCase()
Returns
TypeDescription
AccessOrderBy.OneOrderByCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDimension()

public boolean hasDimension()

Sorts results by a dimension's values.

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

Returns
TypeDescription
boolean

Whether the dimension field is set.

hasMetric()

public boolean hasMetric()

Sorts results by a metric's values.

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

Returns
TypeDescription
boolean

Whether the metric field is set.

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.Builder newBuilderForType()
Returns
TypeDescription
AccessOrderBy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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