public static final class Aggregation.Histogram extends GeneratedMessageV3 implements Aggregation.HistogramOrBuilder
Histogram of bucketed assets counts by field value.
Protobuf type google.cloud.migrationcenter.v1.Aggregation.Histogram
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Aggregation.HistogramImplements
Aggregation.HistogramOrBuilderInherited Members
Static Fields
LOWER_BOUNDS_FIELD_NUMBER
public static final int LOWER_BOUNDS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Aggregation.Histogram getDefaultInstance()
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Aggregation.Histogram.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Aggregation.Histogram.Builder |
newBuilder(Aggregation.Histogram prototype)
public static Aggregation.Histogram.Builder newBuilder(Aggregation.Histogram prototype)
Parameter | |
---|---|
Name | Description |
prototype | Aggregation.Histogram |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram.Builder |
parseDelimitedFrom(InputStream input)
public static Aggregation.Histogram parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Aggregation.Histogram parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Aggregation.Histogram parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Aggregation.Histogram parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Aggregation.Histogram parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Aggregation.Histogram parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Aggregation.Histogram parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Aggregation.Histogram parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Aggregation.Histogram parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Aggregation.Histogram parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Aggregation.Histogram parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Aggregation.Histogram parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Aggregation.Histogram> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Aggregation.Histogram getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Aggregation.Histogram |
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 | int The 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;
getParserForType()
public Parser<Aggregation.Histogram> getParserForType()
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 Aggregation.Histogram.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Aggregation.Histogram.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Aggregation.Histogram.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Aggregation.Histogram.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Aggregation.Histogram.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Aggregation.Histogram.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |