public static final class MetricDescriptor.MetricDescriptorMetadata.Builder extends GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder> implements MetricDescriptor.MetricDescriptorMetadataOrBuilder
Additional annotations that can be used to guide the usage of a metric.Protobuf type
google.api.MetricDescriptor.MetricDescriptorMetadatagetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic MetricDescriptor.MetricDescriptorMetadata buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic MetricDescriptor.MetricDescriptorMetadata.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(MetricDescriptor.MetricDescriptorMetadata other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>java.io.IOException@Deprecated public int getLaunchStageValue()
Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];getLaunchStageValue in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder@Deprecated public MetricDescriptor.MetricDescriptorMetadata.Builder setLaunchStageValue(int value)
Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];@Deprecated public LaunchStage getLaunchStage()
Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];getLaunchStage in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder@Deprecated public MetricDescriptor.MetricDescriptorMetadata.Builder setLaunchStage(LaunchStage value)
Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];@Deprecated public MetricDescriptor.MetricDescriptorMetadata.Builder clearLaunchStage()
Deprecated. Please use the MetricDescriptor.launch_stage instead. The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];public 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;hasSamplePeriod in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic 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;getSamplePeriod in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata.Builder setSamplePeriod(Duration value)
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;public MetricDescriptor.MetricDescriptorMetadata.Builder setSamplePeriod(Duration.Builder builderForValue)
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;public MetricDescriptor.MetricDescriptorMetadata.Builder mergeSamplePeriod(Duration value)
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;public MetricDescriptor.MetricDescriptorMetadata.Builder clearSamplePeriod()
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;public Duration.Builder getSamplePeriodBuilder()
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;public 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;getSamplePeriodOrBuilder in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic 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;hasIngestDelay in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic 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;getIngestDelay in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata.Builder setIngestDelay(Duration value)
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;public MetricDescriptor.MetricDescriptorMetadata.Builder setIngestDelay(Duration.Builder builderForValue)
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;public MetricDescriptor.MetricDescriptorMetadata.Builder mergeIngestDelay(Duration value)
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;public MetricDescriptor.MetricDescriptorMetadata.Builder clearIngestDelay()
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;public Duration.Builder getIngestDelayBuilder()
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;public 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;getIngestDelayOrBuilder in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic final MetricDescriptor.MetricDescriptorMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public final MetricDescriptor.MetricDescriptorMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>