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.Builder
addAllTimeSeriesResourceHierarchyLevel(java.lang.Iterable<? extends MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel> values)
The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.Builder
addAllTimeSeriesResourceHierarchyLevelValue(java.lang.Iterable<java.lang.Integer> values)
The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MetricDescriptor.MetricDescriptorMetadata.Builder
addTimeSeriesResourceHierarchyLevel(MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel value)
The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.Builder
addTimeSeriesResourceHierarchyLevelValue(int value)
The scope of the timeseries data of the metric.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()
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.MetricDescriptor.MetricDescriptorMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MetricDescriptor.MetricDescriptorMetadata.Builder
clearSamplePeriod()
The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.Builder
clearTimeSeriesResourceHierarchyLevel()
The scope of the timeseries data of the metric.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()
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.int
getLaunchStageValue()
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.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.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel
getTimeSeriesResourceHierarchyLevel(int index)
The scope of the timeseries data of the metric.int
getTimeSeriesResourceHierarchyLevelCount()
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.int
getTimeSeriesResourceHierarchyLevelValue(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.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(MetricDescriptor.MetricDescriptorMetadata other)
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
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 value)
The delay of data points caused by ingestion.MetricDescriptor.MetricDescriptorMetadata.Builder
setIngestDelay(com.google.protobuf.Duration.Builder builderForValue)
The delay of data points caused by ingestion.MetricDescriptor.MetricDescriptorMetadata.Builder
setLaunchStage(LaunchStage value)
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.MetricDescriptor.MetricDescriptorMetadata.Builder
setLaunchStageValue(int value)
Deprecated.google.api.MetricDescriptor.MetricDescriptorMetadata.launch_stage is deprecated.MetricDescriptor.MetricDescriptorMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
MetricDescriptor.MetricDescriptorMetadata.Builder
setSamplePeriod(com.google.protobuf.Duration value)
The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.Builder
setSamplePeriod(com.google.protobuf.Duration.Builder builderForValue)
The sampling period of metric data points.MetricDescriptor.MetricDescriptorMetadata.Builder
setTimeSeriesResourceHierarchyLevel(int index, MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel value)
The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.Builder
setTimeSeriesResourceHierarchyLevelValue(int index, int value)
The scope of the timeseries data of the metric.MetricDescriptor.MetricDescriptorMetadata.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
clear
public MetricDescriptor.MetricDescriptorMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
getDefaultInstanceForType
public MetricDescriptor.MetricDescriptorMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MetricDescriptor.MetricDescriptorMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MetricDescriptor.MetricDescriptorMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MetricDescriptor.MetricDescriptorMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
clearField
public MetricDescriptor.MetricDescriptorMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
clearOneof
public MetricDescriptor.MetricDescriptorMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
mergeFrom
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
mergeFrom
public MetricDescriptor.MetricDescriptorMetadata.Builder mergeFrom(MetricDescriptor.MetricDescriptorMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getLaunchStageValue
in 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:
getLaunchStage
in 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:
hasSamplePeriod
in 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:
getSamplePeriod
in 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:
getSamplePeriodOrBuilder
in 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:
hasIngestDelay
in 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:
getIngestDelay
in 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:
getIngestDelayOrBuilder
in 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:
getTimeSeriesResourceHierarchyLevelList
in 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:
getTimeSeriesResourceHierarchyLevelCount
in 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:
getTimeSeriesResourceHierarchyLevel
in 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:
getTimeSeriesResourceHierarchyLevelValueList
in 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:
getTimeSeriesResourceHierarchyLevelValue
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
mergeUnknownFields
public final MetricDescriptor.MetricDescriptorMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricDescriptor.MetricDescriptorMetadata.Builder>
-
-