public interface MetricMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getApiName()
A metric name.
|
com.google.protobuf.ByteString |
getApiNameBytes()
A metric name.
|
boolean |
getCustomDefinition()
True if the metric is a custom metric for this property.
|
String |
getDeprecatedApiNames(int index)
Still usable but deprecated names for this metric.
|
com.google.protobuf.ByteString |
getDeprecatedApiNamesBytes(int index)
Still usable but deprecated names for this metric.
|
int |
getDeprecatedApiNamesCount()
Still usable but deprecated names for this metric.
|
List<String> |
getDeprecatedApiNamesList()
Still usable but deprecated names for this metric.
|
String |
getDescription()
Description of how this metric is used and calculated.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of how this metric is used and calculated.
|
String |
getExpression()
The mathematical expression for this derived metric.
|
com.google.protobuf.ByteString |
getExpressionBytes()
The mathematical expression for this derived metric.
|
MetricType |
getType()
The type of this metric.
|
int |
getTypeValue()
The type of this metric.
|
String |
getUiName()
This metric's name within the Google Analytics user interface.
|
com.google.protobuf.ByteString |
getUiNameBytes()
This metric's name within the Google Analytics user interface.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getApiName()
A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
string api_name = 1;com.google.protobuf.ByteString getApiNameBytes()
A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
string api_name = 1;String getUiName()
This metric's name within the Google Analytics user interface. For example, `Event count`.
string ui_name = 2;com.google.protobuf.ByteString getUiNameBytes()
This metric's name within the Google Analytics user interface. For example, `Event count`.
string ui_name = 2;String getDescription()
Description of how this metric is used and calculated.
string description = 3;com.google.protobuf.ByteString getDescriptionBytes()
Description of how this metric is used and calculated.
string description = 3;List<String> getDeprecatedApiNamesList()
Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.
repeated string deprecated_api_names = 4;int getDeprecatedApiNamesCount()
Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.
repeated string deprecated_api_names = 4;String getDeprecatedApiNames(int index)
Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.
repeated string deprecated_api_names = 4;index - The index of the element to return.com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index)
Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.
repeated string deprecated_api_names = 4;index - The index of the value to return.int getTypeValue()
The type of this metric.
.google.analytics.data.v1alpha.MetricType type = 5;MetricType getType()
The type of this metric.
.google.analytics.data.v1alpha.MetricType type = 5;String getExpression()
The mathematical expression for this derived metric. Can be used in [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty.
string expression = 6;com.google.protobuf.ByteString getExpressionBytes()
The mathematical expression for this derived metric. Can be used in [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty.
string expression = 6;boolean getCustomDefinition()
True if the metric is a custom metric for this property.
bool custom_definition = 7;Copyright © 2021 Google LLC. All rights reserved.