Class AccessOrderBy

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1beta.AccessOrderBy
All Implemented Interfaces:
AccessOrderByOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AccessOrderBy extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getOneOrderByCase

      public AccessOrderBy.OneOrderByCase getOneOrderByCase()
      Specified by:
      getOneOrderByCase in interface AccessOrderByOrBuilder
    • hasMetric

      public boolean hasMetric()
       Sorts results by a metric's values.
       
      .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1;
      Specified by:
      hasMetric in interface AccessOrderByOrBuilder
      Returns:
      Whether the metric field is set.
    • getMetric

      public AccessOrderBy.MetricOrderBy getMetric()
       Sorts results by a metric's values.
       
      .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1;
      Specified by:
      getMetric in interface AccessOrderByOrBuilder
      Returns:
      The metric.
    • getMetricOrBuilder

      public AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder()
       Sorts results by a metric's values.
       
      .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1;
      Specified by:
      getMetricOrBuilder in interface AccessOrderByOrBuilder
    • hasDimension

      public boolean hasDimension()
       Sorts results by a dimension's values.
       
      .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2;
      Specified by:
      hasDimension in interface AccessOrderByOrBuilder
      Returns:
      Whether the dimension field is set.
    • getDimension

      public AccessOrderBy.DimensionOrderBy getDimension()
       Sorts results by a dimension's values.
       
      .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2;
      Specified by:
      getDimension in interface AccessOrderByOrBuilder
      Returns:
      The dimension.
    • getDimensionOrBuilder

      public AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder()
       Sorts results by a dimension's values.
       
      .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2;
      Specified by:
      getDimensionOrBuilder in interface AccessOrderByOrBuilder
    • getDesc

      public boolean getDesc()
       If true, sorts by descending order. If false or unspecified, sorts in
       ascending order.
       
      bool desc = 3;
      Specified by:
      getDesc in interface AccessOrderByOrBuilder
      Returns:
      The desc.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AccessOrderBy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessOrderBy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessOrderBy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessOrderBy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessOrderBy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AccessOrderBy parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessOrderBy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessOrderBy parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AccessOrderBy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessOrderBy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AccessOrderBy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AccessOrderBy.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AccessOrderBy.Builder newBuilder()
    • newBuilder

      public static AccessOrderBy.Builder newBuilder(AccessOrderBy prototype)
    • toBuilder

      public AccessOrderBy.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AccessOrderBy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AccessOrderBy getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AccessOrderBy> parser()
    • getParserForType

      public com.google.protobuf.Parser<AccessOrderBy> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public AccessOrderBy getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder