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.v2alpha.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.v2alpha.TimeSeries
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeSeries.Builder
addAllPoints(Iterable<? extends Point> values)
Required.TimeSeries.Builder
addPoints(int index, Point value)
Required.TimeSeries.Builder
addPoints(int index, Point.Builder builderForValue)
Required.TimeSeries.Builder
addPoints(Point value)
Required.TimeSeries.Builder
addPoints(Point.Builder builderForValue)
Required.Point.Builder
addPointsBuilder()
Required.Point.Builder
addPointsBuilder(int index)
Required.TimeSeries.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TimeSeries
build()
TimeSeries
buildPartial()
TimeSeries.Builder
clear()
TimeSeries.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TimeSeries.Builder
clearMetric()
Required.TimeSeries.Builder
clearMetricKind()
Optional.TimeSeries.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TimeSeries.Builder
clearPoints()
Required.TimeSeries.Builder
clearValueType()
Required.TimeSeries.Builder
clone()
TimeSeries
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMetric()
Required.com.google.protobuf.ByteString
getMetricBytes()
Required.com.google.api.MetricDescriptor.MetricKind
getMetricKind()
Optional.int
getMetricKindValue()
Optional.Point
getPoints(int index)
Required.Point.Builder
getPointsBuilder(int index)
Required.List<Point.Builder>
getPointsBuilderList()
Required.int
getPointsCount()
Required.List<Point>
getPointsList()
Required.PointOrBuilder
getPointsOrBuilder(int index)
Required.List<? extends PointOrBuilder>
getPointsOrBuilderList()
Required.com.google.api.MetricDescriptor.ValueType
getValueType()
Required.int
getValueTypeValue()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TimeSeries.Builder
mergeFrom(TimeSeries other)
TimeSeries.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TimeSeries.Builder
mergeFrom(com.google.protobuf.Message other)
TimeSeries.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TimeSeries.Builder
removePoints(int index)
Required.TimeSeries.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TimeSeries.Builder
setMetric(String value)
Required.TimeSeries.Builder
setMetricBytes(com.google.protobuf.ByteString value)
Required.TimeSeries.Builder
setMetricKind(com.google.api.MetricDescriptor.MetricKind value)
Optional.TimeSeries.Builder
setMetricKindValue(int value)
Optional.TimeSeries.Builder
setPoints(int index, Point value)
Required.TimeSeries.Builder
setPoints(int index, Point.Builder builderForValue)
Required.TimeSeries.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TimeSeries.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TimeSeries.Builder
setValueType(com.google.api.MetricDescriptor.ValueType value)
Required.TimeSeries.Builder
setValueTypeValue(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
clear
public TimeSeries.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<TimeSeries.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.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
getDefaultInstanceForType
public TimeSeries getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TimeSeries build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TimeSeries buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TimeSeries.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<TimeSeries.Builder>
-
setField
public TimeSeries.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
clearField
public TimeSeries.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<TimeSeries.Builder>
-
clearOneof
public TimeSeries.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<TimeSeries.Builder>
-
setRepeatedField
public TimeSeries.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
addRepeatedField
public TimeSeries.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
mergeFrom
public TimeSeries.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TimeSeries.Builder>
-
mergeFrom
public TimeSeries.Builder mergeFrom(TimeSeries other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getMetric
in 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:
getMetricBytes
in 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:
getValueTypeValue
in 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:
getValueType
in 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:
getMetricKindValue
in 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:
getMetricKind
in 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.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPointsList
in 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.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPointsCount
in 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.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPoints
in 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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPointsOrBuilder
in 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.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPointsOrBuilderList
in 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.v2alpha.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.v2alpha.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.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
-
setUnknownFields
public final TimeSeries.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
mergeUnknownFields
public final TimeSeries.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>
-
-