Class OrderBy.PivotOrderBy

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1beta.OrderBy.PivotOrderBy
All Implemented Interfaces:
OrderBy.PivotOrderByOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
OrderBy

public static final class OrderBy.PivotOrderBy extends com.google.protobuf.GeneratedMessage implements OrderBy.PivotOrderByOrBuilder
 Sorts by a pivot column group.
 
Protobuf type google.analytics.data.v1beta.OrderBy.PivotOrderBy
See Also:
  • Field Details

    • METRIC_NAME_FIELD_NUMBER

      public static final int METRIC_NAME_FIELD_NUMBER
      See Also:
    • PIVOT_SELECTIONS_FIELD_NUMBER

      public static final int PIVOT_SELECTIONS_FIELD_NUMBER
      See Also:
  • 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
    • getMetricName

      public String getMetricName()
       In the response to order by, order rows by this column. Must be a metric
       name from the request.
       
      string metric_name = 1;
      Specified by:
      getMetricName in interface OrderBy.PivotOrderByOrBuilder
      Returns:
      The metricName.
    • getMetricNameBytes

      public com.google.protobuf.ByteString getMetricNameBytes()
       In the response to order by, order rows by this column. Must be a metric
       name from the request.
       
      string metric_name = 1;
      Specified by:
      getMetricNameBytes in interface OrderBy.PivotOrderByOrBuilder
      Returns:
      The bytes for metricName.
    • getPivotSelectionsList

      public List<OrderBy.PivotOrderBy.PivotSelection> getPivotSelectionsList()
       Used to select a dimension name and value pivot. If multiple pivot
       selections are given, the sort occurs on rows where all pivot selection
       dimension name and value pairs match the row's dimension name and value
       pair.
       
      repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
      Specified by:
      getPivotSelectionsList in interface OrderBy.PivotOrderByOrBuilder
    • getPivotSelectionsOrBuilderList

      public List<? extends OrderBy.PivotOrderBy.PivotSelectionOrBuilder> getPivotSelectionsOrBuilderList()
       Used to select a dimension name and value pivot. If multiple pivot
       selections are given, the sort occurs on rows where all pivot selection
       dimension name and value pairs match the row's dimension name and value
       pair.
       
      repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
      Specified by:
      getPivotSelectionsOrBuilderList in interface OrderBy.PivotOrderByOrBuilder
    • getPivotSelectionsCount

      public int getPivotSelectionsCount()
       Used to select a dimension name and value pivot. If multiple pivot
       selections are given, the sort occurs on rows where all pivot selection
       dimension name and value pairs match the row's dimension name and value
       pair.
       
      repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
      Specified by:
      getPivotSelectionsCount in interface OrderBy.PivotOrderByOrBuilder
    • getPivotSelections

      public OrderBy.PivotOrderBy.PivotSelection getPivotSelections(int index)
       Used to select a dimension name and value pivot. If multiple pivot
       selections are given, the sort occurs on rows where all pivot selection
       dimension name and value pairs match the row's dimension name and value
       pair.
       
      repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
      Specified by:
      getPivotSelections in interface OrderBy.PivotOrderByOrBuilder
    • getPivotSelectionsOrBuilder

      public OrderBy.PivotOrderBy.PivotSelectionOrBuilder getPivotSelectionsOrBuilder(int index)
       Used to select a dimension name and value pivot. If multiple pivot
       selections are given, the sort occurs on rows where all pivot selection
       dimension name and value pairs match the row's dimension name and value
       pair.
       
      repeated .google.analytics.data.v1beta.OrderBy.PivotOrderBy.PivotSelection pivot_selections = 2;
      Specified by:
      getPivotSelectionsOrBuilder in interface OrderBy.PivotOrderByOrBuilder
    • 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 OrderBy.PivotOrderBy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static OrderBy.PivotOrderBy parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static OrderBy.PivotOrderBy parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static OrderBy.PivotOrderBy.Builder newBuilder()
    • newBuilder

      public static OrderBy.PivotOrderBy.Builder newBuilder(OrderBy.PivotOrderBy prototype)
    • toBuilder

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

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

      public static OrderBy.PivotOrderBy getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<OrderBy.PivotOrderBy> 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 OrderBy.PivotOrderBy getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder