Send feedback
Class AggregationResult.Histogram.Bucket.Builder (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.0 keyboard_arrow_down
public static final class AggregationResult . Histogram . Bucket . Builder extends GeneratedMessageV3 . Builder<AggregationResult . Histogram . Bucket . Builder> implements AggregationResult . Histogram . BucketOrBuilder
A histogram bucket with a lower and upper bound, and a count of items
with a field value between those bounds.
The lower bound is inclusive and the upper bound is exclusive.
Lower bound may be -infinity and upper bound may be infinity.
Protobuf type google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket
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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult . Histogram . Bucket . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AggregationResult . Histogram . Bucket build ()
buildPartial()
public AggregationResult . Histogram . Bucket buildPartial ()
clear()
public AggregationResult . Histogram . Bucket . Builder clear ()
Overrides
clearCount()
public AggregationResult . Histogram . Bucket . Builder clearCount ()
Count of items in the bucket.
int64 count = 3;
clearField(Descriptors.FieldDescriptor field)
public AggregationResult . Histogram . Bucket . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLowerBound()
public AggregationResult . Histogram . Bucket . Builder clearLowerBound ()
Lower bound - inclusive.
double lower_bound = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AggregationResult . Histogram . Bucket . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearUpperBound()
public AggregationResult . Histogram . Bucket . Builder clearUpperBound ()
Upper bound - exclusive.
double upper_bound = 2;
clone()
public AggregationResult . Histogram . Bucket . Builder clone ()
Overrides
getCount()
Count of items in the bucket.
int64 count = 3;
Returns Type Description long
The count.
getDefaultInstanceForType()
public AggregationResult . Histogram . Bucket getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getLowerBound()
public double getLowerBound ()
Lower bound - inclusive.
double lower_bound = 1;
Returns Type Description double
The lowerBound.
getUpperBound()
public double getUpperBound ()
Upper bound - exclusive.
double upper_bound = 2;
Returns Type Description double
The upperBound.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AggregationResult.Histogram.Bucket other)
public AggregationResult . Histogram . Bucket . Builder mergeFrom ( AggregationResult . Histogram . Bucket other )
public AggregationResult . Histogram . Bucket . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AggregationResult . Histogram . Bucket . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult . Histogram . Bucket . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCount(long value)
public AggregationResult . Histogram . Bucket . Builder setCount ( long value )
Count of items in the bucket.
int64 count = 3;
Parameter Name Description value
long
The count to set.
setField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult . Histogram . Bucket . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLowerBound(double value)
public AggregationResult . Histogram . Bucket . Builder setLowerBound ( double value )
Lower bound - inclusive.
double lower_bound = 1;
Parameter Name Description value
double
The lowerBound to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AggregationResult . Histogram . Bucket . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult . Histogram . Bucket . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setUpperBound(double value)
public AggregationResult . Histogram . Bucket . Builder setUpperBound ( double value )
Upper bound - exclusive.
double upper_bound = 2;
Parameter Name Description value
double
The upperBound to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]