Class TimeSeriesData.PointData.Builder (3.8.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.v3.TypedValue>
Returns
TypeDescription
TimeSeriesData.PointData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesData.PointData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTypedValue
Returns
TypeDescription
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
NameDescription
builderForValueTypedValue.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTypedValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTypedValue.Builder
Returns
TypeDescription
TimeSeriesData.PointData.Builder

addValuesBuilder()

public TypedValue.Builder addValuesBuilder()

The values that make up the point.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TypedValue.Builder

build()

public TimeSeriesData.PointData build()
Returns
TypeDescription
TimeSeriesData.PointData

buildPartial()

public TimeSeriesData.PointData buildPartial()
Returns
TypeDescription
TimeSeriesData.PointData

clear()

public TimeSeriesData.PointData.Builder clear()
Returns
TypeDescription
TimeSeriesData.PointData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesData.PointData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimeSeriesData.PointData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesData.PointData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TimeSeriesData.PointData.Builder

clearValues()

public TimeSeriesData.PointData.Builder clearValues()

The values that make up the point.

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

Returns
TypeDescription
TimeSeriesData.PointData.Builder

clone()

public TimeSeriesData.PointData.Builder clone()
Returns
TypeDescription
TimeSeriesData.PointData.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesData.PointData getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesData.PointData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTimeInterval()

public TimeInterval getTimeInterval()

The time interval associated with the point.

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

Returns
TypeDescription
TimeInterval

The timeInterval.

getTimeIntervalBuilder()

public TimeInterval.Builder getTimeIntervalBuilder()

The time interval associated with the point.

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

Returns
TypeDescription
TimeInterval.Builder

getTimeIntervalOrBuilder()

public TimeIntervalOrBuilder getTimeIntervalOrBuilder()

The time interval associated with the point.

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

Returns
TypeDescription
TimeIntervalOrBuilder

getValues(int index)

public TypedValue getValues(int index)

The values that make up the point.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TypedValue.Builder

getValuesBuilderList()

public List<TypedValue.Builder> getValuesBuilderList()

The values that make up the point.

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

Returns
TypeDescription
List<Builder>

getValuesCount()

public int getValuesCount()

The values that make up the point.

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

Returns
TypeDescription
int

getValuesList()

public List<TypedValue> getValuesList()

The values that make up the point.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TypedValueOrBuilder

getValuesOrBuilderList()

public List<? extends TypedValueOrBuilder> getValuesOrBuilderList()

The values that make up the point.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the timeInterval field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimeSeriesData.PointData other)

public TimeSeriesData.PointData.Builder mergeFrom(TimeSeriesData.PointData other)
Parameter
NameDescription
otherTimeSeriesData.PointData
Returns
TypeDescription
TimeSeriesData.PointData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesData.PointData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesData.PointData.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimeSeriesData.PointData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimeInterval
Returns
TypeDescription
TimeSeriesData.PointData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesData.PointData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TimeSeriesData.PointData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesData.PointData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimeInterval
Returns
TypeDescription
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
NameDescription
builderForValueTimeInterval.Builder
Returns
TypeDescription
TimeSeriesData.PointData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesData.PointData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueTypedValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTypedValue.Builder
Returns
TypeDescription
TimeSeriesData.PointData.Builder