Class Point.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
- com.google.cloud.bigquery.migration.v2alpha.Point.Builder
-
- All Implemented Interfaces:
PointOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Point
public static final class Point.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder> implements PointOrBuilder
A single data point in a time series.
Protobuf typegoogle.cloud.bigquery.migration.v2alpha.Point
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Point.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Pointbuild()PointbuildPartial()Point.Builderclear()Point.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Point.BuilderclearInterval()The time interval to which the data point applies.Point.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Point.BuilderclearValue()The value of the data point.Point.Builderclone()PointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TimeIntervalgetInterval()The time interval to which the data point applies.TimeInterval.BuildergetIntervalBuilder()The time interval to which the data point applies.TimeIntervalOrBuildergetIntervalOrBuilder()The time interval to which the data point applies.TypedValuegetValue()The value of the data point.TypedValue.BuildergetValueBuilder()The value of the data point.TypedValueOrBuildergetValueOrBuilder()The value of the data point.booleanhasInterval()The time interval to which the data point applies.booleanhasValue()The value of the data point.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Point.BuildermergeFrom(Point other)Point.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Point.BuildermergeFrom(com.google.protobuf.Message other)Point.BuildermergeInterval(TimeInterval value)The time interval to which the data point applies.Point.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Point.BuildermergeValue(TypedValue value)The value of the data point.Point.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Point.BuildersetInterval(TimeInterval value)The time interval to which the data point applies.Point.BuildersetInterval(TimeInterval.Builder builderForValue)The time interval to which the data point applies.Point.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Point.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Point.BuildersetValue(TypedValue value)The value of the data point.Point.BuildersetValue(TypedValue.Builder builderForValue)The value of the data point.-
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<Point.Builder>
-
clear
public Point.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<Point.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<Point.Builder>
-
getDefaultInstanceForType
public Point getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Point build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Point buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Point.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<Point.Builder>
-
setField
public Point.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<Point.Builder>
-
clearField
public Point.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
clearOneof
public Point.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
setRepeatedField
public Point.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<Point.Builder>
-
addRepeatedField
public Point.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<Point.Builder>
-
mergeFrom
public Point.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Point.Builder>
-
mergeFrom
public Point.Builder mergeFrom(Point other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
mergeFrom
public Point.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<Point.Builder>- Throws:
IOException
-
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.v2alpha.TimeInterval interval = 1;- Specified by:
hasIntervalin interfacePointOrBuilder- Returns:
- Whether the interval field is set.
-
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.v2alpha.TimeInterval interval = 1;- Specified by:
getIntervalin interfacePointOrBuilder- Returns:
- The interval.
-
setInterval
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.v2alpha.TimeInterval interval = 1;
-
setInterval
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.v2alpha.TimeInterval interval = 1;
-
mergeInterval
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.v2alpha.TimeInterval interval = 1;
-
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.v2alpha.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.v2alpha.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.v2alpha.TimeInterval interval = 1;- Specified by:
getIntervalOrBuilderin interfacePointOrBuilder
-
hasValue
public boolean hasValue()
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;- Specified by:
hasValuein interfacePointOrBuilder- Returns:
- Whether the value field is set.
-
getValue
public TypedValue getValue()
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;- Specified by:
getValuein interfacePointOrBuilder- Returns:
- The value.
-
setValue
public Point.Builder setValue(TypedValue value)
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;
-
setValue
public Point.Builder setValue(TypedValue.Builder builderForValue)
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;
-
mergeValue
public Point.Builder mergeValue(TypedValue value)
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;
-
clearValue
public Point.Builder clearValue()
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;
-
getValueBuilder
public TypedValue.Builder getValueBuilder()
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;
-
getValueOrBuilder
public TypedValueOrBuilder getValueOrBuilder()
The value of the data point.
.google.cloud.bigquery.migration.v2alpha.TypedValue value = 2;- Specified by:
getValueOrBuilderin interfacePointOrBuilder
-
setUnknownFields
public final Point.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
mergeUnknownFields
public final Point.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
-