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, 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
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MetricDescriptor.MetricDescriptorMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MetricDescriptor.MetricDescriptorMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MetricDescriptor.MetricDescriptorMetadata.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
java.io.IOException
public int getLaunchStageValue()
The launch stage of the metric definition.
.google.api.LaunchStage launch_stage = 1;
getLaunchStageValue
in interface MetricDescriptor.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public 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.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 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.MetricDescriptorMetadataOrBuilder
public 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.MetricDescriptorMetadataOrBuilder
public final MetricDescriptor.MetricDescriptorMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>