public static final class AffinityClusteringConfig.Builder extends GeneratedMessageV3.Builder<AffinityClusteringConfig.Builder> implements AffinityClusteringConfigOrBuilder
Options for affinity clustering.
Protobuf type google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AffinityClusteringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AffinityClusteringConfig build()
Returns
buildPartial()
public AffinityClusteringConfig buildPartial()
Returns
clear()
public AffinityClusteringConfig.Builder clear()
Returns
Overrides
clearCompressionRoundCount()
public AffinityClusteringConfig.Builder clearCompressionRoundCount()
Number of iterations to perform. Default value is 1.
int64 compression_round_count = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public AffinityClusteringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AffinityClusteringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AffinityClusteringConfig.Builder clone()
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AffinityClusteringConfig other)
public AffinityClusteringConfig.Builder mergeFrom(AffinityClusteringConfig other)
Parameter
Returns
public AffinityClusteringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AffinityClusteringConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AffinityClusteringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public AffinityClusteringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AffinityClusteringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AffinityClusteringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides