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
POINT_DATA_FIELD_NUMBER
public static final int POINT_DATA_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static TimeSeriesData getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static TimeSeriesData.Builder newBuilder()
Returns
newBuilder(TimeSeriesData prototype)
public static TimeSeriesData.Builder newBuilder(TimeSeriesData prototype)
Parameter
Returns
public static TimeSeriesData parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimeSeriesData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TimeSeriesData parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TimeSeriesData parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimeSeriesData parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TimeSeriesData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TimeSeriesData parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TimeSeriesData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TimeSeriesData parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TimeSeriesData> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public TimeSeriesData getDefaultInstanceForType()
Returns
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
Returns
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
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
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
Returns
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
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
Returns
getPointDataCount()
public int getPointDataCount()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
getPointDataList()
public List<TimeSeriesData.PointData> getPointDataList()
The points in the time series.
repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
Returns
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
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public TimeSeriesData.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TimeSeriesData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public TimeSeriesData.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions