public static final class AggregationResult.Histogram.Bucket extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LOWER_BOUND_FIELD_NUMBER
public static final int LOWER_BOUND_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPPER_BOUND_FIELD_NUMBER
public static final int UPPER_BOUND_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AggregationResult.Histogram.Bucket getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AggregationResult.Histogram.Bucket.Builder newBuilder()
newBuilder(AggregationResult.Histogram.Bucket prototype)
public static AggregationResult.Histogram.Bucket.Builder newBuilder(AggregationResult.Histogram.Bucket prototype)
public static AggregationResult.Histogram.Bucket parseDelimitedFrom(InputStream input)
public static AggregationResult.Histogram.Bucket parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AggregationResult.Histogram.Bucket parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram.Bucket parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AggregationResult.Histogram.Bucket parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram.Bucket parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram.Bucket parseFrom(CodedInputStream input)
public static AggregationResult.Histogram.Bucket parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram.Bucket parseFrom(InputStream input)
public static AggregationResult.Histogram.Bucket parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AggregationResult.Histogram.Bucket parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram.Bucket parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AggregationResult.Histogram.Bucket> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCount()
Count of items in the bucket.
int64 count = 3;
Returns |
---|
Type | Description |
long | The count.
|
getDefaultInstanceForType()
public AggregationResult.Histogram.Bucket getDefaultInstanceForType()
getLowerBound()
public double getLowerBound()
Lower bound - inclusive.
double lower_bound = 1;
Returns |
---|
Type | Description |
double | The lowerBound.
|
getParserForType()
public Parser<AggregationResult.Histogram.Bucket> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUpperBound()
public double getUpperBound()
Upper bound - exclusive.
double upper_bound = 2;
Returns |
---|
Type | Description |
double | The upperBound.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AggregationResult.Histogram.Bucket.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AggregationResult.Histogram.Bucket.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AggregationResult.Histogram.Bucket.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides