- 0.54.0 (latest)
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class TimeSeries.Builder extends GeneratedMessageV3.Builder<TimeSeries.Builder> implements TimeSeriesOrBuilder
The metrics object for a SubTask.
Protobuf type google.cloud.bigquery.migration.v2alpha.TimeSeries
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TimeSeries.BuilderImplements
TimeSeriesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllPoints(Iterable<? extends Point> values)
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];
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.migration.v2alpha.Point> |
Type | Description |
TimeSeries.Builder |
addPoints(Point value)
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];
Name | Description |
value | Point |
Type | Description |
TimeSeries.Builder |
addPoints(Point.Builder builderForValue)
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];
Name | Description |
builderForValue | Point.Builder |
Type | Description |
TimeSeries.Builder |
addPoints(int index, Point value)
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];
Name | Description |
index | int |
value | Point |
Type | Description |
TimeSeries.Builder |
addPoints(int index, Point.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | Point.Builder |
Type | Description |
TimeSeries.Builder |
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];
Type | Description |
Point.Builder |
addPointsBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
Point.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeries.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSeries.Builder |
build()
public TimeSeries build()
Type | Description |
TimeSeries |
buildPartial()
public TimeSeries buildPartial()
Type | Description |
TimeSeries |
clear()
public TimeSeries.Builder clear()
Type | Description |
TimeSeries.Builder |
clearField(Descriptors.FieldDescriptor field)
public TimeSeries.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TimeSeries.Builder |
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];
Type | Description |
TimeSeries.Builder | 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];
Type | Description |
TimeSeries.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeries.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TimeSeries.Builder |
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];
Type | Description |
TimeSeries.Builder |
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];
Type | Description |
TimeSeries.Builder | This builder for chaining. |
clone()
public TimeSeries.Builder clone()
Type | Description |
TimeSeries.Builder |
getDefaultInstanceForType()
public TimeSeries getDefaultInstanceForType()
Type | Description |
TimeSeries |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
String | The metric. |
getMetricBytes()
public 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];
Type | Description |
ByteString | The bytes for metric. |
getMetricKind()
public 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];
Type | Description |
com.google.api.MetricDescriptor.MetricKind | The metricKind. |
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];
Type | Description |
int | The enum numeric value on the wire for metricKind. |
getPoints(int index)
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];
Name | Description |
index | int |
Type | Description |
Point |
getPointsBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
Point.Builder |
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];
Type | Description |
List<Builder> |
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];
Type | Description |
int |
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];
Type | Description |
List<Point> |
getPointsOrBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
PointOrBuilder |
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];
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder> |
getValueType()
public MetricDescriptor.ValueType getValueType()
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
com.google.api.MetricDescriptor.ValueType | The valueType. |
getValueTypeValue()
public int getValueTypeValue()
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for valueType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TimeSeries other)
public TimeSeries.Builder mergeFrom(TimeSeries other)
Name | Description |
other | TimeSeries |
Type | Description |
TimeSeries.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSeries.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TimeSeries.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TimeSeries.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TimeSeries.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeries.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimeSeries.Builder |
removePoints(int index)
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];
Name | Description |
index | int |
Type | Description |
TimeSeries.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeries.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSeries.Builder |
setMetric(String value)
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];
Name | Description |
value | String The metric to set. |
Type | Description |
TimeSeries.Builder | This builder for chaining. |
setMetricBytes(ByteString value)
public TimeSeries.Builder setMetricBytes(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];
Name | Description |
value | ByteString The bytes for metric to set. |
Type | Description |
TimeSeries.Builder | This builder for chaining. |
setMetricKind(MetricDescriptor.MetricKind value)
public TimeSeries.Builder setMetricKind(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];
Name | Description |
value | com.google.api.MetricDescriptor.MetricKind The metricKind to set. |
Type | Description |
TimeSeries.Builder | This builder for chaining. |
setMetricKindValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for metricKind to set. |
Type | Description |
TimeSeries.Builder | This builder for chaining. |
setPoints(int index, Point value)
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];
Name | Description |
index | int |
value | Point |
Type | Description |
TimeSeries.Builder |
setPoints(int index, Point.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | Point.Builder |
Type | Description |
TimeSeries.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeries.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TimeSeries.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeries.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimeSeries.Builder |
setValueType(MetricDescriptor.ValueType value)
public TimeSeries.Builder setValueType(MetricDescriptor.ValueType value)
Required. The value type of the time series.
.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | com.google.api.MetricDescriptor.ValueType The valueType to set. |
Type | Description |
TimeSeries.Builder | This builder for chaining. |
setValueTypeValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for valueType to set. |
Type | Description |
TimeSeries.Builder | This builder for chaining. |