Package com.google.api
Interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricDescriptor.MetricDescriptorMetadata,MetricDescriptor.MetricDescriptorMetadata.Builder
- Enclosing class:
- MetricDescriptor
public static interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationThe delay of data points caused by ingestion.com.google.protobuf.DurationOrBuilderThe delay of data points caused by ingestion.Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.intDeprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.com.google.protobuf.DurationThe sampling period of metric data points.com.google.protobuf.DurationOrBuilderThe sampling period of metric data points.booleanThe delay of data points caused by ingestion.booleanThe sampling period of metric data points.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLaunchStageValue
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=85Deprecated. 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.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=85Deprecated. 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;
-