- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
public interface MetricMetadataOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getApiName()
public abstract String getApiName()
A metric name. Useable in Metric's name
. For example,
eventCount
.
string api_name = 1;
Returns | |
---|---|
Type | Description |
String |
The apiName. |
getApiNameBytes()
public abstract ByteString getApiNameBytes()
A metric name. Useable in Metric's name
. For example,
eventCount
.
string api_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for apiName. |
getBlockedReasons(int index)
public abstract MetricMetadata.BlockedReason getBlockedReasons(int index)
If reasons are specified, your access is blocked to this metric for this property. API requests from you to this property for this metric will succeed; however, the report will contain only zeros for this metric. API requests with metric filters on blocked metrics will fail. If reasons are empty, you have access to this metric.
To learn more, see Access and data-restriction management.
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
MetricMetadata.BlockedReason |
The blockedReasons at the given index. |
getBlockedReasonsCount()
public abstract int getBlockedReasonsCount()
If reasons are specified, your access is blocked to this metric for this property. API requests from you to this property for this metric will succeed; however, the report will contain only zeros for this metric. API requests with metric filters on blocked metrics will fail. If reasons are empty, you have access to this metric.
To learn more, see Access and data-restriction management.
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
Returns | |
---|---|
Type | Description |
int |
The count of blockedReasons. |
getBlockedReasonsList()
public abstract List<MetricMetadata.BlockedReason> getBlockedReasonsList()
If reasons are specified, your access is blocked to this metric for this property. API requests from you to this property for this metric will succeed; however, the report will contain only zeros for this metric. API requests with metric filters on blocked metrics will fail. If reasons are empty, you have access to this metric.
To learn more, see Access and data-restriction management.
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
Returns | |
---|---|
Type | Description |
List<BlockedReason> |
A list containing the blockedReasons. |
getBlockedReasonsValue(int index)
public abstract int getBlockedReasonsValue(int index)
If reasons are specified, your access is blocked to this metric for this property. API requests from you to this property for this metric will succeed; however, the report will contain only zeros for this metric. API requests with metric filters on blocked metrics will fail. If reasons are empty, you have access to this metric.
To learn more, see Access and data-restriction management.
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of blockedReasons at the given index. |
getBlockedReasonsValueList()
public abstract List<Integer> getBlockedReasonsValueList()
If reasons are specified, your access is blocked to this metric for this property. API requests from you to this property for this metric will succeed; however, the report will contain only zeros for this metric. API requests with metric filters on blocked metrics will fail. If reasons are empty, you have access to this metric.
To learn more, see Access and data-restriction management.
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for blockedReasons. |
getCategory()
public abstract String getCategory()
The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.
string category = 10;
Returns | |
---|---|
Type | Description |
String |
The category. |
getCategoryBytes()
public abstract ByteString getCategoryBytes()
The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.
string category = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for category. |
getCustomDefinition()
public abstract boolean getCustomDefinition()
True if the metric is a custom metric for this property.
bool custom_definition = 7;
Returns | |
---|---|
Type | Description |
boolean |
The customDefinition. |
getDeprecatedApiNames(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The deprecatedApiNames at the given index. |
getDeprecatedApiNamesBytes(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the deprecatedApiNames at the given index. |
getDeprecatedApiNamesCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
The count of deprecatedApiNames. |
getDeprecatedApiNamesList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the deprecatedApiNames. |
getDescription()
public abstract String getDescription()
Description of how this metric is used and calculated.
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Description of how this metric is used and calculated.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getExpression()
public abstract String getExpression()
The mathematical expression for this derived metric. Can be used in
Metric's expression
field for equivalent reports. Most metrics
are not expressions, and for non-expressions, this field is empty.
string expression = 6;
Returns | |
---|---|
Type | Description |
String |
The expression. |
getExpressionBytes()
public abstract ByteString getExpressionBytes()
The mathematical expression for this derived metric. Can be used in
Metric's expression
field for equivalent reports. Most metrics
are not expressions, and for non-expressions, this field is empty.
string expression = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for expression. |
getType()
public abstract MetricType getType()
The type of this metric.
.google.analytics.data.v1beta.MetricType type = 5;
Returns | |
---|---|
Type | Description |
MetricType |
The type. |
getTypeValue()
public abstract int getTypeValue()
The type of this metric.
.google.analytics.data.v1beta.MetricType type = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
getUiName()
public abstract String getUiName()
This metric's name within the Google Analytics user interface. For example,
Event count
.
string ui_name = 2;
Returns | |
---|---|
Type | Description |
String |
The uiName. |
getUiNameBytes()
public abstract ByteString getUiNameBytes()
This metric's name within the Google Analytics user interface. For example,
Event count
.
string ui_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uiName. |