public static final class Aggregation.Histogram.Builder extends GeneratedMessageV3.Builder<Aggregation.Histogram.Builder> implements Aggregation.HistogramOrBuilder
Histogram of bucketed assets counts by field value.
Protobuf type google.cloud.migrationcenter.v1.Aggregation.Histogram
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
addAllLowerBounds(Iterable<? extends Double> values)
public Aggregation.Histogram.Builder addAllLowerBounds(Iterable<? extends Double> values)
Lower bounds of buckets.
The response will contain n+1
buckets for n
bounds.
The first bucket will count all assets for which the field value is
smaller than the first bound.
Subsequent buckets will count assets for which the field value is
greater or equal to a lower bound and smaller than the next one.
The last bucket will count assets for which the field value is greater or
equal to the final lower bound.
You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends java.lang.Double>
The lowerBounds to add.
|
addLowerBounds(double value)
public Aggregation.Histogram.Builder addLowerBounds(double value)
Lower bounds of buckets.
The response will contain n+1
buckets for n
bounds.
The first bucket will count all assets for which the field value is
smaller than the first bound.
Subsequent buckets will count assets for which the field value is
greater or equal to a lower bound and smaller than the next one.
The last bucket will count assets for which the field value is greater or
equal to the final lower bound.
You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
Parameter |
Name |
Description |
value |
double
The lowerBounds to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Aggregation.Histogram.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Aggregation.Histogram build()
buildPartial()
public Aggregation.Histogram buildPartial()
clear()
public Aggregation.Histogram.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Aggregation.Histogram.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLowerBounds()
public Aggregation.Histogram.Builder clearLowerBounds()
Lower bounds of buckets.
The response will contain n+1
buckets for n
bounds.
The first bucket will count all assets for which the field value is
smaller than the first bound.
Subsequent buckets will count assets for which the field value is
greater or equal to a lower bound and smaller than the next one.
The last bucket will count assets for which the field value is greater or
equal to the final lower bound.
You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Aggregation.Histogram.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Aggregation.Histogram.Builder clone()
Overrides
getDefaultInstanceForType()
public Aggregation.Histogram getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLowerBounds(int index)
public double getLowerBounds(int index)
Lower bounds of buckets.
The response will contain n+1
buckets for n
bounds.
The first bucket will count all assets for which the field value is
smaller than the first bound.
Subsequent buckets will count assets for which the field value is
greater or equal to a lower bound and smaller than the next one.
The last bucket will count assets for which the field value is greater or
equal to the final lower bound.
You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
double |
The lowerBounds at the given index.
|
getLowerBoundsCount()
public int getLowerBoundsCount()
Lower bounds of buckets.
The response will contain n+1
buckets for n
bounds.
The first bucket will count all assets for which the field value is
smaller than the first bound.
Subsequent buckets will count assets for which the field value is
greater or equal to a lower bound and smaller than the next one.
The last bucket will count assets for which the field value is greater or
equal to the final lower bound.
You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
Returns |
Type |
Description |
int |
The count of lowerBounds.
|
getLowerBoundsList()
public List<Double> getLowerBoundsList()
Lower bounds of buckets.
The response will contain n+1
buckets for n
bounds.
The first bucket will count all assets for which the field value is
smaller than the first bound.
Subsequent buckets will count assets for which the field value is
greater or equal to a lower bound and smaller than the next one.
The last bucket will count assets for which the field value is greater or
equal to the final lower bound.
You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
Returns |
Type |
Description |
List<Double> |
A list containing the lowerBounds.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Aggregation.Histogram other)
public Aggregation.Histogram.Builder mergeFrom(Aggregation.Histogram other)
public Aggregation.Histogram.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Aggregation.Histogram.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Aggregation.Histogram.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Aggregation.Histogram.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLowerBounds(int index, double value)
public Aggregation.Histogram.Builder setLowerBounds(int index, double value)
Lower bounds of buckets.
The response will contain n+1
buckets for n
bounds.
The first bucket will count all assets for which the field value is
smaller than the first bound.
Subsequent buckets will count assets for which the field value is
greater or equal to a lower bound and smaller than the next one.
The last bucket will count assets for which the field value is greater or
equal to the final lower bound.
You can define up to 20 lower bounds.
repeated double lower_bounds = 1;
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
double
The lowerBounds to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Aggregation.Histogram.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Aggregation.Histogram.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides