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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Float64Stats.HistogramBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Float64Stats.HistogramBucket build()
Returns
buildPartial()
public Float64Stats.HistogramBucket buildPartial()
Returns
clear()
public Float64Stats.HistogramBucket.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public Float64Stats.HistogramBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearMin()
public Float64Stats.HistogramBucket.Builder clearMin()
The minimum value of the bucket, inclusive.
double min = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Float64Stats.HistogramBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Float64Stats.HistogramBucket.Builder clone()
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMax()
The maximum value of the bucket, exclusive unless max = "Infinity"
, in
which case it's inclusive.
double max = 2;
Returns
getMin()
The minimum value of the bucket, inclusive.
double min = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Float64Stats.HistogramBucket other)
public Float64Stats.HistogramBucket.Builder mergeFrom(Float64Stats.HistogramBucket other)
Parameter
Returns
public Float64Stats.HistogramBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Float64Stats.HistogramBucket.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Float64Stats.HistogramBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Float64Stats.HistogramBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Float64Stats.HistogramBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Float64Stats.HistogramBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides