public static final class AggregationResult.Builder extends GeneratedMessageV3.Builder<AggregationResult.Builder> implements AggregationResultOrBuilder
Message describing a result of an aggregation.
Protobuf type google.cloud.migrationcenter.v1.AggregationResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AggregationResult build()
buildPartial()
public AggregationResult buildPartial()
clear()
public AggregationResult.Builder clear()
Overrides
clearCount()
public AggregationResult.Builder clearCount()
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
clearField()
public AggregationResult.Builder clearField()
clearField(Descriptors.FieldDescriptor field)
public AggregationResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFrequency()
public AggregationResult.Builder clearFrequency()
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
clearHistogram()
public AggregationResult.Builder clearHistogram()
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
clearOneof(Descriptors.OneofDescriptor oneof)
public AggregationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResult()
public AggregationResult.Builder clearResult()
clearSum()
public AggregationResult.Builder clearSum()
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
clone()
public AggregationResult.Builder clone()
Overrides
getCount()
public AggregationResult.Count getCount()
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
getCountBuilder()
public AggregationResult.Count.Builder getCountBuilder()
.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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getFrequencyBuilder()
public AggregationResult.Frequency.Builder getFrequencyBuilder()
.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;
getHistogramBuilder()
public AggregationResult.Histogram.Builder getHistogramBuilder()
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
getHistogramOrBuilder()
public AggregationResult.HistogramOrBuilder getHistogramOrBuilder()
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
getResultCase()
public AggregationResult.ResultCase getResultCase()
getSum()
public AggregationResult.Sum getSum()
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
getSumBuilder()
public AggregationResult.Sum.Builder getSumBuilder()
.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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCount(AggregationResult.Count value)
public AggregationResult.Builder mergeCount(AggregationResult.Count value)
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
mergeFrequency(AggregationResult.Frequency value)
public AggregationResult.Builder mergeFrequency(AggregationResult.Frequency value)
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
mergeFrom(AggregationResult other)
public AggregationResult.Builder mergeFrom(AggregationResult other)
public AggregationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AggregationResult.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeHistogram(AggregationResult.Histogram value)
public AggregationResult.Builder mergeHistogram(AggregationResult.Histogram value)
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
mergeSum(AggregationResult.Sum value)
public AggregationResult.Builder mergeSum(AggregationResult.Sum value)
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCount(AggregationResult.Count value)
public AggregationResult.Builder setCount(AggregationResult.Count value)
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
setCount(AggregationResult.Count.Builder builderForValue)
public AggregationResult.Builder setCount(AggregationResult.Count.Builder builderForValue)
.google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public AggregationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setField(String value)
public AggregationResult.Builder setField(String value)
Parameter |
---|
Name | Description |
value | String
The field to set.
|
setFieldBytes(ByteString value)
public AggregationResult.Builder setFieldBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for field to set.
|
setFrequency(AggregationResult.Frequency value)
public AggregationResult.Builder setFrequency(AggregationResult.Frequency value)
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
setFrequency(AggregationResult.Frequency.Builder builderForValue)
public AggregationResult.Builder setFrequency(AggregationResult.Frequency.Builder builderForValue)
.google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
setHistogram(AggregationResult.Histogram value)
public AggregationResult.Builder setHistogram(AggregationResult.Histogram value)
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
setHistogram(AggregationResult.Histogram.Builder builderForValue)
public AggregationResult.Builder setHistogram(AggregationResult.Histogram.Builder builderForValue)
.google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AggregationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSum(AggregationResult.Sum value)
public AggregationResult.Builder setSum(AggregationResult.Sum value)
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
setSum(AggregationResult.Sum.Builder builderForValue)
public AggregationResult.Builder setSum(AggregationResult.Sum.Builder builderForValue)
.google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final AggregationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides