Class TimeSeriesData (3.53.0)

public final class TimeSeriesData extends GeneratedMessageV3 implements TimeSeriesDataOrBuilder

Represents the values of a time series associated with a TimeSeriesDescriptor.

Protobuf type google.monitoring.v3.TimeSeriesData

Static Fields

LABEL_VALUES_FIELD_NUMBER

public static final int LABEL_VALUES_FIELD_NUMBER
Field Value
Type Description
int

POINT_DATA_FIELD_NUMBER

public static final int POINT_DATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TimeSeriesData getDefaultInstance()
Returns
Type Description
TimeSeriesData

getDescriptor()

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

newBuilder()

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

newBuilder(TimeSeriesData prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TimeSeriesData getDefaultInstanceForType()
Returns
Type Description
TimeSeriesData

getLabelValues(int index)

public LabelValue getLabelValues(int index)

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

repeated .google.monitoring.v3.LabelValue label_values = 1;

Parameter
Name Description
index int
Returns
Type Description
LabelValue

getLabelValuesCount()

public int getLabelValuesCount()

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

repeated .google.monitoring.v3.LabelValue label_values = 1;

Returns
Type Description
int

getLabelValuesList()

public List<LabelValue> getLabelValuesList()

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

repeated .google.monitoring.v3.LabelValue label_values = 1;

Returns
Type Description
List<LabelValue>

getLabelValuesOrBuilder(int index)

public LabelValueOrBuilder getLabelValuesOrBuilder(int index)

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

repeated .google.monitoring.v3.LabelValue label_values = 1;

Parameter
Name Description
index int
Returns
Type Description
LabelValueOrBuilder

getLabelValuesOrBuilderList()

public List<? extends LabelValueOrBuilder> getLabelValuesOrBuilderList()

The values of the labels in the time series identifier, given in the same order as the label_descriptors field of the TimeSeriesDescriptor associated with this object. Each value must have a value of the type given in the corresponding entry of label_descriptors.

repeated .google.monitoring.v3.LabelValue label_values = 1;

Returns
Type Description
List<? extends com.google.monitoring.v3.LabelValueOrBuilder>

getParserForType()

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

getPointData(int index)

public TimeSeriesData.PointData getPointData(int index)

The points in the time series.

repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesData.PointData

getPointDataCount()

public int getPointDataCount()

The points in the time series.

repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;

Returns
Type Description
int

getPointDataList()

public List<TimeSeriesData.PointData> getPointDataList()

The points in the time series.

repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;

Returns
Type Description
List<PointData>

getPointDataOrBuilder(int index)

public TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder(int index)

The points in the time series.

repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesData.PointDataOrBuilder

getPointDataOrBuilderList()

public List<? extends TimeSeriesData.PointDataOrBuilder> getPointDataOrBuilderList()

The points in the time series.

repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;

Returns
Type Description
List<? extends com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.Builder newBuilderForType()
Returns
Type Description
TimeSeriesData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimeSeriesData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TimeSeriesData.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.Builder toBuilder()
Returns
Type Description
TimeSeriesData.Builder

writeTo(CodedOutputStream output)

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