Class Metadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.Metadata
All Implemented Interfaces:
MetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Metadata extends com.google.protobuf.GeneratedMessage implements MetadataOrBuilder
 The dimensions, metrics and comparisons currently accepted in reporting
 methods.
 
Protobuf type google.analytics.data.v1alpha.Metadata
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
    • getName

      public String getName()
       Resource name of this metadata.
       
      string name = 3;
      Specified by:
      getName in interface MetadataOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Resource name of this metadata.
       
      string name = 3;
      Specified by:
      getNameBytes in interface MetadataOrBuilder
      Returns:
      The bytes for name.
    • getDimensionsList

      public List<DimensionMetadata> getDimensionsList()
       The dimension descriptions.
       
      repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
      Specified by:
      getDimensionsList in interface MetadataOrBuilder
    • getDimensionsOrBuilderList

      public List<? extends DimensionMetadataOrBuilder> getDimensionsOrBuilderList()
       The dimension descriptions.
       
      repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
      Specified by:
      getDimensionsOrBuilderList in interface MetadataOrBuilder
    • getDimensionsCount

      public int getDimensionsCount()
       The dimension descriptions.
       
      repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
      Specified by:
      getDimensionsCount in interface MetadataOrBuilder
    • getDimensions

      public DimensionMetadata getDimensions(int index)
       The dimension descriptions.
       
      repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
      Specified by:
      getDimensions in interface MetadataOrBuilder
    • getDimensionsOrBuilder

      public DimensionMetadataOrBuilder getDimensionsOrBuilder(int index)
       The dimension descriptions.
       
      repeated .google.analytics.data.v1alpha.DimensionMetadata dimensions = 1;
      Specified by:
      getDimensionsOrBuilder in interface MetadataOrBuilder
    • getMetricsList

      public List<MetricMetadata> getMetricsList()
       The metric descriptions.
       
      repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2;
      Specified by:
      getMetricsList in interface MetadataOrBuilder
    • getMetricsOrBuilderList

      public List<? extends MetricMetadataOrBuilder> getMetricsOrBuilderList()
       The metric descriptions.
       
      repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2;
      Specified by:
      getMetricsOrBuilderList in interface MetadataOrBuilder
    • getMetricsCount

      public int getMetricsCount()
       The metric descriptions.
       
      repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2;
      Specified by:
      getMetricsCount in interface MetadataOrBuilder
    • getMetrics

      public MetricMetadata getMetrics(int index)
       The metric descriptions.
       
      repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2;
      Specified by:
      getMetrics in interface MetadataOrBuilder
    • getMetricsOrBuilder

      public MetricMetadataOrBuilder getMetricsOrBuilder(int index)
       The metric descriptions.
       
      repeated .google.analytics.data.v1alpha.MetricMetadata metrics = 2;
      Specified by:
      getMetricsOrBuilder in interface MetadataOrBuilder
    • getComparisonsList

      public List<ComparisonMetadata> getComparisonsList()
       The comparison descriptions.
       
      repeated .google.analytics.data.v1alpha.ComparisonMetadata comparisons = 4;
      Specified by:
      getComparisonsList in interface MetadataOrBuilder
    • getComparisonsOrBuilderList

      public List<? extends ComparisonMetadataOrBuilder> getComparisonsOrBuilderList()
       The comparison descriptions.
       
      repeated .google.analytics.data.v1alpha.ComparisonMetadata comparisons = 4;
      Specified by:
      getComparisonsOrBuilderList in interface MetadataOrBuilder
    • getComparisonsCount

      public int getComparisonsCount()
       The comparison descriptions.
       
      repeated .google.analytics.data.v1alpha.ComparisonMetadata comparisons = 4;
      Specified by:
      getComparisonsCount in interface MetadataOrBuilder
    • getComparisons

      public ComparisonMetadata getComparisons(int index)
       The comparison descriptions.
       
      repeated .google.analytics.data.v1alpha.ComparisonMetadata comparisons = 4;
      Specified by:
      getComparisons in interface MetadataOrBuilder
    • getComparisonsOrBuilder

      public ComparisonMetadataOrBuilder getComparisonsOrBuilder(int index)
       The comparison descriptions.
       
      repeated .google.analytics.data.v1alpha.ComparisonMetadata comparisons = 4;
      Specified by:
      getComparisonsOrBuilder in interface MetadataOrBuilder
    • getConversionsList

      public List<ConversionMetadata> getConversionsList()
       The conversion descriptions.
       
      repeated .google.analytics.data.v1alpha.ConversionMetadata conversions = 5;
      Specified by:
      getConversionsList in interface MetadataOrBuilder
    • getConversionsOrBuilderList

      public List<? extends ConversionMetadataOrBuilder> getConversionsOrBuilderList()
       The conversion descriptions.
       
      repeated .google.analytics.data.v1alpha.ConversionMetadata conversions = 5;
      Specified by:
      getConversionsOrBuilderList in interface MetadataOrBuilder
    • getConversionsCount

      public int getConversionsCount()
       The conversion descriptions.
       
      repeated .google.analytics.data.v1alpha.ConversionMetadata conversions = 5;
      Specified by:
      getConversionsCount in interface MetadataOrBuilder
    • getConversions

      public ConversionMetadata getConversions(int index)
       The conversion descriptions.
       
      repeated .google.analytics.data.v1alpha.ConversionMetadata conversions = 5;
      Specified by:
      getConversions in interface MetadataOrBuilder
    • getConversionsOrBuilder

      public ConversionMetadataOrBuilder getConversionsOrBuilder(int index)
       The conversion descriptions.
       
      repeated .google.analytics.data.v1alpha.ConversionMetadata conversions = 5;
      Specified by:
      getConversionsOrBuilder in interface MetadataOrBuilder
    • 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 Metadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Metadata.Builder newBuilder()
    • newBuilder

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

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

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

      public static Metadata getDefaultInstance()
    • parser

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

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