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.MetricDescriptorMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public 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.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public MetricDescriptor.MetricDescriptorMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public MetricDescriptor.MetricDescriptorMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public MetricDescriptor.MetricDescriptorMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
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.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(MetricDescriptor.MetricDescriptorMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public final MetricDescriptor.MetricDescriptorMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public final MetricDescriptor.MetricDescriptorMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>