Class ConnectedComponentsConfig (0.23.0)

public final class ConnectedComponentsConfig extends GeneratedMessageV3 implements ConnectedComponentsConfigOrBuilder

Options for connected components.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig

Static Fields

WEIGHT_THRESHOLD_FIELD_NUMBER

public static final int WEIGHT_THRESHOLD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConnectedComponentsConfig getDefaultInstance()
Returns
TypeDescription
ConnectedComponentsConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConnectedComponentsConfig.Builder newBuilder()
Returns
TypeDescription
ConnectedComponentsConfig.Builder

newBuilder(ConnectedComponentsConfig prototype)

public static ConnectedComponentsConfig.Builder newBuilder(ConnectedComponentsConfig prototype)
Parameter
NameDescription
prototypeConnectedComponentsConfig
Returns
TypeDescription
ConnectedComponentsConfig.Builder

parseDelimitedFrom(InputStream input)

public static ConnectedComponentsConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectedComponentsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConnectedComponentsConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConnectedComponentsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConnectedComponentsConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConnectedComponentsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConnectedComponentsConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectedComponentsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConnectedComponentsConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectedComponentsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConnectedComponentsConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConnectedComponentsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConnectedComponentsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConnectedComponentsConfig> parser()
Returns
TypeDescription
Parser<ConnectedComponentsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ConnectedComponentsConfig getDefaultInstanceForType()
Returns
TypeDescription
ConnectedComponentsConfig

getParserForType()

public Parser<ConnectedComponentsConfig> getParserForType()
Returns
TypeDescription
Parser<ConnectedComponentsConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWeightThreshold()

public float getWeightThreshold()

Threshold used for connected components. Default value is 0.85.

float weight_threshold = 1;

Returns
TypeDescription
float

The weightThreshold.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConnectedComponentsConfig.Builder newBuilderForType()
Returns
TypeDescription
ConnectedComponentsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConnectedComponentsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConnectedComponentsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConnectedComponentsConfig.Builder toBuilder()
Returns
TypeDescription
ConnectedComponentsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException