public final class DataPoint extends com.google.protobuf.GeneratedMessageV3 implements DataPointOrBuilder
contracts.DataPoint| Modifier and Type | Class and Description |
|---|---|
static class |
DataPoint.Builder
Protobuf type
contracts.DataPoint |
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 |
COUNT_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
MAX_FIELD_NUMBER |
static int |
MIN_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NS_FIELD_NUMBER |
static int |
STDDEV_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.Int32Value |
getCount()
should not be set for a measurement
|
com.google.protobuf.Int32ValueOrBuilder |
getCountOrBuilder()
should not be set for a measurement
|
static DataPoint |
getDefaultInstance() |
DataPoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DataPointType |
getKind()
Metric type.
|
int |
getKindValue()
Metric type.
|
com.google.protobuf.DoubleValue |
getMax()
should not be set for a measurement
|
com.google.protobuf.DoubleValueOrBuilder |
getMaxOrBuilder()
should not be set for a measurement
|
com.google.protobuf.DoubleValue |
getMin()
should not be set for a measurement
|
com.google.protobuf.DoubleValueOrBuilder |
getMinOrBuilder()
should not be set for a measurement
|
java.lang.String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
java.lang.String |
getNs()
optional string ns = 1; |
com.google.protobuf.ByteString |
getNsBytes()
optional string ns = 1; |
com.google.protobuf.Parser<DataPoint> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.DoubleValue |
getStdDev()
should not be set for a measurement
|
com.google.protobuf.DoubleValueOrBuilder |
getStdDevOrBuilder()
should not be set for a measurement
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
double |
getValue()
Single value for a Measurement, sum of individual measurements for an Aggregation
|
boolean |
hasCount()
should not be set for a measurement
|
int |
hashCode() |
boolean |
hasMax()
should not be set for a measurement
|
boolean |
hasMin()
should not be set for a measurement
|
boolean |
hasStdDev()
should not be set for a measurement
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DataPoint.Builder |
newBuilder() |
static DataPoint.Builder |
newBuilder(DataPoint prototype) |
DataPoint.Builder |
newBuilderForType() |
protected DataPoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DataPoint |
parseDelimitedFrom(java.io.InputStream input) |
static DataPoint |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPoint |
parseFrom(byte[] data) |
static DataPoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPoint |
parseFrom(com.google.protobuf.ByteString data) |
static DataPoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DataPoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataPoint |
parseFrom(java.io.InputStream input) |
static DataPoint |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DataPoint> |
parser() |
DataPoint.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 NS_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int MIN_FIELD_NUMBER
public static final int MAX_FIELD_NUMBER
public static final int STDDEV_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 java.lang.String getNs()
optional string ns = 1;getNs in interface DataPointOrBuilderpublic com.google.protobuf.ByteString getNsBytes()
optional string ns = 1;getNsBytes in interface DataPointOrBuilderpublic java.lang.String getName()
optional string name = 2;getName in interface DataPointOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 2;getNameBytes in interface DataPointOrBuilderpublic int getKindValue()
Metric type. Single measurement or aggregated value
optional .contracts.DataPointType kind = 3;getKindValue in interface DataPointOrBuilderpublic DataPointType getKind()
Metric type. Single measurement or aggregated value
optional .contracts.DataPointType kind = 3;getKind in interface DataPointOrBuilderpublic double getValue()
Single value for a Measurement, sum of individual measurements for an Aggregation
optional double value = 4;getValue in interface DataPointOrBuilderpublic boolean hasCount()
should not be set for a measurement
optional .google.protobuf.Int32Value count = 5;hasCount in interface DataPointOrBuilderpublic com.google.protobuf.Int32Value getCount()
should not be set for a measurement
optional .google.protobuf.Int32Value count = 5;getCount in interface DataPointOrBuilderpublic com.google.protobuf.Int32ValueOrBuilder getCountOrBuilder()
should not be set for a measurement
optional .google.protobuf.Int32Value count = 5;getCountOrBuilder in interface DataPointOrBuilderpublic boolean hasMin()
should not be set for a measurement
optional .google.protobuf.DoubleValue min = 6;hasMin in interface DataPointOrBuilderpublic com.google.protobuf.DoubleValue getMin()
should not be set for a measurement
optional .google.protobuf.DoubleValue min = 6;getMin in interface DataPointOrBuilderpublic com.google.protobuf.DoubleValueOrBuilder getMinOrBuilder()
should not be set for a measurement
optional .google.protobuf.DoubleValue min = 6;getMinOrBuilder in interface DataPointOrBuilderpublic boolean hasMax()
should not be set for a measurement
optional .google.protobuf.DoubleValue max = 7;hasMax in interface DataPointOrBuilderpublic com.google.protobuf.DoubleValue getMax()
should not be set for a measurement
optional .google.protobuf.DoubleValue max = 7;getMax in interface DataPointOrBuilderpublic com.google.protobuf.DoubleValueOrBuilder getMaxOrBuilder()
should not be set for a measurement
optional .google.protobuf.DoubleValue max = 7;getMaxOrBuilder in interface DataPointOrBuilderpublic boolean hasStdDev()
should not be set for a measurement
optional .google.protobuf.DoubleValue stdDev = 8;hasStdDev in interface DataPointOrBuilderpublic com.google.protobuf.DoubleValue getStdDev()
should not be set for a measurement
optional .google.protobuf.DoubleValue stdDev = 8;getStdDev in interface DataPointOrBuilderpublic com.google.protobuf.DoubleValueOrBuilder getStdDevOrBuilder()
should not be set for a measurement
optional .google.protobuf.DoubleValue stdDev = 8;getStdDevOrBuilder in interface DataPointOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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 DataPoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataPoint parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DataPoint parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DataPoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DataPoint parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DataPoint parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DataPoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic DataPoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataPoint.Builder newBuilder()
public static DataPoint.Builder newBuilder(DataPoint prototype)
public DataPoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataPoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DataPoint getDefaultInstance()
public static com.google.protobuf.Parser<DataPoint> parser()
public com.google.protobuf.Parser<DataPoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DataPoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder