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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.PointData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addValuesBuilder()
public TypedValue.Builder addValuesBuilder()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
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
|
build()
public TimeSeriesData.PointData build()
buildPartial()
public TimeSeriesData.PointData buildPartial()
clear()
public TimeSeriesData.PointData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesData.PointData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesData.PointData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTimeInterval()
public TimeSeriesData.PointData.Builder clearTimeInterval()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
clearValues()
public TimeSeriesData.PointData.Builder clearValues()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
clone()
public TimeSeriesData.PointData.Builder clone()
Overrides
getDefaultInstanceForType()
public TimeSeriesData.PointData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTimeInterval()
public TimeInterval getTimeInterval()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
getTimeIntervalBuilder()
public TimeInterval.Builder getTimeIntervalBuilder()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
getTimeIntervalOrBuilder()
public TimeIntervalOrBuilder getTimeIntervalOrBuilder()
The time interval associated with the point.
.google.monitoring.v3.TimeInterval time_interval = 2;
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
|
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
|
getValuesBuilderList()
public List<TypedValue.Builder> getValuesBuilderList()
The values that make up the point.
repeated .google.monitoring.v3.TypedValue values = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TimeSeriesData.PointData other)
public TimeSeriesData.PointData.Builder mergeFrom(TimeSeriesData.PointData other)
public TimeSeriesData.PointData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimeSeriesData.PointData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.PointData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesData.PointData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesData.PointData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesData.PointData.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;