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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectedComponentsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConnectedComponentsConfig build()
buildPartial()
public ConnectedComponentsConfig buildPartial()
clear()
public ConnectedComponentsConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConnectedComponentsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectedComponentsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWeightThreshold()
public ConnectedComponentsConfig.Builder clearWeightThreshold()
Threshold used for connected components. Default value is 0.85.
float weight_threshold = 1;
clone()
public ConnectedComponentsConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ConnectedComponentsConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConnectedComponentsConfig other)
public ConnectedComponentsConfig.Builder mergeFrom(ConnectedComponentsConfig other)
public ConnectedComponentsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConnectedComponentsConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectedComponentsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectedComponentsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectedComponentsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectedComponentsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|