Class MetricMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetricMetadata.Builder>
com.google.analytics.data.v1beta.MetricMetadata.Builder
All Implemented Interfaces:
MetricMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MetricMetadata

public static final class MetricMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetricMetadata.Builder> implements MetricMetadataOrBuilder
 Explains a metric.
 
Protobuf type google.analytics.data.v1beta.MetricMetadata
  • 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.Builder<MetricMetadata.Builder>
    • clear

      public MetricMetadata.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MetricMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MetricMetadata.Builder>
    • getDefaultInstanceForType

      public MetricMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MetricMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MetricMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MetricMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricMetadata.Builder>
    • mergeFrom

      public MetricMetadata.Builder mergeFrom(MetricMetadata other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MetricMetadata.Builder>
    • mergeFrom

      public MetricMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricMetadata.Builder>
      Throws:
      IOException
    • getApiName

      public String getApiName()
       A metric name. Useable in [Metric](#Metric)'s `name`. For example,
       `eventCount`.
       
      string api_name = 1;
      Specified by:
      getApiName in interface MetricMetadataOrBuilder
      Returns:
      The apiName.
    • getApiNameBytes

      public com.google.protobuf.ByteString getApiNameBytes()
       A metric name. Useable in [Metric](#Metric)'s `name`. For example,
       `eventCount`.
       
      string api_name = 1;
      Specified by:
      getApiNameBytes in interface MetricMetadataOrBuilder
      Returns:
      The bytes for apiName.
    • setApiName

      public MetricMetadata.Builder setApiName(String value)
       A metric name. Useable in [Metric](#Metric)'s `name`. For example,
       `eventCount`.
       
      string api_name = 1;
      Parameters:
      value - The apiName to set.
      Returns:
      This builder for chaining.
    • clearApiName

      public MetricMetadata.Builder clearApiName()
       A metric name. Useable in [Metric](#Metric)'s `name`. For example,
       `eventCount`.
       
      string api_name = 1;
      Returns:
      This builder for chaining.
    • setApiNameBytes

      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;
      Parameters:
      value - The bytes for apiName to set.
      Returns:
      This builder for chaining.
    • getUiName

      public String getUiName()
       This metric's name within the Google Analytics user interface. For example,
       `Event count`.
       
      string ui_name = 2;
      Specified by:
      getUiName in interface MetricMetadataOrBuilder
      Returns:
      The uiName.
    • getUiNameBytes

      public com.google.protobuf.ByteString getUiNameBytes()
       This metric's name within the Google Analytics user interface. For example,
       `Event count`.
       
      string ui_name = 2;
      Specified by:
      getUiNameBytes in interface MetricMetadataOrBuilder
      Returns:
      The bytes for uiName.
    • setUiName

      public MetricMetadata.Builder setUiName(String value)
       This metric's name within the Google Analytics user interface. For example,
       `Event count`.
       
      string ui_name = 2;
      Parameters:
      value - The uiName to set.
      Returns:
      This builder for chaining.
    • clearUiName

      public MetricMetadata.Builder clearUiName()
       This metric's name within the Google Analytics user interface. For example,
       `Event count`.
       
      string ui_name = 2;
      Returns:
      This builder for chaining.
    • setUiNameBytes

      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;
      Parameters:
      value - The bytes for uiName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Description of how this metric is used and calculated.
       
      string description = 3;
      Specified by:
      getDescription in interface MetricMetadataOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of how this metric is used and calculated.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface MetricMetadataOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public MetricMetadata.Builder setDescription(String value)
       Description of how this metric is used and calculated.
       
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public MetricMetadata.Builder clearDescription()
       Description of how this metric is used and calculated.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public MetricMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of how this metric is used and calculated.
       
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getDeprecatedApiNamesList

      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;
      Specified by:
      getDeprecatedApiNamesList in interface MetricMetadataOrBuilder
      Returns:
      A list containing the deprecatedApiNames.
    • getDeprecatedApiNamesCount

      public 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;
      Specified by:
      getDeprecatedApiNamesCount in interface MetricMetadataOrBuilder
      Returns:
      The count of deprecatedApiNames.
    • getDeprecatedApiNames

      public 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;
      Specified by:
      getDeprecatedApiNames in interface MetricMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The deprecatedApiNames at the given index.
    • getDeprecatedApiNamesBytes

      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;
      Specified by:
      getDeprecatedApiNamesBytes in interface MetricMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the deprecatedApiNames at the given index.
    • setDeprecatedApiNames

      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;
      Parameters:
      index - The index to set the value at.
      value - The deprecatedApiNames to set.
      Returns:
      This builder for chaining.
    • addDeprecatedApiNames

      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;
      Parameters:
      value - The deprecatedApiNames to add.
      Returns:
      This builder for chaining.
    • addAllDeprecatedApiNames

      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;
      Parameters:
      values - The deprecatedApiNames to add.
      Returns:
      This builder for chaining.
    • clearDeprecatedApiNames

      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;
      Returns:
      This builder for chaining.
    • addDeprecatedApiNamesBytes

      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;
      Parameters:
      value - The bytes of the deprecatedApiNames to add.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of this metric.
       
      .google.analytics.data.v1beta.MetricType type = 5;
      Specified by:
      getTypeValue in interface MetricMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public MetricMetadata.Builder setTypeValue(int value)
       The type of this metric.
       
      .google.analytics.data.v1beta.MetricType type = 5;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public MetricType getType()
       The type of this metric.
       
      .google.analytics.data.v1beta.MetricType type = 5;
      Specified by:
      getType in interface MetricMetadataOrBuilder
      Returns:
      The type.
    • setType

      public MetricMetadata.Builder setType(MetricType value)
       The type of this metric.
       
      .google.analytics.data.v1beta.MetricType type = 5;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public MetricMetadata.Builder clearType()
       The type of this metric.
       
      .google.analytics.data.v1beta.MetricType type = 5;
      Returns:
      This builder for chaining.
    • getExpression

      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;
      Specified by:
      getExpression in interface MetricMetadataOrBuilder
      Returns:
      The expression.
    • getExpressionBytes

      public 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;
      Specified by:
      getExpressionBytes in interface MetricMetadataOrBuilder
      Returns:
      The bytes for expression.
    • setExpression

      public 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;
      Parameters:
      value - The expression to set.
      Returns:
      This builder for chaining.
    • clearExpression

      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;
      Returns:
      This builder for chaining.
    • setExpressionBytes

      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;
      Parameters:
      value - The bytes for expression to set.
      Returns:
      This builder for chaining.
    • getCustomDefinition

      public boolean getCustomDefinition()
       True if the metric is a custom metric for this property.
       
      bool custom_definition = 7;
      Specified by:
      getCustomDefinition in interface MetricMetadataOrBuilder
      Returns:
      The customDefinition.
    • setCustomDefinition

      public MetricMetadata.Builder setCustomDefinition(boolean value)
       True if the metric is a custom metric for this property.
       
      bool custom_definition = 7;
      Parameters:
      value - The customDefinition to set.
      Returns:
      This builder for chaining.
    • clearCustomDefinition

      public MetricMetadata.Builder clearCustomDefinition()
       True if the metric is a custom metric for this property.
       
      bool custom_definition = 7;
      Returns:
      This builder for chaining.
    • getBlockedReasonsList

      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;
      Specified by:
      getBlockedReasonsList in interface MetricMetadataOrBuilder
      Returns:
      A list containing the blockedReasons.
    • getBlockedReasonsCount

      public 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;
      Specified by:
      getBlockedReasonsCount in interface MetricMetadataOrBuilder
      Returns:
      The count of blockedReasons.
    • getBlockedReasons

      public 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;
      Specified by:
      getBlockedReasons in interface MetricMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The blockedReasons at the given index.
    • setBlockedReasons

      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;
      Parameters:
      index - The index to set the value at.
      value - The blockedReasons to set.
      Returns:
      This builder for chaining.
    • addBlockedReasons

      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;
      Parameters:
      value - The blockedReasons to add.
      Returns:
      This builder for chaining.
    • addAllBlockedReasons

      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;
      Parameters:
      values - The blockedReasons to add.
      Returns:
      This builder for chaining.
    • clearBlockedReasons

      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;
      Returns:
      This builder for chaining.
    • getBlockedReasonsValueList

      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;
      Specified by:
      getBlockedReasonsValueList in interface MetricMetadataOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for blockedReasons.
    • getBlockedReasonsValue

      public 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;
      Specified by:
      getBlockedReasonsValue in interface MetricMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of blockedReasons at the given index.
    • setBlockedReasonsValue

      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;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for blockedReasons to set.
      Returns:
      This builder for chaining.
    • addBlockedReasonsValue

      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;
      Parameters:
      value - The enum numeric value on the wire for blockedReasons to add.
      Returns:
      This builder for chaining.
    • addAllBlockedReasonsValue

      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;
      Parameters:
      values - The enum numeric values on the wire for blockedReasons to add.
      Returns:
      This builder for chaining.
    • getCategory

      public String getCategory()
       The display name of the category that this metrics belongs to. Similar
       dimensions and metrics are categorized together.
       
      string category = 10;
      Specified by:
      getCategory in interface MetricMetadataOrBuilder
      Returns:
      The category.
    • getCategoryBytes

      public 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;
      Specified by:
      getCategoryBytes in interface MetricMetadataOrBuilder
      Returns:
      The bytes for category.
    • setCategory

      public 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;
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      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;
      Returns:
      This builder for chaining.
    • setCategoryBytes

      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;
      Parameters:
      value - The bytes for category to set.
      Returns:
      This builder for chaining.