public final class MetricPoint extends com.google.protobuf.GeneratedMessageV3 implements MetricPointOrBuilder
MetricPoint is an update to a single measure.Protobuf type
lightstep.metrics.MetricPoint| Modifier and Type | Class and Description |
|---|---|
static class |
MetricPoint.Builder
MetricPoint is an update to a single measure.
|
static class |
MetricPoint.ValueCase |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DOUBLE_VALUE_FIELD_NUMBER |
static int |
DURATION_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
METRIC_NAME_FIELD_NUMBER |
static int |
START_FIELD_NUMBER |
static int |
UINT64_VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MetricPoint |
getDefaultInstance() |
MetricPoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleValue()
double double_value = 7; |
com.google.protobuf.Duration |
getDuration()
Duration of the interval for which the points represent.
|
com.google.protobuf.DurationOrBuilder |
getDurationOrBuilder()
Duration of the interval for which the points represent.
|
MetricKind |
getKind()
Kind indicates the semantics of this point.
|
int |
getKindValue()
Kind indicates the semantics of this point.
|
KeyValue |
getLabels(int index)
Labels contain labels specific to this point.
|
int |
getLabelsCount()
Labels contain labels specific to this point.
|
List<KeyValue> |
getLabelsList()
Labels contain labels specific to this point.
|
KeyValueOrBuilder |
getLabelsOrBuilder(int index)
Labels contain labels specific to this point.
|
List<? extends KeyValueOrBuilder> |
getLabelsOrBuilderList()
Labels contain labels specific to this point.
|
String |
getMetricName()
MetricName indicates the metric being emitted.
|
com.google.protobuf.ByteString |
getMetricNameBytes()
MetricName indicates the metric being emitted.
|
com.google.protobuf.Parser<MetricPoint> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStart()
Start of the interval for which the points represent.
|
com.google.protobuf.TimestampOrBuilder |
getStartOrBuilder()
Start of the interval for which the points represent.
|
long |
getUint64Value()
uint64 uint64_value = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
MetricPoint.ValueCase |
getValueCase() |
boolean |
hasDuration()
Duration of the interval for which the points represent.
|
int |
hashCode() |
boolean |
hasStart()
Start of the interval for which the points represent.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetricPoint.Builder |
newBuilder() |
static MetricPoint.Builder |
newBuilder(MetricPoint prototype) |
MetricPoint.Builder |
newBuilderForType() |
protected MetricPoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static MetricPoint |
parseDelimitedFrom(InputStream input) |
static MetricPoint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricPoint |
parseFrom(byte[] data) |
static MetricPoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricPoint |
parseFrom(ByteBuffer data) |
static MetricPoint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricPoint |
parseFrom(com.google.protobuf.ByteString data) |
static MetricPoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricPoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetricPoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetricPoint |
parseFrom(InputStream input) |
static MetricPoint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MetricPoint> |
parser() |
MetricPoint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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 KIND_FIELD_NUMBER
public static final int METRIC_NAME_FIELD_NUMBER
public static final int START_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int UINT64_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_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 MetricPoint.ValueCase getValueCase()
getValueCase in interface MetricPointOrBuilderpublic int getKindValue()
Kind indicates the semantics of this point. Kind should always be the same for a given metric name (e.g. "cpu.usage" should always have the same kind)
.lightstep.metrics.MetricKind kind = 1;getKindValue in interface MetricPointOrBuilderpublic MetricKind getKind()
Kind indicates the semantics of this point. Kind should always be the same for a given metric name (e.g. "cpu.usage" should always have the same kind)
.lightstep.metrics.MetricKind kind = 1;getKind in interface MetricPointOrBuilderpublic String getMetricName()
MetricName indicates the metric being emitted.
string metric_name = 2;getMetricName in interface MetricPointOrBuilderpublic com.google.protobuf.ByteString getMetricNameBytes()
MetricName indicates the metric being emitted.
string metric_name = 2;getMetricNameBytes in interface MetricPointOrBuilderpublic boolean hasStart()
Start of the interval for which the points represent. - All Counter points will be assumed to represent the entire interval. - All Gauge points will be assumed to be instantaneous at the start of the interval.
.google.protobuf.Timestamp start = 3;hasStart in interface MetricPointOrBuilderpublic com.google.protobuf.Timestamp getStart()
Start of the interval for which the points represent. - All Counter points will be assumed to represent the entire interval. - All Gauge points will be assumed to be instantaneous at the start of the interval.
.google.protobuf.Timestamp start = 3;getStart in interface MetricPointOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
Start of the interval for which the points represent. - All Counter points will be assumed to represent the entire interval. - All Gauge points will be assumed to be instantaneous at the start of the interval.
.google.protobuf.Timestamp start = 3;getStartOrBuilder in interface MetricPointOrBuilderpublic boolean hasDuration()
Duration of the interval for which the points represent. The end of the interval is start + duration. We expect this value to be unset or zero for Gauge points.
.google.protobuf.Duration duration = 4;hasDuration in interface MetricPointOrBuilderpublic com.google.protobuf.Duration getDuration()
Duration of the interval for which the points represent. The end of the interval is start + duration. We expect this value to be unset or zero for Gauge points.
.google.protobuf.Duration duration = 4;getDuration in interface MetricPointOrBuilderpublic com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Duration of the interval for which the points represent. The end of the interval is start + duration. We expect this value to be unset or zero for Gauge points.
.google.protobuf.Duration duration = 4;getDurationOrBuilder in interface MetricPointOrBuilderpublic List<KeyValue> getLabelsList()
Labels contain labels specific to this point.
repeated .lightstep.collector.KeyValue labels = 5;getLabelsList in interface MetricPointOrBuilderpublic List<? extends KeyValueOrBuilder> getLabelsOrBuilderList()
Labels contain labels specific to this point.
repeated .lightstep.collector.KeyValue labels = 5;getLabelsOrBuilderList in interface MetricPointOrBuilderpublic int getLabelsCount()
Labels contain labels specific to this point.
repeated .lightstep.collector.KeyValue labels = 5;getLabelsCount in interface MetricPointOrBuilderpublic KeyValue getLabels(int index)
Labels contain labels specific to this point.
repeated .lightstep.collector.KeyValue labels = 5;getLabels in interface MetricPointOrBuilderpublic KeyValueOrBuilder getLabelsOrBuilder(int index)
Labels contain labels specific to this point.
repeated .lightstep.collector.KeyValue labels = 5;getLabelsOrBuilder in interface MetricPointOrBuilderpublic long getUint64Value()
uint64 uint64_value = 6;getUint64Value in interface MetricPointOrBuilderpublic double getDoubleValue()
double double_value = 7;getDoubleValue in interface MetricPointOrBuilderpublic 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 MetricPoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricPoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricPoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricPoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricPoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetricPoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static MetricPoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetricPoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MetricPoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetricPoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MetricPoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MetricPoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MetricPoint.Builder newBuilder()
public static MetricPoint.Builder newBuilder(MetricPoint prototype)
public MetricPoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MetricPoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MetricPoint getDefaultInstance()
public static com.google.protobuf.Parser<MetricPoint> parser()
public com.google.protobuf.Parser<MetricPoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MetricPoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 LightStep. All rights reserved.