public final class TimeSeries extends com.google.protobuf.GeneratedMessageV3 implements TimeSeriesOrBuilder
A collection of data points that describes the time-varying values of a metric.Protobuf type
opencensus.proto.metrics.v1.TimeSeries| Modifier and Type | Class and Description |
|---|---|
static class |
TimeSeries.Builder
A collection of data points that describes the time-varying values
of a metric.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
LABEL_VALUES_FIELD_NUMBER |
static int |
POINTS_FIELD_NUMBER |
static int |
START_TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TimeSeries |
getDefaultInstance() |
TimeSeries |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LabelValue |
getLabelValues(int index)
The set of label values that uniquely identify this timeseries.
|
int |
getLabelValuesCount()
The set of label values that uniquely identify this timeseries.
|
List<LabelValue> |
getLabelValuesList()
The set of label values that uniquely identify this timeseries.
|
LabelValueOrBuilder |
getLabelValuesOrBuilder(int index)
The set of label values that uniquely identify this timeseries.
|
List<? extends LabelValueOrBuilder> |
getLabelValuesOrBuilderList()
The set of label values that uniquely identify this timeseries.
|
com.google.protobuf.Parser<TimeSeries> |
getParserForType() |
Point |
getPoints(int index)
The data points of this timeseries.
|
int |
getPointsCount()
The data points of this timeseries.
|
List<Point> |
getPointsList()
The data points of this timeseries.
|
PointOrBuilder |
getPointsOrBuilder(int index)
The data points of this timeseries.
|
List<? extends PointOrBuilder> |
getPointsOrBuilderList()
The data points of this timeseries.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTimestamp()
Must be present for cumulative metrics.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimestampOrBuilder()
Must be present for cumulative metrics.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStartTimestamp()
Must be present for cumulative metrics.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TimeSeries.Builder |
newBuilder() |
static TimeSeries.Builder |
newBuilder(TimeSeries prototype) |
TimeSeries.Builder |
newBuilderForType() |
protected TimeSeries.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TimeSeries |
parseDelimitedFrom(InputStream input) |
static TimeSeries |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TimeSeries |
parseFrom(byte[] data) |
static TimeSeries |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TimeSeries |
parseFrom(ByteBuffer data) |
static TimeSeries |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TimeSeries |
parseFrom(com.google.protobuf.ByteString data) |
static TimeSeries |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TimeSeries |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TimeSeries |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TimeSeries |
parseFrom(InputStream input) |
static TimeSeries |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TimeSeries> |
parser() |
TimeSeries.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int START_TIMESTAMP_FIELD_NUMBER
public static final int LABEL_VALUES_FIELD_NUMBER
public static final int POINTS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStartTimestamp()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;hasStartTimestamp in interface TimeSeriesOrBuilderpublic com.google.protobuf.Timestamp getStartTimestamp()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;getStartTimestamp in interface TimeSeriesOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimestampOrBuilder()
Must be present for cumulative metrics. The time when the cumulative value was reset to zero. Exclusive. The cumulative value is over the time interval (start_timestamp, timestamp]. If not specified, the backend can use the previous recorded value.
.google.protobuf.Timestamp start_timestamp = 1;getStartTimestampOrBuilder in interface TimeSeriesOrBuilderpublic List<LabelValue> getLabelValuesList()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesList in interface TimeSeriesOrBuilderpublic List<? extends LabelValueOrBuilder> getLabelValuesOrBuilderList()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesOrBuilderList in interface TimeSeriesOrBuilderpublic int getLabelValuesCount()
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesCount in interface TimeSeriesOrBuilderpublic LabelValue getLabelValues(int index)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValues in interface TimeSeriesOrBuilderpublic LabelValueOrBuilder getLabelValuesOrBuilder(int index)
The set of label values that uniquely identify this timeseries. Applies to all points. The order of label values must match that of label keys in the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelValue label_values = 2;getLabelValuesOrBuilder in interface TimeSeriesOrBuilderpublic List<Point> getPointsList()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsList in interface TimeSeriesOrBuilderpublic List<? extends PointOrBuilder> getPointsOrBuilderList()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsOrBuilderList in interface TimeSeriesOrBuilderpublic int getPointsCount()
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsCount in interface TimeSeriesOrBuilderpublic Point getPoints(int index)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPoints in interface TimeSeriesOrBuilderpublic PointOrBuilder getPointsOrBuilder(int index)
The data points of this timeseries. Point.value type MUST match the MetricDescriptor.type.
repeated .opencensus.proto.metrics.v1.Point points = 3;getPointsOrBuilder in interface TimeSeriesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TimeSeries parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TimeSeries parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TimeSeries parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TimeSeries parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TimeSeries parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TimeSeries parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TimeSeries parseFrom(InputStream input) throws IOException
IOExceptionpublic static TimeSeries parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TimeSeries parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TimeSeries parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TimeSeries parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TimeSeries parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TimeSeries.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TimeSeries.Builder newBuilder()
public static TimeSeries.Builder newBuilder(TimeSeries prototype)
public TimeSeries.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TimeSeries.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TimeSeries getDefaultInstance()
public static com.google.protobuf.Parser<TimeSeries> parser()
public com.google.protobuf.Parser<TimeSeries> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TimeSeries getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder