Package io.opencensus.proto.metrics.v1
Class Point.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
- io.opencensus.proto.metrics.v1.Point.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PointOrBuilder,Cloneable
- Enclosing class:
- Point
public static final class Point.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Point.Builder> implements PointOrBuilder
A timestamped measurement.
Protobuf typeopencensus.proto.metrics.v1.Point
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Point.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Pointbuild()PointbuildPartial()Point.Builderclear()Point.BuilderclearDistributionValue()A distribution value.Point.BuilderclearDoubleValue()A 64-bit double-precision floating-point number.Point.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Point.BuilderclearInt64Value()A 64-bit integer.Point.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Point.BuilderclearSummaryValue()A summary value.Point.BuilderclearTimestamp()The moment when this point was recorded.Point.BuilderclearValue()Point.Builderclone()PointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DistributionValuegetDistributionValue()A distribution value.DistributionValue.BuildergetDistributionValueBuilder()A distribution value.DistributionValueOrBuildergetDistributionValueOrBuilder()A distribution value.doublegetDoubleValue()A 64-bit double-precision floating-point number.longgetInt64Value()A 64-bit integer.SummaryValuegetSummaryValue()A summary value.SummaryValue.BuildergetSummaryValueBuilder()A summary value.SummaryValueOrBuildergetSummaryValueOrBuilder()A summary value.com.google.protobuf.TimestampgetTimestamp()The moment when this point was recorded.com.google.protobuf.Timestamp.BuildergetTimestampBuilder()The moment when this point was recorded.com.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()The moment when this point was recorded.Point.ValueCasegetValueCase()booleanhasDistributionValue()A distribution value.booleanhasDoubleValue()A 64-bit double-precision floating-point number.booleanhasInt64Value()A 64-bit integer.booleanhasSummaryValue()A summary value.booleanhasTimestamp()The moment when this point was recorded.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Point.BuildermergeDistributionValue(DistributionValue value)A distribution value.Point.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Point.BuildermergeFrom(com.google.protobuf.Message other)Point.BuildermergeFrom(Point other)Point.BuildermergeSummaryValue(SummaryValue value)A summary value.Point.BuildermergeTimestamp(com.google.protobuf.Timestamp value)The moment when this point was recorded.Point.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Point.BuildersetDistributionValue(DistributionValue value)A distribution value.Point.BuildersetDistributionValue(DistributionValue.Builder builderForValue)A distribution value.Point.BuildersetDoubleValue(double value)A 64-bit double-precision floating-point number.Point.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Point.BuildersetInt64Value(long value)A 64-bit integer.Point.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Point.BuildersetSummaryValue(SummaryValue value)A summary value.Point.BuildersetSummaryValue(SummaryValue.Builder builderForValue)A summary value.Point.BuildersetTimestamp(com.google.protobuf.Timestamp value)The moment when this point was recorded.Point.BuildersetTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)The moment when this point was recorded.Point.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
clear
public Point.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
getDefaultInstanceForType
public Point getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Point build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Point buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Point.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
setField
public Point.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
clearField
public Point.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
clearOneof
public Point.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
setRepeatedField
public Point.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
addRepeatedField
public Point.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
mergeFrom
public Point.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Point.Builder>
-
mergeFrom
public Point.Builder mergeFrom(Point other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
mergeFrom
public Point.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Point.Builder>- Throws:
IOException
-
getValueCase
public Point.ValueCase getValueCase()
- Specified by:
getValueCasein interfacePointOrBuilder
-
clearValue
public Point.Builder clearValue()
-
hasTimestamp
public 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;- Specified by:
hasTimestampin interfacePointOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public 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;- Specified by:
getTimestampin interfacePointOrBuilder- Returns:
- The timestamp.
-
setTimestamp
public Point.Builder setTimestamp(com.google.protobuf.Timestamp value)
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;
-
setTimestamp
public Point.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;
-
mergeTimestamp
public Point.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;
-
clearTimestamp
public Point.Builder clearTimestamp()
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;
-
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
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
public 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;- Specified by:
getTimestampOrBuilderin interfacePointOrBuilder
-
hasInt64Value
public boolean hasInt64Value()
A 64-bit integer.
int64 int64_value = 2;- Specified by:
hasInt64Valuein interfacePointOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()
A 64-bit integer.
int64 int64_value = 2;- Specified by:
getInt64Valuein interfacePointOrBuilder- Returns:
- The int64Value.
-
setInt64Value
public Point.Builder setInt64Value(long value)
A 64-bit integer.
int64 int64_value = 2;- Parameters:
value- The int64Value to set.- Returns:
- This builder for chaining.
-
clearInt64Value
public Point.Builder clearInt64Value()
A 64-bit integer.
int64 int64_value = 2;- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()
A 64-bit double-precision floating-point number.
double double_value = 3;- Specified by:
hasDoubleValuein interfacePointOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()
A 64-bit double-precision floating-point number.
double double_value = 3;- Specified by:
getDoubleValuein interfacePointOrBuilder- Returns:
- The doubleValue.
-
setDoubleValue
public Point.Builder setDoubleValue(double value)
A 64-bit double-precision floating-point number.
double double_value = 3;- Parameters:
value- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
public Point.Builder clearDoubleValue()
A 64-bit double-precision floating-point number.
double double_value = 3;- Returns:
- This builder for chaining.
-
hasDistributionValue
public boolean hasDistributionValue()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;- Specified by:
hasDistributionValuein interfacePointOrBuilder- Returns:
- Whether the distributionValue field is set.
-
getDistributionValue
public DistributionValue getDistributionValue()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;- Specified by:
getDistributionValuein interfacePointOrBuilder- Returns:
- The distributionValue.
-
setDistributionValue
public Point.Builder setDistributionValue(DistributionValue value)
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;
-
setDistributionValue
public Point.Builder setDistributionValue(DistributionValue.Builder builderForValue)
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;
-
mergeDistributionValue
public Point.Builder mergeDistributionValue(DistributionValue value)
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;
-
clearDistributionValue
public Point.Builder clearDistributionValue()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;
-
getDistributionValueBuilder
public DistributionValue.Builder getDistributionValueBuilder()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;
-
getDistributionValueOrBuilder
public DistributionValueOrBuilder getDistributionValueOrBuilder()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;- Specified by:
getDistributionValueOrBuilderin interfacePointOrBuilder
-
hasSummaryValue
public boolean hasSummaryValue()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;- Specified by:
hasSummaryValuein interfacePointOrBuilder- Returns:
- Whether the summaryValue field is set.
-
getSummaryValue
public SummaryValue getSummaryValue()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;- Specified by:
getSummaryValuein interfacePointOrBuilder- Returns:
- The summaryValue.
-
setSummaryValue
public Point.Builder setSummaryValue(SummaryValue value)
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;
-
setSummaryValue
public Point.Builder setSummaryValue(SummaryValue.Builder builderForValue)
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;
-
mergeSummaryValue
public Point.Builder mergeSummaryValue(SummaryValue value)
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;
-
clearSummaryValue
public Point.Builder clearSummaryValue()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;
-
getSummaryValueBuilder
public SummaryValue.Builder getSummaryValueBuilder()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;
-
getSummaryValueOrBuilder
public SummaryValueOrBuilder getSummaryValueOrBuilder()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;- Specified by:
getSummaryValueOrBuilderin interfacePointOrBuilder
-
setUnknownFields
public final Point.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
mergeUnknownFields
public final Point.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Point.Builder>
-
-