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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Point.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Point |
|
buildPartial()
public Point buildPartial()
Returns |
Type |
Description |
Point |
|
clear()
public Point.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Point.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Point.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public Point.Builder clearValue()
The value of the data point.
.google.cloud.bigquery.migration.v2.TypedValue value = 2;
clone()
public Point.Builder clone()
Overrides
getDefaultInstanceForType()
public Point getDefaultInstanceForType()
Returns |
Type |
Description |
Point |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
getValue()
public TypedValue getValue()
The value of the data point.
.google.cloud.bigquery.migration.v2.TypedValue value = 2;
getValueBuilder()
public TypedValue.Builder getValueBuilder()
The value of the data point.
.google.cloud.bigquery.migration.v2.TypedValue value = 2;
getValueOrBuilder()
public TypedValueOrBuilder getValueOrBuilder()
The value of the data point.
.google.cloud.bigquery.migration.v2.TypedValue value = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Point other)
public Point.Builder mergeFrom(Point other)
Parameter |
Name |
Description |
other |
Point
|
public Point.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Point.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Point.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeValue(TypedValue value)
public Point.Builder mergeValue(TypedValue value)
The value of the data point.
.google.cloud.bigquery.migration.v2.TypedValue value = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public Point.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Point.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Point.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(TypedValue value)
public Point.Builder setValue(TypedValue value)
The value of the data point.
.google.cloud.bigquery.migration.v2.TypedValue value = 2;
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;