Class AggregationResult.Count.Builder (0.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Count.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

build()

public AggregationResult.Count build()
Returns
TypeDescription
AggregationResult.Count

buildPartial()

public AggregationResult.Count buildPartial()
Returns
TypeDescription
AggregationResult.Count

clear()

public AggregationResult.Count.Builder clear()
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AggregationResult.Count.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AggregationResult.Count.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

clearValue()

public AggregationResult.Count.Builder clearValue()

int64 value = 1;

Returns
TypeDescription
AggregationResult.Count.Builder

This builder for chaining.

clone()

public AggregationResult.Count.Builder clone()
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

getDefaultInstanceForType()

public AggregationResult.Count getDefaultInstanceForType()
Returns
TypeDescription
AggregationResult.Count

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValue()

public long getValue()

int64 value = 1;

Returns
TypeDescription
long

The value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AggregationResult.Count other)

public AggregationResult.Count.Builder mergeFrom(AggregationResult.Count other)
Parameter
NameDescription
otherAggregationResult.Count
Returns
TypeDescription
AggregationResult.Count.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AggregationResult.Count.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AggregationResult.Count.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Count.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AggregationResult.Count.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AggregationResult.Count.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AggregationResult.Count.Builder
Overrides

setValue(long value)

public AggregationResult.Count.Builder setValue(long value)

int64 value = 1;

Parameter
NameDescription
valuelong

The value to set.

Returns
TypeDescription
AggregationResult.Count.Builder

This builder for chaining.