Class AggregationResult.Count.Builder (0.24.0)

public static final class AggregationResult.Count.Builder extends GeneratedMessageV3.Builder<AggregationResult.Count.Builder> implements AggregationResult.CountOrBuilder

The result of a count aggregation.

Protobuf type google.cloud.migrationcenter.v1.AggregationResult.Count

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Count.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AggregationResult.Count.Builder
Overrides

build()

public AggregationResult.Count build()
Returns
Type Description
AggregationResult.Count

buildPartial()

public AggregationResult.Count buildPartial()
Returns
Type Description
AggregationResult.Count

clear()

public AggregationResult.Count.Builder clear()
Returns
Type Description
AggregationResult.Count.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AggregationResult.Count.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AggregationResult.Count.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AggregationResult.Count.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AggregationResult.Count.Builder
Overrides

clearValue()

public AggregationResult.Count.Builder clearValue()

int64 value = 1;

Returns
Type Description
AggregationResult.Count.Builder

This builder for chaining.

clone()

public AggregationResult.Count.Builder clone()
Returns
Type Description
AggregationResult.Count.Builder
Overrides

getDefaultInstanceForType()

public AggregationResult.Count getDefaultInstanceForType()
Returns
Type Description
AggregationResult.Count

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValue()

public long getValue()

int64 value = 1;

Returns
Type Description
long

The value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AggregationResult.Count other)

public AggregationResult.Count.Builder mergeFrom(AggregationResult.Count other)
Parameter
Name Description
other AggregationResult.Count
Returns
Type Description
AggregationResult.Count.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AggregationResult.Count.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregationResult.Count.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AggregationResult.Count.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AggregationResult.Count.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Count.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AggregationResult.Count.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Count.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AggregationResult.Count.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AggregationResult.Count.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AggregationResult.Count.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Count.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AggregationResult.Count.Builder
Overrides

setValue(long value)

public AggregationResult.Count.Builder setValue(long value)

int64 value = 1;

Parameter
Name Description
value long

The value to set.

Returns
Type Description
AggregationResult.Count.Builder

This builder for chaining.