Send feedback Class AccessOrderBy (0.22.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.22.0 keyboard_arrow_down
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 DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
Field Value METRIC_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
Field Value Static Methods getDefaultInstance()
public static AccessOrderBy getDefaultInstance ()
Returns getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns newBuilder()
public static AccessOrderBy . Builder newBuilder ()
Returns newBuilder(AccessOrderBy )
public static AccessOrderBy . Builder newBuilder ( AccessOrderBy )
Parameter Returns
public static AccessOrderBy parseDelimitedFrom ( InputStream input )
Parameter Returns Exceptions
public static AccessOrderBy parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(byte[] data)
public static AccessOrderBy parseFrom ( byte [] data )
Parameter Name Description data
byte []
Returns Exceptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccessOrderBy parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteString data)
public static AccessOrderBy parseFrom ( ByteString data )
Parameter Returns Exceptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccessOrderBy parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static AccessOrderBy parseFrom ( CodedInputStream input )
Parameter Returns Exceptions
public static AccessOrderBy parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static AccessOrderBy parseFrom ( InputStream input )
Parameter Returns Exceptions
public static AccessOrderBy parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteBuffer data)
public static AccessOrderBy parseFrom ( ByteBuffer data )
Parameter Returns Exceptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccessOrderBy parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parser()
public static Parser<AccessOrderBy> parser ()
Returns Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Returns Overrides getDefaultInstanceForType()
public AccessOrderBy getDefaultInstanceForType ()
Returns getDesc() If true, sorts by descending order. If false or unspecified, sorts in ascending order.
bool desc = 3;
Returns getDimension()
public AccessOrderBy . DimensionOrderBy getDimension ()
Sorts results by a dimension's values.
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
Returns getDimensionOrBuilder()
public AccessOrderBy . DimensionOrderByOrBuilder getDimensionOrBuilder ()
Sorts results by a dimension's values.
.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2;
Returns getMetric()
public AccessOrderBy . MetricOrderBy getMetric ()
Sorts results by a metric's values.
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
Returns getMetricOrBuilder()
public AccessOrderBy . MetricOrderByOrBuilder getMetricOrBuilder ()
Sorts results by a metric's values.
.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
Returns getOneOrderByCase()
public AccessOrderBy . OneOrderByCase getOneOrderByCase ()
Returns getParserForType()
public Parser<AccessOrderBy> getParserForType ()
Returns Overrides getSerializedSize()
public int getSerializedSize ()
Returns Overrides getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns Overrides hasDimension()
public boolean hasDimension ()
Sorts results by a dimension's values.
.google.analytics.admin.v1alpha.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.v1alpha.AccessOrderBy.MetricOrderBy metric = 1;
Returns Type Description boolean
Whether the metric field is set.
hashCode() Returns Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns Overrides isInitialized()
public final boolean isInitialized ()
Returns Overrides newBuilderForType()
public AccessOrderBy . Builder newBuilderForType ()
Returns newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccessOrderBy . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter Returns Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter Returns Overrides toBuilder()
public AccessOrderBy . Builder toBuilder ()
Returns writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter Overrides Exceptions Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-17 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The latest version of the `AccessOrderBy` class is 0.70.0, as found within the Google Analytics Admin Java library."],["This page documents the `AccessOrderBy` class across various versions, starting from 0.14.0 up to the latest 0.70.0."],["`AccessOrderBy` is a class in the `com.google.analytics.admin.v1alpha` package and is a part of the Google Analytics Admin API's Java client library."],["The `AccessOrderBy` class, extending `GeneratedMessageV3`, defines how rows in a response will be sorted, such as by access count or country."],["It provides static methods to obtain its default instance, descriptor, new builder, as well as different parsing options for different inputs."]]],[]]