Class AffinityClusteringConfig.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AffinityClusteringConfig build()
Returns
TypeDescription
AffinityClusteringConfig

buildPartial()

public AffinityClusteringConfig buildPartial()
Returns
TypeDescription
AffinityClusteringConfig

clear()

public AffinityClusteringConfig.Builder clear()
Returns
TypeDescription
AffinityClusteringConfig.Builder
Overrides

clearCompressionRoundCount()

public AffinityClusteringConfig.Builder clearCompressionRoundCount()

Number of iterations to perform. Default value is 1.

int64 compression_round_count = 1;

Returns
TypeDescription
AffinityClusteringConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AffinityClusteringConfig.Builder clone()
Returns
TypeDescription
AffinityClusteringConfig.Builder
Overrides

getCompressionRoundCount()

public long getCompressionRoundCount()

Number of iterations to perform. Default value is 1.

int64 compression_round_count = 1;

Returns
TypeDescription
long

The compressionRoundCount.

getDefaultInstanceForType()

public AffinityClusteringConfig getDefaultInstanceForType()
Returns
TypeDescription
AffinityClusteringConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AffinityClusteringConfig other)

public AffinityClusteringConfig.Builder mergeFrom(AffinityClusteringConfig other)
Parameter
NameDescription
otherAffinityClusteringConfig
Returns
TypeDescription
AffinityClusteringConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AffinityClusteringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The compressionRoundCount to set.

Returns
TypeDescription
AffinityClusteringConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AffinityClusteringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AffinityClusteringConfig.Builder
Overrides

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

public AffinityClusteringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AffinityClusteringConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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