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 type
google.monitoring.v3.Point| Modifier and Type | Method and Description |
|---|---|
Point.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Point |
build() |
Point |
buildPartial() |
Point.Builder |
clear() |
Point.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Point.Builder |
clearInterval()
The time interval to which the data point applies.
|
Point.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Point.Builder |
clearValue()
The value of the data point.
|
Point.Builder |
clone() |
Point |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TimeInterval |
getInterval()
The time interval to which the data point applies.
|
TimeInterval.Builder |
getIntervalBuilder()
The time interval to which the data point applies.
|
TimeIntervalOrBuilder |
getIntervalOrBuilder()
The time interval to which the data point applies.
|
TypedValue |
getValue()
The value of the data point.
|
TypedValue.Builder |
getValueBuilder()
The value of the data point.
|
TypedValueOrBuilder |
getValueOrBuilder()
The value of the data point.
|
boolean |
hasInterval()
The time interval to which the data point applies.
|
boolean |
hasValue()
The value of the data point.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Point.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Point.Builder |
mergeFrom(com.google.protobuf.Message other) |
Point.Builder |
mergeFrom(Point other) |
Point.Builder |
mergeInterval(TimeInterval value)
The time interval to which the data point applies.
|
Point.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Point.Builder |
mergeValue(TypedValue value)
The value of the data point.
|
Point.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Point.Builder |
setInterval(TimeInterval.Builder builderForValue)
The time interval to which the data point applies.
|
Point.Builder |
setInterval(TimeInterval value)
The time interval to which the data point applies.
|
Point.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Point.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Point.Builder |
setValue(TypedValue.Builder builderForValue)
The value of the data point.
|
Point.Builder |
setValue(TypedValue value)
The value of the data point.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Point build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Point buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Point.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Point.Builder>public Point.Builder mergeFrom(Point other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public Point.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Point.Builder>java.io.IOExceptionpublic boolean hasInterval()
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;hasInterval in interface PointOrBuilderpublic TimeInterval getInterval()
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;getInterval in interface PointOrBuilderpublic Point.Builder setInterval(TimeInterval value)
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;public Point.Builder setInterval(TimeInterval.Builder builderForValue)
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;public Point.Builder mergeInterval(TimeInterval value)
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;public Point.Builder clearInterval()
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;public TimeInterval.Builder getIntervalBuilder()
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;public TimeIntervalOrBuilder getIntervalOrBuilder()
The time interval to which the data point applies. For GAUGE metrics, only the end time of the interval is used. 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.monitoring.v3.TimeInterval interval = 1;getIntervalOrBuilder in interface PointOrBuilderpublic boolean hasValue()
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;hasValue in interface PointOrBuilderpublic TypedValue getValue()
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;getValue in interface PointOrBuilderpublic Point.Builder setValue(TypedValue value)
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;public Point.Builder setValue(TypedValue.Builder builderForValue)
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;public Point.Builder mergeValue(TypedValue value)
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;public Point.Builder clearValue()
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;public TypedValue.Builder getValueBuilder()
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;public TypedValueOrBuilder getValueOrBuilder()
The value of the data point.
.google.monitoring.v3.TypedValue value = 2;getValueOrBuilder in interface PointOrBuilderpublic final Point.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>public final Point.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>