public final class Point extends com.google.protobuf.GeneratedMessageV3 implements PointOrBuilder
A timestamped measurement.Protobuf type
opencensus.proto.metrics.v1.Point| Modifier and Type | Class and Description |
|---|---|
static class |
Point.Builder
A timestamped measurement.
|
static class |
Point.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| Modifier and Type | Field and Description |
|---|---|
static int |
DISTRIBUTION_VALUE_FIELD_NUMBER |
static int |
DOUBLE_VALUE_FIELD_NUMBER |
static int |
INT64_VALUE_FIELD_NUMBER |
static int |
SUMMARY_VALUE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Point |
getDefaultInstance() |
Point |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DistributionValue |
getDistributionValue()
A distribution value.
|
DistributionValueOrBuilder |
getDistributionValueOrBuilder()
A distribution value.
|
double |
getDoubleValue()
A 64-bit double-precision floating-point number.
|
long |
getInt64Value()
A 64-bit integer.
|
com.google.protobuf.Parser<Point> |
getParserForType() |
int |
getSerializedSize() |
SummaryValue |
getSummaryValue()
A summary value.
|
SummaryValueOrBuilder |
getSummaryValueOrBuilder()
A summary value.
|
com.google.protobuf.Timestamp |
getTimestamp()
The moment when this point was recorded.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
The moment when this point was recorded.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Point.ValueCase |
getValueCase() |
boolean |
hasDistributionValue()
A distribution value.
|
int |
hashCode() |
boolean |
hasSummaryValue()
A summary value.
|
boolean |
hasTimestamp()
The moment when this point was recorded.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Point.Builder |
newBuilder() |
static Point.Builder |
newBuilder(Point prototype) |
Point.Builder |
newBuilderForType() |
protected Point.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Point |
parseDelimitedFrom(InputStream input) |
static Point |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Point |
parseFrom(byte[] data) |
static Point |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Point |
parseFrom(ByteBuffer data) |
static Point |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Point |
parseFrom(com.google.protobuf.ByteString data) |
static Point |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Point |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Point |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Point |
parseFrom(InputStream input) |
static Point |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Point> |
parser() |
Point.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 TIMESTAMP_FIELD_NUMBER
public static final int INT64_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER
public static final int DISTRIBUTION_VALUE_FIELD_NUMBER
public static final int SUMMARY_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 Point.ValueCase getValueCase()
getValueCase in interface PointOrBuilderpublic boolean hasTimestamp()
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;hasTimestamp in interface PointOrBuilderpublic com.google.protobuf.Timestamp getTimestamp()
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;getTimestamp in interface PointOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;getTimestampOrBuilder in interface PointOrBuilderpublic long getInt64Value()
A 64-bit integer.
int64 int64_value = 2;getInt64Value in interface PointOrBuilderpublic double getDoubleValue()
A 64-bit double-precision floating-point number.
double double_value = 3;getDoubleValue in interface PointOrBuilderpublic boolean hasDistributionValue()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;hasDistributionValue in interface PointOrBuilderpublic DistributionValue getDistributionValue()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;getDistributionValue in interface PointOrBuilderpublic DistributionValueOrBuilder getDistributionValueOrBuilder()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;getDistributionValueOrBuilder in interface PointOrBuilderpublic boolean hasSummaryValue()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;hasSummaryValue in interface PointOrBuilderpublic SummaryValue getSummaryValue()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;getSummaryValue in interface PointOrBuilderpublic SummaryValueOrBuilder getSummaryValueOrBuilder()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;getSummaryValueOrBuilder in interface PointOrBuilderpublic 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 Point parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Point parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Point parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Point parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Point parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Point parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Point parseFrom(InputStream input) throws IOException
IOExceptionpublic static Point parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Point parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Point parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Point parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Point parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Point.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Point.Builder newBuilder()
public static Point.Builder newBuilder(Point prototype)
public Point.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Point.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Point getDefaultInstance()
public static com.google.protobuf.Parser<Point> parser()
public com.google.protobuf.Parser<Point> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Point getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder