- 0.67.0 (latest)
- 0.65.0
- 0.64.0
- 0.62.0
- 0.60.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Aggregation.Histogram.Builder extends GeneratedMessage.Builder<Aggregation.Histogram.Builder> implements Aggregation.HistogramOrBuilderHistogram of bucketed assets counts by field value.
Protobuf type google.cloud.migrationcenter.v1.Aggregation.Histogram
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Aggregation.Histogram.BuilderImplements
Aggregation.HistogramOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
This builder for chaining. |
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 |
doubleThe lowerBounds to add. |
| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
This builder for chaining. |
build()
public Aggregation.Histogram build()| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram |
|
buildPartial()
public Aggregation.Histogram buildPartial()| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram |
|
clear()
public Aggregation.Histogram.Builder clear()| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Aggregation.Histogram getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Aggregation.Histogram other)
public Aggregation.Histogram.Builder mergeFrom(Aggregation.Histogram other)| Parameter | |
|---|---|
| Name | Description |
other |
Aggregation.Histogram |
| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Aggregation.Histogram.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Aggregation.Histogram.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
|
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 |
intThe index to set the value at. |
value |
doubleThe lowerBounds to set. |
| Returns | |
|---|---|
| Type | Description |
Aggregation.Histogram.Builder |
This builder for chaining. |