public static final class Aggregation.Histogram.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder> implements Aggregation.HistogramOrBuilder
Histogram of bucketed assets counts by field value.Protobuf type
google.cloud.migrationcenter.v1.Aggregation.Histogram| Modifier and Type | Method and Description |
|---|---|
Aggregation.Histogram.Builder |
addAllLowerBounds(Iterable<? extends Double> values)
Lower bounds of buckets.
|
Aggregation.Histogram.Builder |
addLowerBounds(double value)
Lower bounds of buckets.
|
Aggregation.Histogram.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Aggregation.Histogram |
build() |
Aggregation.Histogram |
buildPartial() |
Aggregation.Histogram.Builder |
clear() |
Aggregation.Histogram.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Aggregation.Histogram.Builder |
clearLowerBounds()
Lower bounds of buckets.
|
Aggregation.Histogram.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Aggregation.Histogram.Builder |
clone() |
Aggregation.Histogram |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getLowerBounds(int index)
Lower bounds of buckets.
|
int |
getLowerBoundsCount()
Lower bounds of buckets.
|
List<Double> |
getLowerBoundsList()
Lower bounds of buckets.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Aggregation.Histogram.Builder |
mergeFrom(Aggregation.Histogram other) |
Aggregation.Histogram.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Aggregation.Histogram.Builder |
mergeFrom(com.google.protobuf.Message other) |
Aggregation.Histogram.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Aggregation.Histogram.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Aggregation.Histogram.Builder |
setLowerBounds(int index,
double value)
Lower bounds of buckets.
|
Aggregation.Histogram.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Aggregation.Histogram.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Aggregation.Histogram build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Aggregation.Histogram buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Aggregation.Histogram.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder mergeFrom(Aggregation.Histogram other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public Aggregation.Histogram.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Aggregation.Histogram.Builder>IOExceptionpublic 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;getLowerBoundsList in interface Aggregation.HistogramOrBuilderpublic 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;getLowerBoundsCount in interface Aggregation.HistogramOrBuilderpublic 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;getLowerBounds in interface Aggregation.HistogramOrBuilderindex - The index of the element to return.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;index - The index to set the value at.value - The lowerBounds to set.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;value - The lowerBounds to add.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;values - The lowerBounds to add.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;public final Aggregation.Histogram.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>public final Aggregation.Histogram.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Aggregation.Histogram.Builder>Copyright © 2024 Google LLC. All rights reserved.