Class Point.Builder (0.54.0)

public static final class Point.Builder extends GeneratedMessageV3.Builder<Point.Builder> implements PointOrBuilder

A single data point in a time series.

Protobuf type google.cloud.bigquery.migration.v2.Point

Implements

PointOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Point.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Point.Builder
Overrides

build()

public Point build()
Returns
Type Description
Point

buildPartial()

public Point buildPartial()
Returns
Type Description
Point

clear()

public Point.Builder clear()
Returns
Type Description
Point.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Point.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Point.Builder
Overrides

clearInterval()

public Point.Builder clearInterval()

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Returns
Type Description
Point.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Point.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Point.Builder
Overrides

clearValue()

public Point.Builder clearValue()

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Returns
Type Description
Point.Builder

clone()

public Point.Builder clone()
Returns
Type Description
Point.Builder
Overrides

getDefaultInstanceForType()

public Point getDefaultInstanceForType()
Returns
Type Description
Point

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInterval()

public TimeInterval getInterval()

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Returns
Type Description
TimeInterval

The interval.

getIntervalBuilder()

public TimeInterval.Builder getIntervalBuilder()

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Returns
Type Description
TimeInterval.Builder

getIntervalOrBuilder()

public TimeIntervalOrBuilder getIntervalOrBuilder()

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Returns
Type Description
TimeIntervalOrBuilder

getValue()

public TypedValue getValue()

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Returns
Type Description
TypedValue

The value.

getValueBuilder()

public TypedValue.Builder getValueBuilder()

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Returns
Type Description
TypedValue.Builder

getValueOrBuilder()

public TypedValueOrBuilder getValueOrBuilder()

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Returns
Type Description
TypedValueOrBuilder

hasInterval()

public boolean hasInterval()

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Returns
Type Description
boolean

Whether the interval field is set.

hasValue()

public boolean hasValue()

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Point other)

public Point.Builder mergeFrom(Point other)
Parameter
Name Description
other Point
Returns
Type Description
Point.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Point.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Point.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Point.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Point.Builder
Overrides

mergeInterval(TimeInterval value)

public Point.Builder mergeInterval(TimeInterval value)

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Parameter
Name Description
value TimeInterval
Returns
Type Description
Point.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Point.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Point.Builder
Overrides

mergeValue(TypedValue value)

public Point.Builder mergeValue(TypedValue value)

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Parameter
Name Description
value TypedValue
Returns
Type Description
Point.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Point.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Point.Builder
Overrides

setInterval(TimeInterval value)

public Point.Builder setInterval(TimeInterval value)

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Parameter
Name Description
value TimeInterval
Returns
Type Description
Point.Builder

setInterval(TimeInterval.Builder builderForValue)

public Point.Builder setInterval(TimeInterval.Builder builderForValue)

The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

.google.cloud.bigquery.migration.v2.TimeInterval interval = 1;

Parameter
Name Description
builderForValue TimeInterval.Builder
Returns
Type Description
Point.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Point.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Point.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Point.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Point.Builder
Overrides

setValue(TypedValue value)

public Point.Builder setValue(TypedValue value)

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Parameter
Name Description
value TypedValue
Returns
Type Description
Point.Builder

setValue(TypedValue.Builder builderForValue)

public Point.Builder setValue(TypedValue.Builder builderForValue)

The value of the data point.

.google.cloud.bigquery.migration.v2.TypedValue value = 2;

Parameter
Name Description
builderForValue TypedValue.Builder
Returns
Type Description
Point.Builder