public static final class MetricDescriptor.MetricDescriptorMetadata.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
MetricDescriptor.MetricDescriptorMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MetricDescriptor.MetricDescriptorMetadata |
build() |
MetricDescriptor.MetricDescriptorMetadata |
buildPartial() |
MetricDescriptor.MetricDescriptorMetadata.Builder |
clear() |
MetricDescriptor.MetricDescriptorMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
clearIngestDelay()
The delay of data points caused by ingestion.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
clearLaunchStage()
The launch stage of the metric definition.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
clearSamplePeriod()
The sampling period of metric data points.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
clone() |
MetricDescriptor.MetricDescriptorMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getIngestDelay()
The delay of data points caused by ingestion.
|
com.google.protobuf.Duration.Builder |
getIngestDelayBuilder()
The delay of data points caused by ingestion.
|
com.google.protobuf.DurationOrBuilder |
getIngestDelayOrBuilder()
The delay of data points caused by ingestion.
|
LaunchStage |
getLaunchStage()
The launch stage of the metric definition.
|
int |
getLaunchStageValue()
The launch stage of the metric definition.
|
com.google.protobuf.Duration |
getSamplePeriod()
The sampling period of metric data points.
|
com.google.protobuf.Duration.Builder |
getSamplePeriodBuilder()
The sampling period of metric data points.
|
com.google.protobuf.DurationOrBuilder |
getSamplePeriodOrBuilder()
The sampling period of metric data points.
|
boolean |
hasIngestDelay()
The delay of data points caused by ingestion.
|
boolean |
hasSamplePeriod()
The sampling period of metric data points.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MetricDescriptor.MetricDescriptorMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
mergeFrom(MetricDescriptor.MetricDescriptorMetadata other) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
mergeIngestDelay(com.google.protobuf.Duration value)
The delay of data points caused by ingestion.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
mergeSamplePeriod(com.google.protobuf.Duration value)
The sampling period of metric data points.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
setIngestDelay(com.google.protobuf.Duration.Builder builderForValue)
The delay of data points caused by ingestion.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
setIngestDelay(com.google.protobuf.Duration value)
The delay of data points caused by ingestion.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
setLaunchStage(LaunchStage value)
The launch stage of the metric definition.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
setLaunchStageValue(int value)
The launch stage of the metric definition.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
MetricDescriptor.MetricDescriptorMetadata.Builder |
setSamplePeriod(com.google.protobuf.Duration.Builder builderForValue)
The sampling period of metric data points.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
setSamplePeriod(com.google.protobuf.Duration value)
The sampling period of metric data points.
|
MetricDescriptor.MetricDescriptorMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MetricDescriptor.MetricDescriptorMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MetricDescriptor.MetricDescriptorMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(MetricDescriptor.MetricDescriptorMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>java.io.IOExceptionpublic int getLaunchStageValue()
The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1;getLaunchStageValue in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata.Builder setLaunchStageValue(int value)
The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1;public LaunchStage getLaunchStage()
The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1;getLaunchStage in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata.Builder setLaunchStage(LaunchStage value)
The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1;public MetricDescriptor.MetricDescriptorMetadata.Builder clearLaunchStage()
The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1;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 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;getSamplePeriod in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata.Builder setSamplePeriod(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 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;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 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;getIngestDelay in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic MetricDescriptor.MetricDescriptorMetadata.Builder setIngestDelay(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 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;getIngestDelayOrBuilder in interface MetricDescriptor.MetricDescriptorMetadataOrBuilderpublic final MetricDescriptor.MetricDescriptorMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>public final MetricDescriptor.MetricDescriptorMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>