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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TimeSeriesData.Builder newBuilder()
newBuilder(TimeSeriesData prototype)
public static TimeSeriesData.Builder newBuilder(TimeSeriesData prototype)
public static TimeSeriesData parseDelimitedFrom(InputStream input)
public static TimeSeriesData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TimeSeriesData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TimeSeriesData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(CodedInputStream input)
public static TimeSeriesData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(InputStream input)
public static TimeSeriesData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TimeSeriesData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimeSeriesData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TimeSeriesData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public TimeSeriesData getDefaultInstanceForType()
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
|
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;
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
|
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()
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
|
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;
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
|
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TimeSeriesData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TimeSeriesData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TimeSeriesData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides