public static final class AggregationResult.Histogram extends GeneratedMessageV3 implements AggregationResult.HistogramOrBuilder
The result of a bucketed histogram aggregation.
Protobuf type google.cloud.migrationcenter.v1.AggregationResult.Histogram
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AggregationResult.HistogramImplements
AggregationResult.HistogramOrBuilderStatic Fields
BUCKETS_FIELD_NUMBER
public static final int BUCKETS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AggregationResult.Histogram getDefaultInstance()
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AggregationResult.Histogram.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram.Builder |
newBuilder(AggregationResult.Histogram prototype)
public static AggregationResult.Histogram.Builder newBuilder(AggregationResult.Histogram prototype)
Parameter | |
---|---|
Name | Description |
prototype |
AggregationResult.Histogram |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram.Builder |
parseDelimitedFrom(InputStream input)
public static AggregationResult.Histogram parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AggregationResult.Histogram parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AggregationResult.Histogram parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AggregationResult.Histogram parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AggregationResult.Histogram parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AggregationResult.Histogram parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Histogram parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AggregationResult.Histogram> parser()
Returns | |
---|---|
Type | Description |
Parser<Histogram> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getBuckets(int index)
public AggregationResult.Histogram.Bucket getBuckets(int index)
Buckets in the histogram.
There will be n+1
buckets matching n
lower bounds in the request.
The first bucket will be from -infinity to the first bound.
Subsequent buckets will be between one bound and the next.
The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram.Bucket |
getBucketsCount()
public int getBucketsCount()
Buckets in the histogram.
There will be n+1
buckets matching n
lower bounds in the request.
The first bucket will be from -infinity to the first bound.
Subsequent buckets will be between one bound and the next.
The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
Returns | |
---|---|
Type | Description |
int |
getBucketsList()
public List<AggregationResult.Histogram.Bucket> getBucketsList()
Buckets in the histogram.
There will be n+1
buckets matching n
lower bounds in the request.
The first bucket will be from -infinity to the first bound.
Subsequent buckets will be between one bound and the next.
The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
Returns | |
---|---|
Type | Description |
List<Bucket> |
getBucketsOrBuilder(int index)
public AggregationResult.Histogram.BucketOrBuilder getBucketsOrBuilder(int index)
Buckets in the histogram.
There will be n+1
buckets matching n
lower bounds in the request.
The first bucket will be from -infinity to the first bound.
Subsequent buckets will be between one bound and the next.
The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram.BucketOrBuilder |
getBucketsOrBuilderList()
public List<? extends AggregationResult.Histogram.BucketOrBuilder> getBucketsOrBuilderList()
Buckets in the histogram.
There will be n+1
buckets matching n
lower bounds in the request.
The first bucket will be from -infinity to the first bound.
Subsequent buckets will be between one bound and the next.
The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.migrationcenter.v1.AggregationResult.Histogram.BucketOrBuilder> |
getDefaultInstanceForType()
public AggregationResult.Histogram getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram |
getParserForType()
public Parser<AggregationResult.Histogram> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Histogram> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public AggregationResult.Histogram.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AggregationResult.Histogram.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AggregationResult.Histogram.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AggregationResult.Histogram.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |