Class AggregationResult (0.28.0)

public final class AggregationResult extends GeneratedMessageV3 implements AggregationResultOrBuilder

Message describing a result of an aggregation.

Protobuf type google.cloud.migrationcenter.v1.AggregationResult

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()
Returns
Type Description
AggregationResult

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AggregationResult.Builder newBuilder()
Returns
Type Description
AggregationResult.Builder

newBuilder(AggregationResult prototype)

public static AggregationResult.Builder newBuilder(AggregationResult prototype)
Parameter
Name Description
prototype AggregationResult
Returns
Type Description
AggregationResult.Builder

parseDelimitedFrom(InputStream input)

public static AggregationResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AggregationResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AggregationResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AggregationResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AggregationResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AggregationResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AggregationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AggregationResult> parser()
Returns
Type Description
Parser<AggregationResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCount()

public AggregationResult.Count getCount()

.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;

Returns
Type Description
AggregationResult.Count

The count.

getCountOrBuilder()

public AggregationResult.CountOrBuilder getCountOrBuilder()

.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;

Returns
Type Description
AggregationResult.CountOrBuilder

getDefaultInstanceForType()

public AggregationResult getDefaultInstanceForType()
Returns
Type Description
AggregationResult

getField()

public String getField()

string field = 1;

Returns
Type Description
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

string field = 1;

Returns
Type Description
ByteString

The bytes for field.

getFrequency()

public AggregationResult.Frequency getFrequency()

.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;

Returns
Type Description
AggregationResult.Frequency

The frequency.

getFrequencyOrBuilder()

public AggregationResult.FrequencyOrBuilder getFrequencyOrBuilder()

.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;

Returns
Type Description
AggregationResult.FrequencyOrBuilder

getHistogram()

public AggregationResult.Histogram getHistogram()

.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;

Returns
Type Description
AggregationResult.Histogram

The histogram.

getHistogramOrBuilder()

public AggregationResult.HistogramOrBuilder getHistogramOrBuilder()

.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;

Returns
Type Description
AggregationResult.HistogramOrBuilder

getParserForType()

public Parser<AggregationResult> getParserForType()
Returns
Type Description
Parser<AggregationResult>
Overrides

getResultCase()

public AggregationResult.ResultCase getResultCase()
Returns
Type Description
AggregationResult.ResultCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSum()

public AggregationResult.Sum getSum()

.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;

Returns
Type Description
AggregationResult.Sum

The sum.

getSumOrBuilder()

public AggregationResult.SumOrBuilder getSumOrBuilder()

.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;

Returns
Type Description
AggregationResult.SumOrBuilder

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()

public boolean hasSum()

.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;

Returns
Type Description
boolean

Whether the sum field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AggregationResult.Builder newBuilderForType()
Returns
Type Description
AggregationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AggregationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AggregationResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AggregationResult.Builder toBuilder()
Returns
Type Description
AggregationResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException