Interface MetricDescriptor.MetricDescriptorMetadataOrBuilder

    • Method Detail

      • getLaunchStageValue

        @Deprecated
        int getLaunchStageValue()
        Deprecated.
        google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=100
         Deprecated. Must use the
         [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
         instead.
         
        .google.api.LaunchStage launch_stage = 1 [deprecated = true];
        Returns:
        The enum numeric value on the wire for launchStage.
      • getLaunchStage

        @Deprecated
        LaunchStage getLaunchStage()
        Deprecated.
        google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=100
         Deprecated. Must use the
         [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage]
         instead.
         
        .google.api.LaunchStage launch_stage = 1 [deprecated = true];
        Returns:
        The launchStage.
      • hasSamplePeriod

        boolean hasSamplePeriod()
         The sampling period of metric data points. For metrics which are written
         periodically, consecutive data points are stored at this time interval,
         excluding data loss due to errors. Metrics with a higher granularity have
         a smaller sampling period.
         
        .google.protobuf.Duration sample_period = 2;
        Returns:
        Whether the samplePeriod field is set.
      • getSamplePeriod

        com.google.protobuf.Duration getSamplePeriod()
         The sampling period of metric data points. For metrics which are written
         periodically, consecutive data points are stored at this time interval,
         excluding data loss due to errors. Metrics with a higher granularity have
         a smaller sampling period.
         
        .google.protobuf.Duration sample_period = 2;
        Returns:
        The samplePeriod.
      • getSamplePeriodOrBuilder

        com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder()
         The sampling period of metric data points. For metrics which are written
         periodically, consecutive data points are stored at this time interval,
         excluding data loss due to errors. Metrics with a higher granularity have
         a smaller sampling period.
         
        .google.protobuf.Duration sample_period = 2;
      • hasIngestDelay

        boolean hasIngestDelay()
         The delay of data points caused by ingestion. Data points older than this
         age are guaranteed to be ingested and available to be read, excluding
         data loss due to errors.
         
        .google.protobuf.Duration ingest_delay = 3;
        Returns:
        Whether the ingestDelay field is set.
      • getIngestDelay

        com.google.protobuf.Duration getIngestDelay()
         The delay of data points caused by ingestion. Data points older than this
         age are guaranteed to be ingested and available to be read, excluding
         data loss due to errors.
         
        .google.protobuf.Duration ingest_delay = 3;
        Returns:
        The ingestDelay.
      • getIngestDelayOrBuilder

        com.google.protobuf.DurationOrBuilder getIngestDelayOrBuilder()
         The delay of data points caused by ingestion. Data points older than this
         age are guaranteed to be ingested and available to be read, excluding
         data loss due to errors.
         
        .google.protobuf.Duration ingest_delay = 3;
      • getTimeSeriesResourceHierarchyLevelList

        java.util.List<MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel> getTimeSeriesResourceHierarchyLevelList()
         The scope of the timeseries data of the metric.
         
        repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;
        Returns:
        A list containing the timeSeriesResourceHierarchyLevel.
      • getTimeSeriesResourceHierarchyLevelCount

        int getTimeSeriesResourceHierarchyLevelCount()
         The scope of the timeseries data of the metric.
         
        repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;
        Returns:
        The count of timeSeriesResourceHierarchyLevel.
      • getTimeSeriesResourceHierarchyLevel

        MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel getTimeSeriesResourceHierarchyLevel​(int index)
         The scope of the timeseries data of the metric.
         
        repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The timeSeriesResourceHierarchyLevel at the given index.
      • getTimeSeriesResourceHierarchyLevelValueList

        java.util.List<java.lang.Integer> getTimeSeriesResourceHierarchyLevelValueList()
         The scope of the timeseries data of the metric.
         
        repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;
        Returns:
        A list containing the enum numeric values on the wire for timeSeriesResourceHierarchyLevel.
      • getTimeSeriesResourceHierarchyLevelValue

        int getTimeSeriesResourceHierarchyLevelValue​(int index)
         The scope of the timeseries data of the metric.
         
        repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of timeSeriesResourceHierarchyLevel at the given index.