Class TimeSeriesData.PointData (3.43.0)

public static final class TimeSeriesData.PointData extends GeneratedMessageV3 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 Fields

TIME_INTERVAL_FIELD_NUMBER

public static final int TIME_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TimeSeriesData.PointData getDefaultInstance()
Returns
Type Description
TimeSeriesData.PointData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TimeSeriesData.PointData.Builder newBuilder()
Returns
Type Description
TimeSeriesData.PointData.Builder

newBuilder(TimeSeriesData.PointData prototype)

public static TimeSeriesData.PointData.Builder newBuilder(TimeSeriesData.PointData prototype)
Parameter
Name Description
prototype TimeSeriesData.PointData
Returns
Type Description
TimeSeriesData.PointData.Builder

parseDelimitedFrom(InputStream input)

public static TimeSeriesData.PointData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TimeSeriesData.PointData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimeSeriesData.PointData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimeSeriesData.PointData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TimeSeriesData.PointData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TimeSeriesData.PointData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesData.PointData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TimeSeriesData.PointData> parser()
Returns
Type Description
Parser<PointData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<TimeSeriesData.PointData> getParserForType()
Returns
Type Description
Parser<PointData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TimeSeriesData.PointData.Builder newBuilderForType()
Returns
Type Description
TimeSeriesData.PointData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimeSeriesData.PointData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TimeSeriesData.PointData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TimeSeriesData.PointData.Builder toBuilder()
Returns
Type Description
TimeSeriesData.PointData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException