public static final class TimeSeriesData.PointData.Builder extends GeneratedMessageV3.Builder<TimeSeriesData.PointData.Builder> implements TimeSeriesData.PointDataOrBuilder
A point's value columns and time interval. Each point has one or more
point values corresponding to the entries in point_descriptors
field in
the TimeSeriesDescriptor associated with this object.
Protobuf type google.monitoring.v3.TimeSeriesData.PointData
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllValues(Iterable<? extends TypedValue> values)
public TimeSeriesData.PointData.Builder addAllValues(Iterable<? extends TypedValue> values)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.v3.TypedValue>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.PointData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addValues(TypedValue value)
public TimeSeriesData.PointData.Builder addValues(TypedValue value)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Returns
addValues(TypedValue.Builder builderForValue)
public TimeSeriesData.PointData.Builder addValues(TypedValue.Builder builderForValue)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Returns
addValues(int index, TypedValue value)
public TimeSeriesData.PointData.Builder addValues(int index, TypedValue value)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameters
Returns
addValues(int index, TypedValue.Builder builderForValue)
public TimeSeriesData.PointData.Builder addValues(int index, TypedValue.Builder builderForValue)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameters
Returns
addValuesBuilder()
public TypedValue.Builder addValuesBuilder()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Returns
addValuesBuilder(int index)
public TypedValue.Builder addValuesBuilder(int index)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Returns
build()
public TimeSeriesData.PointData build()
Returns
buildPartial()
public TimeSeriesData.PointData buildPartial()
Returns
clear()
public TimeSeriesData.PointData.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesData.PointData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesData.PointData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTimeInterval()
public TimeSeriesData.PointData.Builder clearTimeInterval()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Returns
clearValues()
public TimeSeriesData.PointData.Builder clearValues()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Returns
clone()
public TimeSeriesData.PointData.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimeSeriesData.PointData getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTimeInterval()
public TimeInterval getTimeInterval()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Returns
getTimeIntervalBuilder()
public TimeInterval.Builder getTimeIntervalBuilder()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Returns
getTimeIntervalOrBuilder()
public TimeIntervalOrBuilder getTimeIntervalOrBuilder()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Returns
getValues(int index)
public TypedValue getValues(int index)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Returns
getValuesBuilder(int index)
public TypedValue.Builder getValuesBuilder(int index)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Returns
getValuesBuilderList()
public List<TypedValue.Builder> getValuesBuilderList()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Returns
getValuesCount()
public int getValuesCount()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Returns
getValuesList()
public List<TypedValue> getValuesList()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Returns
getValuesOrBuilder(int index)
public TypedValueOrBuilder getValuesOrBuilder(int index)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Returns
getValuesOrBuilderList()
public List<? extends TypedValueOrBuilder> getValuesOrBuilderList()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Returns
Type | Description |
List<? extends com.google.monitoring.v3.TypedValueOrBuilder> | |
hasTimeInterval()
public boolean hasTimeInterval()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Returns
Type | Description |
boolean | Whether the timeInterval field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TimeSeriesData.PointData other)
public TimeSeriesData.PointData.Builder mergeFrom(TimeSeriesData.PointData other)
Parameter
Returns
public TimeSeriesData.PointData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimeSeriesData.PointData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTimeInterval(TimeInterval value)
public TimeSeriesData.PointData.Builder mergeTimeInterval(TimeInterval value)
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.PointData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeValues(int index)
public TimeSeriesData.PointData.Builder removeValues(int index)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.PointData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesData.PointData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTimeInterval(TimeInterval value)
public TimeSeriesData.PointData.Builder setTimeInterval(TimeInterval value)
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Parameter
Returns
setTimeInterval(TimeInterval.Builder builderForValue)
public TimeSeriesData.PointData.Builder setTimeInterval(TimeInterval.Builder builderForValue)
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.PointData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValues(int index, TypedValue value)
public TimeSeriesData.PointData.Builder setValues(int index, TypedValue value)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameters
Returns
setValues(int index, TypedValue.Builder builderForValue)
public TimeSeriesData.PointData.Builder setValues(int index, TypedValue.Builder builderForValue)
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
Parameters
Returns