Package com.google.api
Class MetricDescriptor.MetricDescriptorMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
- com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder
-
- All Implemented Interfaces:
MetricDescriptor.MetricDescriptorMetadataOrBuilder,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- MetricDescriptor.MetricDescriptorMetadata
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 typegoogle.api.MetricDescriptor.MetricDescriptorMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MetricDescriptor.MetricDescriptorMetadata.BuilderaddAllTimeSeriesResourceHierarchyLevel(java.lang.Iterable<? extends MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel> values)The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.BuilderaddAllTimeSeriesResourceHierarchyLevelValue(java.lang.Iterable<java.lang.Integer> values)The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MetricDescriptor.MetricDescriptorMetadata.BuilderaddTimeSeriesResourceHierarchyLevel(MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel value)The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.BuilderaddTimeSeriesResourceHierarchyLevelValue(int value)The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadatabuild()MetricDescriptor.MetricDescriptorMetadatabuildPartial()MetricDescriptor.MetricDescriptorMetadata.Builderclear()MetricDescriptor.MetricDescriptorMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MetricDescriptor.MetricDescriptorMetadata.BuilderclearIngestDelay()The delay of data points caused by ingestion.MetricDescriptor.MetricDescriptorMetadata.BuilderclearLaunchStage()Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.MetricDescriptor.MetricDescriptorMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MetricDescriptor.MetricDescriptorMetadata.BuilderclearSamplePeriod()The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.BuilderclearTimeSeriesResourceHierarchyLevel()The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.Builderclone()MetricDescriptor.MetricDescriptorMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetIngestDelay()The delay of data points caused by ingestion.com.google.protobuf.Duration.BuildergetIngestDelayBuilder()The delay of data points caused by ingestion.com.google.protobuf.DurationOrBuildergetIngestDelayOrBuilder()The delay of data points caused by ingestion.LaunchStagegetLaunchStage()Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.intgetLaunchStageValue()Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.com.google.protobuf.DurationgetSamplePeriod()The sampling period of metric data points.com.google.protobuf.Duration.BuildergetSamplePeriodBuilder()The sampling period of metric data points.com.google.protobuf.DurationOrBuildergetSamplePeriodOrBuilder()The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevelgetTimeSeriesResourceHierarchyLevel(int index)The scope of the timeseries data of the metric.intgetTimeSeriesResourceHierarchyLevelCount()The scope of the timeseries data of the metric.java.util.List<MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel>getTimeSeriesResourceHierarchyLevelList()The scope of the timeseries data of the metric.intgetTimeSeriesResourceHierarchyLevelValue(int index)The scope of the timeseries data of the metric.java.util.List<java.lang.Integer>getTimeSeriesResourceHierarchyLevelValueList()The scope of the timeseries data of the metric.booleanhasIngestDelay()The delay of data points caused by ingestion.booleanhasSamplePeriod()The sampling period of metric data points.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MetricDescriptor.MetricDescriptorMetadata.BuildermergeFrom(MetricDescriptor.MetricDescriptorMetadata other)MetricDescriptor.MetricDescriptorMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MetricDescriptor.MetricDescriptorMetadata.BuildermergeFrom(com.google.protobuf.Message other)MetricDescriptor.MetricDescriptorMetadata.BuildermergeIngestDelay(com.google.protobuf.Duration value)The delay of data points caused by ingestion.MetricDescriptor.MetricDescriptorMetadata.BuildermergeSamplePeriod(com.google.protobuf.Duration value)The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MetricDescriptor.MetricDescriptorMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)MetricDescriptor.MetricDescriptorMetadata.BuildersetIngestDelay(com.google.protobuf.Duration value)The delay of data points caused by ingestion.MetricDescriptor.MetricDescriptorMetadata.BuildersetIngestDelay(com.google.protobuf.Duration.Builder builderForValue)The delay of data points caused by ingestion.MetricDescriptor.MetricDescriptorMetadata.BuildersetLaunchStage(LaunchStage value)Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.MetricDescriptor.MetricDescriptorMetadata.BuildersetLaunchStageValue(int value)Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.MetricDescriptor.MetricDescriptorMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)MetricDescriptor.MetricDescriptorMetadata.BuildersetSamplePeriod(com.google.protobuf.Duration value)The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.BuildersetSamplePeriod(com.google.protobuf.Duration.Builder builderForValue)The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.BuildersetTimeSeriesResourceHierarchyLevel(int index, MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel value)The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.BuildersetTimeSeriesResourceHierarchyLevelValue(int index, int value)The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
clear
public MetricDescriptor.MetricDescriptorMetadata.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
getDefaultInstanceForType
public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MetricDescriptor.MetricDescriptorMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MetricDescriptor.MetricDescriptorMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MetricDescriptor.MetricDescriptorMetadata.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
setField
public MetricDescriptor.MetricDescriptorMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
clearField
public MetricDescriptor.MetricDescriptorMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
clearOneof
public MetricDescriptor.MetricDescriptorMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
setRepeatedField
public MetricDescriptor.MetricDescriptorMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
addRepeatedField
public MetricDescriptor.MetricDescriptorMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
mergeFrom
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
mergeFrom
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(MetricDescriptor.MetricDescriptorMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,MetricDescriptor.MetricDescriptorMetadata.Builder>
-
mergeFrom
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>- Throws:
java.io.IOException
-
getLaunchStageValue
@Deprecated public int getLaunchStageValue()
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=100Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];- Specified by:
getLaunchStageValuein interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
@Deprecated public MetricDescriptor.MetricDescriptorMetadata.Builder setLaunchStageValue(int value)
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=100Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for launchStage to set.- Returns:
- This builder for chaining.
-
getLaunchStage
@Deprecated public LaunchStage getLaunchStage()
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=100Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];- Specified by:
getLaunchStagein interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- The launchStage.
-
setLaunchStage
@Deprecated public MetricDescriptor.MetricDescriptorMetadata.Builder setLaunchStage(LaunchStage value)
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=100Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];- Parameters:
value- The launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
@Deprecated public MetricDescriptor.MetricDescriptorMetadata.Builder clearLaunchStage()
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated. See google/api/metric.proto;l=100Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
.google.api.LaunchStage launch_stage = 1 [deprecated = true];- Returns:
- This builder for chaining.
-
hasSamplePeriod
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;- Specified by:
hasSamplePeriodin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- Whether the samplePeriod field is set.
-
getSamplePeriod
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;- Specified by:
getSamplePeriodin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- The samplePeriod.
-
setSamplePeriod
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;
-
setSamplePeriod
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;
-
mergeSamplePeriod
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;
-
clearSamplePeriod
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;
-
getSamplePeriodBuilder
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;
-
getSamplePeriodOrBuilder
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;- Specified by:
getSamplePeriodOrBuilderin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder
-
hasIngestDelay
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;- Specified by:
hasIngestDelayin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- Whether the ingestDelay field is set.
-
getIngestDelay
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;- Specified by:
getIngestDelayin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- The ingestDelay.
-
setIngestDelay
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;
-
setIngestDelay
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;
-
mergeIngestDelay
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;
-
clearIngestDelay
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;
-
getIngestDelayBuilder
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;
-
getIngestDelayOrBuilder
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;- Specified by:
getIngestDelayOrBuilderin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder
-
getTimeSeriesResourceHierarchyLevelList
public java.util.List<MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel> getTimeSeriesResourceHierarchyLevelList()
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Specified by:
getTimeSeriesResourceHierarchyLevelListin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- A list containing the timeSeriesResourceHierarchyLevel.
-
getTimeSeriesResourceHierarchyLevelCount
public int getTimeSeriesResourceHierarchyLevelCount()
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Specified by:
getTimeSeriesResourceHierarchyLevelCountin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- The count of timeSeriesResourceHierarchyLevel.
-
getTimeSeriesResourceHierarchyLevel
public MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel getTimeSeriesResourceHierarchyLevel(int index)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Specified by:
getTimeSeriesResourceHierarchyLevelin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The timeSeriesResourceHierarchyLevel at the given index.
-
setTimeSeriesResourceHierarchyLevel
public MetricDescriptor.MetricDescriptorMetadata.Builder setTimeSeriesResourceHierarchyLevel(int index, MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel value)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Parameters:
index- The index to set the value at.value- The timeSeriesResourceHierarchyLevel to set.- Returns:
- This builder for chaining.
-
addTimeSeriesResourceHierarchyLevel
public MetricDescriptor.MetricDescriptorMetadata.Builder addTimeSeriesResourceHierarchyLevel(MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel value)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Parameters:
value- The timeSeriesResourceHierarchyLevel to add.- Returns:
- This builder for chaining.
-
addAllTimeSeriesResourceHierarchyLevel
public MetricDescriptor.MetricDescriptorMetadata.Builder addAllTimeSeriesResourceHierarchyLevel(java.lang.Iterable<? extends MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel> values)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Parameters:
values- The timeSeriesResourceHierarchyLevel to add.- Returns:
- This builder for chaining.
-
clearTimeSeriesResourceHierarchyLevel
public MetricDescriptor.MetricDescriptorMetadata.Builder clearTimeSeriesResourceHierarchyLevel()
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Returns:
- This builder for chaining.
-
getTimeSeriesResourceHierarchyLevelValueList
public java.util.List<java.lang.Integer> getTimeSeriesResourceHierarchyLevelValueList()
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Specified by:
getTimeSeriesResourceHierarchyLevelValueListin interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Returns:
- A list containing the enum numeric values on the wire for timeSeriesResourceHierarchyLevel.
-
getTimeSeriesResourceHierarchyLevelValue
public int getTimeSeriesResourceHierarchyLevelValue(int index)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Specified by:
getTimeSeriesResourceHierarchyLevelValuein interfaceMetricDescriptor.MetricDescriptorMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of timeSeriesResourceHierarchyLevel at the given index.
-
setTimeSeriesResourceHierarchyLevelValue
public MetricDescriptor.MetricDescriptorMetadata.Builder setTimeSeriesResourceHierarchyLevelValue(int index, int value)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for timeSeriesResourceHierarchyLevel to set.- Returns:
- This builder for chaining.
-
addTimeSeriesResourceHierarchyLevelValue
public MetricDescriptor.MetricDescriptorMetadata.Builder addTimeSeriesResourceHierarchyLevelValue(int value)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Parameters:
value- The enum numeric value on the wire for timeSeriesResourceHierarchyLevel to add.- Returns:
- This builder for chaining.
-
addAllTimeSeriesResourceHierarchyLevelValue
public MetricDescriptor.MetricDescriptorMetadata.Builder addAllTimeSeriesResourceHierarchyLevelValue(java.lang.Iterable<java.lang.Integer> values)
The scope of the timeseries data of the metric.
repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;- Parameters:
values- The enum numeric values on the wire for timeSeriesResourceHierarchyLevel to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MetricDescriptor.MetricDescriptorMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
mergeUnknownFields
public final MetricDescriptor.MetricDescriptorMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
-