public final class AggregationResult extends GeneratedMessageV3 implements AggregationResultOrBuilder
Message describing a result of an aggregation.
Protobuf type google.cloud.migrationcenter.v1.AggregationResult
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 | |
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FREQUENCY_FIELD_NUMBER
public static final int FREQUENCY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HISTOGRAM_FIELD_NUMBER
public static final int HISTOGRAM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUM_FIELD_NUMBER
public static final int SUM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AggregationResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AggregationResult.Builder newBuilder()
newBuilder(AggregationResult prototype)
public static AggregationResult.Builder newBuilder(AggregationResult prototype)
public static AggregationResult parseDelimitedFrom(InputStream input)
public static AggregationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AggregationResult parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AggregationResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult parseFrom(CodedInputStream input)
public static AggregationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult parseFrom(InputStream input)
public static AggregationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AggregationResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AggregationResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCount()
public AggregationResult.Count getCount()
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
getCountOrBuilder()
public AggregationResult.CountOrBuilder getCountOrBuilder()
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
getDefaultInstanceForType()
public AggregationResult getDefaultInstanceForType()
getField()
Returns |
---|
Type | Description |
String | The field.
|
getFieldBytes()
public ByteString getFieldBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for field.
|
getFrequency()
public AggregationResult.Frequency getFrequency()
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
getFrequencyOrBuilder()
public AggregationResult.FrequencyOrBuilder getFrequencyOrBuilder()
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
getHistogram()
public AggregationResult.Histogram getHistogram()
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
getHistogramOrBuilder()
public AggregationResult.HistogramOrBuilder getHistogramOrBuilder()
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
getParserForType()
public Parser<AggregationResult> getParserForType()
Overrides
getResultCase()
public AggregationResult.ResultCase getResultCase()
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSum()
public AggregationResult.Sum getSum()
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
getSumOrBuilder()
public AggregationResult.SumOrBuilder getSumOrBuilder()
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
hasCount()
public boolean hasCount()
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
Returns |
---|
Type | Description |
boolean | Whether the count field is set.
|
hasFrequency()
public boolean hasFrequency()
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
Returns |
---|
Type | Description |
boolean | Whether the frequency field is set.
|
hasHistogram()
public boolean hasHistogram()
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
Returns |
---|
Type | Description |
boolean | Whether the histogram field is set.
|
hasSum()
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
Returns |
---|
Type | Description |
boolean | Whether the sum field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AggregationResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AggregationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AggregationResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides