public final class Metadata extends GeneratedMessage implements MetadataOrBuilder
The dimensions, metrics and comparisons currently accepted in reporting
methods.
Protobuf type google.analytics.data.v1beta.Metadata
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int COMPARISONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DIMENSIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int METRICS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static Metadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Metadata.Builder newBuilder()
public static Metadata.Builder newBuilder(Metadata prototype)
| Parameter |
| Name |
Description |
prototype |
Metadata
|
public static Metadata parseDelimitedFrom(InputStream input)
public static Metadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static Metadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(ByteString data)
public static Metadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(CodedInputStream input)
public static Metadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(InputStream input)
public static Metadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Metadata parseFrom(ByteBuffer data)
public static Metadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Metadata> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public ComparisonMetadata getComparisons(int index)
The comparison descriptions.
repeated .google.analytics.data.v1beta.ComparisonMetadata comparisons = 4;
| Parameter |
| Name |
Description |
index |
int
|
public int getComparisonsCount()
The comparison descriptions.
repeated .google.analytics.data.v1beta.ComparisonMetadata comparisons = 4;
| Returns |
| Type |
Description |
int |
|
public List<ComparisonMetadata> getComparisonsList()
The comparison descriptions.
repeated .google.analytics.data.v1beta.ComparisonMetadata comparisons = 4;
public ComparisonMetadataOrBuilder getComparisonsOrBuilder(int index)
The comparison descriptions.
repeated .google.analytics.data.v1beta.ComparisonMetadata comparisons = 4;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends ComparisonMetadataOrBuilder> getComparisonsOrBuilderList()
The comparison descriptions.
repeated .google.analytics.data.v1beta.ComparisonMetadata comparisons = 4;
| Returns |
| Type |
Description |
List<? extends com.google.analytics.data.v1beta.ComparisonMetadataOrBuilder> |
|
public Metadata getDefaultInstanceForType()
public DimensionMetadata getDimensions(int index)
The dimension descriptions.
repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1;
| Parameter |
| Name |
Description |
index |
int
|
public int getDimensionsCount()
The dimension descriptions.
repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1;
| Returns |
| Type |
Description |
int |
|
public List<DimensionMetadata> getDimensionsList()
The dimension descriptions.
repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1;
public DimensionMetadataOrBuilder getDimensionsOrBuilder(int index)
The dimension descriptions.
repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends DimensionMetadataOrBuilder> getDimensionsOrBuilderList()
The dimension descriptions.
repeated .google.analytics.data.v1beta.DimensionMetadata dimensions = 1;
| Returns |
| Type |
Description |
List<? extends com.google.analytics.data.v1beta.DimensionMetadataOrBuilder> |
|
public MetricMetadata getMetrics(int index)
The metric descriptions.
repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2;
| Parameter |
| Name |
Description |
index |
int
|
public int getMetricsCount()
The metric descriptions.
repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2;
| Returns |
| Type |
Description |
int |
|
public List<MetricMetadata> getMetricsList()
The metric descriptions.
repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2;
public MetricMetadataOrBuilder getMetricsOrBuilder(int index)
The metric descriptions.
repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends MetricMetadataOrBuilder> getMetricsOrBuilderList()
The metric descriptions.
repeated .google.analytics.data.v1beta.MetricMetadata metrics = 2;
| Returns |
| Type |
Description |
List<? extends com.google.analytics.data.v1beta.MetricMetadataOrBuilder> |
|
Resource name of this metadata.
string name = 3;
| Returns |
| Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Resource name of this metadata.
string name = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
public Parser<Metadata> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Metadata.Builder newBuilderForType()
protected Metadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public Metadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides