Interface MetricDescriptor.MetricDescriptorMetadataOrBuilder (2.26.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
TypeDescription
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
TypeDescription
DurationOrBuilder

getLaunchStage() (deprecated)

public abstract LaunchStage getLaunchStage()

Deprecated. google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=85

Deprecated. Must use the MetricDescriptor.launch_stage instead.

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

Returns
TypeDescription
LaunchStage

The launchStage.

getLaunchStageValue() (deprecated)

public abstract int getLaunchStageValue()

Deprecated. google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=85

Deprecated. Must use the MetricDescriptor.launch_stage instead.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

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
TypeDescription
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
TypeDescription
boolean

Whether the samplePeriod field is set.