Class TimeSeriesData.PointData (3.30.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
TypeDescription
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TimeSeriesData.PointData getDefaultInstance()
Returns
TypeDescription
TimeSeriesData.PointData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TimeSeriesData.PointData.Builder newBuilder()
Returns
TypeDescription
TimeSeriesData.PointData.Builder

newBuilder(TimeSeriesData.PointData prototype)

public static TimeSeriesData.PointData.Builder newBuilder(TimeSeriesData.PointData prototype)
Parameter
NameDescription
prototypeTimeSeriesData.PointData
Returns
TypeDescription
TimeSeriesData.PointData.Builder

parseDelimitedFrom(InputStream input)

public static TimeSeriesData.PointData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TimeSeriesData.PointData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimeSeriesData.PointData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimeSeriesData.PointData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TimeSeriesData.PointData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TimeSeriesData.PointData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesData.PointData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesData.PointData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimeInterval()

public TimeInterval getTimeInterval()

The time interval associated with the point.

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

Returns
TypeDescription
TimeInterval

The timeInterval.

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

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TimeSeriesData.PointData.Builder newBuilderForType()
Returns
TypeDescription
TimeSeriesData.PointData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimeSeriesData.PointData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TimeSeriesData.PointData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TimeSeriesData.PointData.Builder toBuilder()
Returns
TypeDescription
TimeSeriesData.PointData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException