public static final class ConnectedComponentsConfig.Builder extends GeneratedMessageV3.Builder<ConnectedComponentsConfig.Builder> implements ConnectedComponentsConfigOrBuilder
Options for connected components.
Protobuf type google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig
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 ConnectedComponentsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConnectedComponentsConfig build()
Returns
buildPartial()
public ConnectedComponentsConfig buildPartial()
Returns
clear()
public ConnectedComponentsConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConnectedComponentsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectedComponentsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWeightThreshold()
public ConnectedComponentsConfig.Builder clearWeightThreshold()
Threshold used for connected components. Default value is 0.85.
float weight_threshold = 1;
Returns
clone()
public ConnectedComponentsConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ConnectedComponentsConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getWeightThreshold()
public float getWeightThreshold()
Threshold used for connected components. Default value is 0.85.
float weight_threshold = 1;
Returns
Type | Description |
float | The weightThreshold.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ConnectedComponentsConfig other)
public ConnectedComponentsConfig.Builder mergeFrom(ConnectedComponentsConfig other)
Parameter
Returns
public ConnectedComponentsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConnectedComponentsConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectedComponentsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectedComponentsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectedComponentsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectedComponentsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWeightThreshold(float value)
public ConnectedComponentsConfig.Builder setWeightThreshold(float value)
Threshold used for connected components. Default value is 0.85.
float weight_threshold = 1;
Parameter
Name | Description |
value | float
The weightThreshold to set.
|
Returns