Class AggregationResult.Count.Builder (0.65.0)

public static final class AggregationResult.Count.Builder extends GeneratedMessage.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

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

clearValue()

public AggregationResult.Count.Builder clearValue()

int64 value = 1;

Returns
Type Description
AggregationResult.Count.Builder

This builder for chaining.

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 GeneratedMessage.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

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.