public static final class MetricMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder> implements MetricMetadataOrBuilder
Explains a metric.Protobuf type
google.analytics.data.v1beta.MetricMetadata| Modifier and Type | Method and Description |
|---|---|
MetricMetadata.Builder |
addAllBlockedReasons(Iterable<? extends MetricMetadata.BlockedReason> values)
If reasons are specified, your access is blocked to this metric for this
property.
|
MetricMetadata.Builder |
addAllBlockedReasonsValue(Iterable<Integer> values)
If reasons are specified, your access is blocked to this metric for this
property.
|
MetricMetadata.Builder |
addAllDeprecatedApiNames(Iterable<String> values)
Still usable but deprecated names for this metric.
|
MetricMetadata.Builder |
addBlockedReasons(MetricMetadata.BlockedReason value)
If reasons are specified, your access is blocked to this metric for this
property.
|
MetricMetadata.Builder |
addBlockedReasonsValue(int value)
If reasons are specified, your access is blocked to this metric for this
property.
|
MetricMetadata.Builder |
addDeprecatedApiNames(String value)
Still usable but deprecated names for this metric.
|
MetricMetadata.Builder |
addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value)
Still usable but deprecated names for this metric.
|
MetricMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetricMetadata |
build() |
MetricMetadata |
buildPartial() |
MetricMetadata.Builder |
clear() |
MetricMetadata.Builder |
clearApiName()
A metric name.
|
MetricMetadata.Builder |
clearBlockedReasons()
If reasons are specified, your access is blocked to this metric for this
property.
|
MetricMetadata.Builder |
clearCategory()
The display name of the category that this metrics belongs to.
|
MetricMetadata.Builder |
clearCustomDefinition()
True if the metric is a custom metric for this property.
|
MetricMetadata.Builder |
clearDeprecatedApiNames()
Still usable but deprecated names for this metric.
|
MetricMetadata.Builder |
clearDescription()
Description of how this metric is used and calculated.
|
MetricMetadata.Builder |
clearExpression()
The mathematical expression for this derived metric.
|
MetricMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MetricMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MetricMetadata.Builder |
clearType()
The type of this metric.
|
MetricMetadata.Builder |
clearUiName()
This metric's name within the Google Analytics user interface.
|
MetricMetadata.Builder |
clone() |
String |
getApiName()
A metric name.
|
com.google.protobuf.ByteString |
getApiNameBytes()
A metric name.
|
MetricMetadata.BlockedReason |
getBlockedReasons(int index)
If reasons are specified, your access is blocked to this metric for this
property.
|
int |
getBlockedReasonsCount()
If reasons are specified, your access is blocked to this metric for this
property.
|
List<MetricMetadata.BlockedReason> |
getBlockedReasonsList()
If reasons are specified, your access is blocked to this metric for this
property.
|
int |
getBlockedReasonsValue(int index)
If reasons are specified, your access is blocked to this metric for this
property.
|
List<Integer> |
getBlockedReasonsValueList()
If reasons are specified, your access is blocked to this metric for this
property.
|
String |
getCategory()
The display name of the category that this metrics belongs to.
|
com.google.protobuf.ByteString |
getCategoryBytes()
The display name of the category that this metrics belongs to.
|
boolean |
getCustomDefinition()
True if the metric is a custom metric for this property.
|
MetricMetadata |
getDefaultInstanceForType() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MetricMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetricMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
MetricMetadata.Builder |
mergeFrom(MetricMetadata other) |
MetricMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MetricMetadata.Builder |
setApiName(String value)
A metric name.
|
MetricMetadata.Builder |
setApiNameBytes(com.google.protobuf.ByteString value)
A metric name.
|
MetricMetadata.Builder |
setBlockedReasons(int index,
MetricMetadata.BlockedReason value)
If reasons are specified, your access is blocked to this metric for this
property.
|
MetricMetadata.Builder |
setBlockedReasonsValue(int index,
int value)
If reasons are specified, your access is blocked to this metric for this
property.
|
MetricMetadata.Builder |
setCategory(String value)
The display name of the category that this metrics belongs to.
|
MetricMetadata.Builder |
setCategoryBytes(com.google.protobuf.ByteString value)
The display name of the category that this metrics belongs to.
|
MetricMetadata.Builder |
setCustomDefinition(boolean value)
True if the metric is a custom metric for this property.
|
MetricMetadata.Builder |
setDeprecatedApiNames(int index,
String value)
Still usable but deprecated names for this metric.
|
MetricMetadata.Builder |
setDescription(String value)
Description of how this metric is used and calculated.
|
MetricMetadata.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of how this metric is used and calculated.
|
MetricMetadata.Builder |
setExpression(String value)
The mathematical expression for this derived metric.
|
MetricMetadata.Builder |
setExpressionBytes(com.google.protobuf.ByteString value)
The mathematical expression for this derived metric.
|
MetricMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MetricMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MetricMetadata.Builder |
setType(MetricType value)
The type of this metric.
|
MetricMetadata.Builder |
setTypeValue(int value)
The type of this metric.
|
MetricMetadata.Builder |
setUiName(String value)
This metric's name within the Google Analytics user interface.
|
MetricMetadata.Builder |
setUiNameBytes(com.google.protobuf.ByteString value)
This metric's name within the Google Analytics user interface.
|
MetricMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MetricMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MetricMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MetricMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricMetadata.Builder>public MetricMetadata.Builder mergeFrom(MetricMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public MetricMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricMetadata.Builder>IOExceptionpublic String getApiName()
A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
string api_name = 1;getApiName in interface MetricMetadataOrBuilderpublic com.google.protobuf.ByteString getApiNameBytes()
A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
string api_name = 1;getApiNameBytes in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setApiName(String value)
A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
string api_name = 1;value - The apiName to set.public MetricMetadata.Builder clearApiName()
A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
string api_name = 1;public MetricMetadata.Builder setApiNameBytes(com.google.protobuf.ByteString value)
A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
string api_name = 1;value - The bytes for apiName to set.public String getUiName()
This metric's name within the Google Analytics user interface. For example, `Event count`.
string ui_name = 2;getUiName in interface MetricMetadataOrBuilderpublic com.google.protobuf.ByteString getUiNameBytes()
This metric's name within the Google Analytics user interface. For example, `Event count`.
string ui_name = 2;getUiNameBytes in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setUiName(String value)
This metric's name within the Google Analytics user interface. For example, `Event count`.
string ui_name = 2;value - The uiName to set.public MetricMetadata.Builder clearUiName()
This metric's name within the Google Analytics user interface. For example, `Event count`.
string ui_name = 2;public MetricMetadata.Builder setUiNameBytes(com.google.protobuf.ByteString value)
This metric's name within the Google Analytics user interface. For example, `Event count`.
string ui_name = 2;value - The bytes for uiName to set.public String getDescription()
Description of how this metric is used and calculated.
string description = 3;getDescription in interface MetricMetadataOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of how this metric is used and calculated.
string description = 3;getDescriptionBytes in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setDescription(String value)
Description of how this metric is used and calculated.
string description = 3;value - The description to set.public MetricMetadata.Builder clearDescription()
Description of how this metric is used and calculated.
string description = 3;public MetricMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of how this metric is used and calculated.
string description = 3;value - The bytes for description to set.public com.google.protobuf.ProtocolStringList 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;getDeprecatedApiNamesList in interface MetricMetadataOrBuilderpublic 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;getDeprecatedApiNamesCount in interface MetricMetadataOrBuilderpublic 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;getDeprecatedApiNames in interface MetricMetadataOrBuilderindex - The index of the element to return.public 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;getDeprecatedApiNamesBytes in interface MetricMetadataOrBuilderindex - The index of the value to return.public MetricMetadata.Builder setDeprecatedApiNames(int index, String value)
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 to set the value at.value - The deprecatedApiNames to set.public MetricMetadata.Builder addDeprecatedApiNames(String value)
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;value - The deprecatedApiNames to add.public MetricMetadata.Builder addAllDeprecatedApiNames(Iterable<String> values)
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;values - The deprecatedApiNames to add.public MetricMetadata.Builder clearDeprecatedApiNames()
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;public MetricMetadata.Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the deprecatedApiNames to add.public int getTypeValue()
The type of this metric.
.google.analytics.data.v1beta.MetricType type = 5;getTypeValue in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setTypeValue(int value)
The type of this metric.
.google.analytics.data.v1beta.MetricType type = 5;value - The enum numeric value on the wire for type to set.public MetricType getType()
The type of this metric.
.google.analytics.data.v1beta.MetricType type = 5;getType in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setType(MetricType value)
The type of this metric.
.google.analytics.data.v1beta.MetricType type = 5;value - The type to set.public MetricMetadata.Builder clearType()
The type of this metric.
.google.analytics.data.v1beta.MetricType type = 5;public 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;getExpression in interface MetricMetadataOrBuilderpublic 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;getExpressionBytes in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setExpression(String value)
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;value - The expression to set.public MetricMetadata.Builder clearExpression()
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;public MetricMetadata.Builder setExpressionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for expression to set.public boolean getCustomDefinition()
True if the metric is a custom metric for this property.
bool custom_definition = 7;getCustomDefinition in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setCustomDefinition(boolean value)
True if the metric is a custom metric for this property.
bool custom_definition = 7;value - The customDefinition to set.public MetricMetadata.Builder clearCustomDefinition()
True if the metric is a custom metric for this property.
bool custom_definition = 7;public 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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
getBlockedReasonsList in interface MetricMetadataOrBuilderpublic 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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
getBlockedReasonsCount in interface MetricMetadataOrBuilderpublic 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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
getBlockedReasons in interface MetricMetadataOrBuilderindex - The index of the element to return.public MetricMetadata.Builder setBlockedReasons(int index, MetricMetadata.BlockedReason value)
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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
index - The index to set the value at.value - The blockedReasons to set.public MetricMetadata.Builder addBlockedReasons(MetricMetadata.BlockedReason value)
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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
value - The blockedReasons to add.public MetricMetadata.Builder addAllBlockedReasons(Iterable<? extends MetricMetadata.BlockedReason> values)
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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
values - The blockedReasons to add.public MetricMetadata.Builder clearBlockedReasons()
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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
public 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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
getBlockedReasonsValueList in interface MetricMetadataOrBuilderpublic 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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
getBlockedReasonsValue in interface MetricMetadataOrBuilderindex - The index of the value to return.public MetricMetadata.Builder setBlockedReasonsValue(int index, int value)
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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
index - The index to set the value at.value - The enum numeric value on the wire for blockedReasons to set.public MetricMetadata.Builder addBlockedReasonsValue(int value)
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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
value - The enum numeric value on the wire for blockedReasons to add.public MetricMetadata.Builder addAllBlockedReasonsValue(Iterable<Integer> values)
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](https://support.google.com/analytics/answer/10851388).
repeated .google.analytics.data.v1beta.MetricMetadata.BlockedReason blocked_reasons = 8;
values - The enum numeric values on the wire for blockedReasons to add.public String getCategory()
The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.
string category = 10;getCategory in interface MetricMetadataOrBuilderpublic com.google.protobuf.ByteString getCategoryBytes()
The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.
string category = 10;getCategoryBytes in interface MetricMetadataOrBuilderpublic MetricMetadata.Builder setCategory(String value)
The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.
string category = 10;value - The category to set.public MetricMetadata.Builder clearCategory()
The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.
string category = 10;public MetricMetadata.Builder setCategoryBytes(com.google.protobuf.ByteString value)
The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.
string category = 10;value - The bytes for category to set.public final MetricMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>public final MetricMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetricMetadata.Builder>Copyright © 2022 Google LLC. All rights reserved.