public static final class Float64Stats.HistogramBucket.Builder extends GeneratedMessageV3.Builder<Float64Stats.HistogramBucket.Builder> implements Float64Stats.HistogramBucketOrBuilder
A bucket of a histogram.
Protobuf type google.cloud.automl.v1beta1.Float64Stats.HistogramBucket
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Float64Stats.HistogramBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Float64Stats.HistogramBucket build()
buildPartial()
public Float64Stats.HistogramBucket buildPartial()
clear()
public Float64Stats.HistogramBucket.Builder clear()
Overrides
clearCount()
public Float64Stats.HistogramBucket.Builder clearCount()
The number of data values that are in the bucket, i.e. are between
min and max values.
int64 count = 3;
clearField(Descriptors.FieldDescriptor field)
public Float64Stats.HistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMax()
public Float64Stats.HistogramBucket.Builder clearMax()
The maximum value of the bucket, exclusive unless max = "Infinity"
, in
which case it's inclusive.
double max = 2;
clearMin()
public Float64Stats.HistogramBucket.Builder clearMin()
The minimum value of the bucket, inclusive.
double min = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Float64Stats.HistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Float64Stats.HistogramBucket.Builder clone()
Overrides
getCount()
The number of data values that are in the bucket, i.e. are between
min and max values.
int64 count = 3;
Returns |
Type |
Description |
long |
The count.
|
getDefaultInstanceForType()
public Float64Stats.HistogramBucket getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMax()
The maximum value of the bucket, exclusive unless max = "Infinity"
, in
which case it's inclusive.
double max = 2;
Returns |
Type |
Description |
double |
The max.
|
getMin()
The minimum value of the bucket, inclusive.
double min = 1;
Returns |
Type |
Description |
double |
The min.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Float64Stats.HistogramBucket other)
public Float64Stats.HistogramBucket.Builder mergeFrom(Float64Stats.HistogramBucket other)
public Float64Stats.HistogramBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Float64Stats.HistogramBucket.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Float64Stats.HistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCount(long value)
public Float64Stats.HistogramBucket.Builder setCount(long value)
The number of data values that are in the bucket, i.e. are between
min and max values.
int64 count = 3;
Parameter |
Name |
Description |
value |
long
The count to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Float64Stats.HistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMax(double value)
public Float64Stats.HistogramBucket.Builder setMax(double value)
The maximum value of the bucket, exclusive unless max = "Infinity"
, in
which case it's inclusive.
double max = 2;
Parameter |
Name |
Description |
value |
double
The max to set.
|
setMin(double value)
public Float64Stats.HistogramBucket.Builder setMin(double value)
The minimum value of the bucket, inclusive.
double min = 1;
Parameter |
Name |
Description |
value |
double
The min to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Float64Stats.HistogramBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Float64Stats.HistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides