Class AffinityClusteringConfig.Builder (0.45.0)

public static final class AffinityClusteringConfig.Builder extends GeneratedMessageV3.Builder<AffinityClusteringConfig.Builder> implements AffinityClusteringConfigOrBuilder

Options for affinity clustering.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AffinityClusteringConfig build()
Returns
Type Description
AffinityClusteringConfig

buildPartial()

public AffinityClusteringConfig buildPartial()
Returns
Type Description
AffinityClusteringConfig

clear()

public AffinityClusteringConfig.Builder clear()
Returns
Type Description
AffinityClusteringConfig.Builder
Overrides

clearCompressionRoundCount()

public AffinityClusteringConfig.Builder clearCompressionRoundCount()

Number of iterations to perform. Default value is 1.

int64 compression_round_count = 1;

Returns
Type Description
AffinityClusteringConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AffinityClusteringConfig.Builder clone()
Returns
Type Description
AffinityClusteringConfig.Builder
Overrides

getCompressionRoundCount()

public long getCompressionRoundCount()

Number of iterations to perform. Default value is 1.

int64 compression_round_count = 1;

Returns
Type Description
long

The compressionRoundCount.

getDefaultInstanceForType()

public AffinityClusteringConfig getDefaultInstanceForType()
Returns
Type Description
AffinityClusteringConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AffinityClusteringConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompressionRoundCount(long value)

public AffinityClusteringConfig.Builder setCompressionRoundCount(long value)

Number of iterations to perform. Default value is 1.

int64 compression_round_count = 1;

Parameter
Name Description
value long

The compressionRoundCount to set.

Returns
Type Description
AffinityClusteringConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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