Class TimeSeries.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
- com.google.cloud.bigquery.migration.v2.TimeSeries.Builder
-
- All Implemented Interfaces:
TimeSeriesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TimeSeries
public static final class TimeSeries.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder> implements TimeSeriesOrBuilder
The metrics object for a SubTask.
Protobuf typegoogle.cloud.bigquery.migration.v2.TimeSeries
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeSeries.BuilderaddAllPoints(Iterable<? extends Point> values)Required.TimeSeries.BuilderaddPoints(int index, Point value)Required.TimeSeries.BuilderaddPoints(int index, Point.Builder builderForValue)Required.TimeSeries.BuilderaddPoints(Point value)Required.TimeSeries.BuilderaddPoints(Point.Builder builderForValue)Required.Point.BuilderaddPointsBuilder()Required.Point.BuilderaddPointsBuilder(int index)Required.TimeSeries.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TimeSeriesbuild()TimeSeriesbuildPartial()TimeSeries.Builderclear()TimeSeries.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TimeSeries.BuilderclearMetric()Required.TimeSeries.BuilderclearMetricKind()Optional.TimeSeries.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TimeSeries.BuilderclearPoints()Required.TimeSeries.BuilderclearValueType()Required.TimeSeries.Builderclone()TimeSeriesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMetric()Required.com.google.protobuf.ByteStringgetMetricBytes()Required.com.google.api.MetricDescriptor.MetricKindgetMetricKind()Optional.intgetMetricKindValue()Optional.PointgetPoints(int index)Required.Point.BuildergetPointsBuilder(int index)Required.List<Point.Builder>getPointsBuilderList()Required.intgetPointsCount()Required.List<Point>getPointsList()Required.PointOrBuildergetPointsOrBuilder(int index)Required.List<? extends PointOrBuilder>getPointsOrBuilderList()Required.com.google.api.MetricDescriptor.ValueTypegetValueType()Required.intgetValueTypeValue()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TimeSeries.BuildermergeFrom(TimeSeries other)TimeSeries.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TimeSeries.BuildermergeFrom(com.google.protobuf.Message other)TimeSeries.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TimeSeries.BuilderremovePoints(int index)Required.TimeSeries.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TimeSeries.BuildersetMetric(String value)Required.TimeSeries.BuildersetMetricBytes(com.google.protobuf.ByteString value)Required.TimeSeries.BuildersetMetricKind(com.google.api.MetricDescriptor.MetricKind value)Optional.TimeSeries.BuildersetMetricKindValue(int value)Optional.TimeSeries.BuildersetPoints(int index, Point value)Required.TimeSeries.BuildersetPoints(int index, Point.Builder builderForValue)Required.TimeSeries.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TimeSeries.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TimeSeries.BuildersetValueType(com.google.api.MetricDescriptor.ValueType value)Required.TimeSeries.BuildersetValueTypeValue(int value)Required.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
clear
public TimeSeries.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<TimeSeries.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.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
getDefaultInstanceForType
public TimeSeries getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TimeSeries build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TimeSeries buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TimeSeries.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<TimeSeries.Builder>
-
setField
public TimeSeries.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
clearField
public TimeSeries.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
clearOneof
public TimeSeries.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
setRepeatedField
public TimeSeries.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
addRepeatedField
public TimeSeries.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
mergeFrom
public TimeSeries.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimeSeries.Builder>
-
mergeFrom
public TimeSeries.Builder mergeFrom(TimeSeries other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
mergeFrom
public TimeSeries.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimeSeries.Builder>- Throws:
IOException
-
getMetric
public String getMetric()
Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.
string metric = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricin interfaceTimeSeriesOrBuilder- Returns:
- The metric.
-
getMetricBytes
public com.google.protobuf.ByteString getMetricBytes()
Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.
string metric = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMetricBytesin interfaceTimeSeriesOrBuilder- Returns:
- The bytes for metric.
-
setMetric
public TimeSeries.Builder setMetric(String value)
Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.
string metric = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The metric to set.- Returns:
- This builder for chaining.
-
clearMetric
public TimeSeries.Builder clearMetric()
Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.
string metric = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setMetricBytes
public TimeSeries.Builder setMetricBytes(com.google.protobuf.ByteString value)
Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.
string metric = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for metric to set.- Returns:
- This builder for chaining.
-
getValueTypeValue
public int getValueTypeValue()
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getValueTypeValuein interfaceTimeSeriesOrBuilder- Returns:
- The enum numeric value on the wire for valueType.
-
setValueTypeValue
public TimeSeries.Builder setValueTypeValue(int value)
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for valueType to set.- Returns:
- This builder for chaining.
-
getValueType
public com.google.api.MetricDescriptor.ValueType getValueType()
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getValueTypein interfaceTimeSeriesOrBuilder- Returns:
- The valueType.
-
setValueType
public TimeSeries.Builder setValueType(com.google.api.MetricDescriptor.ValueType value)
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The valueType to set.- Returns:
- This builder for chaining.
-
clearValueType
public TimeSeries.Builder clearValueType()
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getMetricKindValue
public int getMetricKindValue()
Optional. The metric kind of the time series. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.
.google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricKindValuein interfaceTimeSeriesOrBuilder- Returns:
- The enum numeric value on the wire for metricKind.
-
setMetricKindValue
public TimeSeries.Builder setMetricKindValue(int value)
Optional. The metric kind of the time series. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.
.google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for metricKind to set.- Returns:
- This builder for chaining.
-
getMetricKind
public com.google.api.MetricDescriptor.MetricKind getMetricKind()
Optional. The metric kind of the time series. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.
.google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricKindin interfaceTimeSeriesOrBuilder- Returns:
- The metricKind.
-
setMetricKind
public TimeSeries.Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value)
Optional. The metric kind of the time series. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.
.google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The metricKind to set.- Returns:
- This builder for chaining.
-
clearMetricKind
public TimeSeries.Builder clearMetricKind()
Optional. The metric kind of the time series. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.
.google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getPointsList
public List<Point> getPointsList()
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPointsListin interfaceTimeSeriesOrBuilder
-
getPointsCount
public int getPointsCount()
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPointsCountin interfaceTimeSeriesOrBuilder
-
getPoints
public Point getPoints(int index)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPointsin interfaceTimeSeriesOrBuilder
-
setPoints
public TimeSeries.Builder setPoints(int index, Point value)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
setPoints
public TimeSeries.Builder setPoints(int index, Point.Builder builderForValue)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
addPoints
public TimeSeries.Builder addPoints(Point value)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
addPoints
public TimeSeries.Builder addPoints(int index, Point value)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
addPoints
public TimeSeries.Builder addPoints(Point.Builder builderForValue)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
addPoints
public TimeSeries.Builder addPoints(int index, Point.Builder builderForValue)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
addAllPoints
public TimeSeries.Builder addAllPoints(Iterable<? extends Point> values)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
clearPoints
public TimeSeries.Builder clearPoints()
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
removePoints
public TimeSeries.Builder removePoints(int index)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
getPointsBuilder
public Point.Builder getPointsBuilder(int index)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
getPointsOrBuilder
public PointOrBuilder getPointsOrBuilder(int index)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPointsOrBuilderin interfaceTimeSeriesOrBuilder
-
getPointsOrBuilderList
public List<? extends PointOrBuilder> getPointsOrBuilderList()
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPointsOrBuilderListin interfaceTimeSeriesOrBuilder
-
addPointsBuilder
public Point.Builder addPointsBuilder()
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
addPointsBuilder
public Point.Builder addPointsBuilder(int index)
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
getPointsBuilderList
public List<Point.Builder> getPointsBuilderList()
Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
setUnknownFields
public final TimeSeries.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
mergeUnknownFields
public final TimeSeries.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
-