Interface MetricDescriptor.MetricDescriptorMetadataOrBuilder (2.48.0)

public static interface MetricDescriptor.MetricDescriptorMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIngestDelay()

public abstract 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
Type Description
Duration

The ingestDelay.

getIngestDelayOrBuilder()

public abstract 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;

Returns
Type Description
DurationOrBuilder

getLaunchStage() (deprecated)

public abstract 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 instead.

.google.api.LaunchStage launch_stage = 1 [deprecated = true];

Returns
Type Description
LaunchStage

The launchStage.

getLaunchStageValue() (deprecated)

public abstract 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 instead.

.google.api.LaunchStage launch_stage = 1 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for launchStage.

getSamplePeriod()

public abstract 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
Type Description
Duration

The samplePeriod.

getSamplePeriodOrBuilder()

public abstract 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;

Returns
Type Description
DurationOrBuilder

getTimeSeriesResourceHierarchyLevel(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel

The timeSeriesResourceHierarchyLevel at the given index.

getTimeSeriesResourceHierarchyLevelCount()

public abstract int getTimeSeriesResourceHierarchyLevelCount()

The scope of the timeseries data of the metric.

repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;

Returns
Type Description
int

The count of timeSeriesResourceHierarchyLevel.

getTimeSeriesResourceHierarchyLevelList()

public abstract 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
Type Description
List<TimeSeriesResourceHierarchyLevel>

A list containing the timeSeriesResourceHierarchyLevel.

getTimeSeriesResourceHierarchyLevelValue(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of timeSeriesResourceHierarchyLevel at the given index.

getTimeSeriesResourceHierarchyLevelValueList()

public abstract List<Integer> getTimeSeriesResourceHierarchyLevelValueList()

The scope of the timeseries data of the metric.

repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for timeSeriesResourceHierarchyLevel.

hasIngestDelay()

public abstract 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
Type Description
boolean

Whether the ingestDelay field is set.

hasSamplePeriod()

public abstract 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
Type Description
boolean

Whether the samplePeriod field is set.