Class TimeSeriesData.PointData.Builder (3.45.0)

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
Type Description
Descriptor

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
Type Description
TimeSeriesData.PointData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesData.PointData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimeSeriesData.PointData.Builder
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
Name Description
value TypedValue
Returns
Type Description
TimeSeriesData.PointData.Builder

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
Name Description
builderForValue TypedValue.Builder
Returns
Type Description
TimeSeriesData.PointData.Builder

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
Name Description
index int
value TypedValue
Returns
Type Description
TimeSeriesData.PointData.Builder

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
Name Description
index int
builderForValue TypedValue.Builder
Returns
Type Description
TimeSeriesData.PointData.Builder

addValuesBuilder()

public TypedValue.Builder addValuesBuilder()

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Returns
Type Description
TypedValue.Builder

addValuesBuilder(int index)

public TypedValue.Builder addValuesBuilder(int index)

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TypedValue.Builder

build()

public TimeSeriesData.PointData build()
Returns
Type Description
TimeSeriesData.PointData

buildPartial()

public TimeSeriesData.PointData buildPartial()
Returns
Type Description
TimeSeriesData.PointData

clear()

public TimeSeriesData.PointData.Builder clear()
Returns
Type Description
TimeSeriesData.PointData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimeInterval()

public TimeSeriesData.PointData.Builder clearTimeInterval()

The time interval associated with the point.

.google.monitoring.v3.TimeInterval time_interval = 2;

Returns
Type Description
TimeSeriesData.PointData.Builder

clearValues()

public TimeSeriesData.PointData.Builder clearValues()

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Returns
Type Description
TimeSeriesData.PointData.Builder

clone()

public TimeSeriesData.PointData.Builder clone()
Returns
Type Description
TimeSeriesData.PointData.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesData.PointData getDefaultInstanceForType()
Returns
Type Description
TimeSeriesData.PointData

getDescriptorForType()

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

getTimeInterval()

public TimeInterval getTimeInterval()

The time interval associated with the point.

.google.monitoring.v3.TimeInterval time_interval = 2;

Returns
Type Description
TimeInterval

The timeInterval.

getTimeIntervalBuilder()

public TimeInterval.Builder getTimeIntervalBuilder()

The time interval associated with the point.

.google.monitoring.v3.TimeInterval time_interval = 2;

Returns
Type Description
TimeInterval.Builder

getTimeIntervalOrBuilder()

public TimeIntervalOrBuilder getTimeIntervalOrBuilder()

The time interval associated with the point.

.google.monitoring.v3.TimeInterval time_interval = 2;

Returns
Type Description
TimeIntervalOrBuilder

getValues(int index)

public TypedValue getValues(int index)

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TypedValue

getValuesBuilder(int index)

public TypedValue.Builder getValuesBuilder(int index)

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TypedValue.Builder

getValuesBuilderList()

public List<TypedValue.Builder> getValuesBuilderList()

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Returns
Type Description
int

getValuesList()

public List<TypedValue> getValuesList()

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Returns
Type Description
List<TypedValue>

getValuesOrBuilder(int index)

public TypedValueOrBuilder getValuesOrBuilder(int index)

The values that make up the point.

repeated .google.monitoring.v3.TypedValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
TypedValueOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimeSeriesData.PointData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TimeSeriesData.PointData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimeSeriesData.PointData.Builder
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
Name Description
value TimeInterval
Returns
Type Description
TimeSeriesData.PointData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesData.PointData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesData.PointData.Builder
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
Name Description
index int
Returns
Type Description
TimeSeriesData.PointData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TimeSeriesData.PointData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TimeSeriesData.PointData.Builder
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
Name Description
value TimeInterval
Returns
Type Description
TimeSeriesData.PointData.Builder

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
Name Description
builderForValue TimeInterval.Builder
Returns
Type Description
TimeSeriesData.PointData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesData.PointData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesData.PointData.Builder
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
Name Description
index int
value TypedValue
Returns
Type Description
TimeSeriesData.PointData.Builder

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
Name Description
index int
builderForValue TypedValue.Builder
Returns
Type Description
TimeSeriesData.PointData.Builder