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

POINT_DATA_FIELD_NUMBER

public static final int POINT_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TimeSeriesData getDefaultInstance()
Returns
TypeDescription
TimeSeriesData

getDescriptor()

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

newBuilder()

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

newBuilder(TimeSeriesData prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TimeSeriesData getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.monitoring.v3.LabelValueOrBuilder>

getParserForType()

public Parser<TimeSeriesData> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TimeSeriesData.PointData

getPointDataCount()

public int getPointDataCount()

The points in the time series.

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

Returns
TypeDescription
int

getPointDataList()

public List<TimeSeriesData.PointData> getPointDataList()

The points in the time series.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.monitoring.v3.TimeSeriesData.PointDataOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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