Class ReconConfig (0.38.0)

public final class ReconConfig extends GeneratedMessageV3 implements ReconConfigOrBuilder

Recon configs

Protobuf type google.cloud.enterpriseknowledgegraph.v1.ReconConfig

Static Fields

AFFINITY_CLUSTERING_CONFIG_FIELD_NUMBER

public static final int AFFINITY_CLUSTERING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CONNECTED_COMPONENTS_CONFIG_FIELD_NUMBER

public static final int CONNECTED_COMPONENTS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

MODEL_CONFIG_FIELD_NUMBER

public static final int MODEL_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReconConfig getDefaultInstance()
Returns
Type Description
ReconConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReconConfig.Builder newBuilder()
Returns
Type Description
ReconConfig.Builder

newBuilder(ReconConfig prototype)

public static ReconConfig.Builder newBuilder(ReconConfig prototype)
Parameter
Name Description
prototype ReconConfig
Returns
Type Description
ReconConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReconConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReconConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReconConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReconConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReconConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReconConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReconConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReconConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReconConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReconConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReconConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReconConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReconConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReconConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReconConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReconConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReconConfig> parser()
Returns
Type Description
Parser<ReconConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAffinityClusteringConfig()

public AffinityClusteringConfig getAffinityClusteringConfig()

Configs for affinity clustering.

.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2;

Returns
Type Description
AffinityClusteringConfig

The affinityClusteringConfig.

getAffinityClusteringConfigOrBuilder()

public AffinityClusteringConfigOrBuilder getAffinityClusteringConfigOrBuilder()

Configs for affinity clustering.

.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2;

Returns
Type Description
AffinityClusteringConfigOrBuilder

getClusteringConfigCase()

public ReconConfig.ClusteringConfigCase getClusteringConfigCase()
Returns
Type Description
ReconConfig.ClusteringConfigCase

getConnectedComponentsConfig()

public ConnectedComponentsConfig getConnectedComponentsConfig()

Configs for connected components.

.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1;

Returns
Type Description
ConnectedComponentsConfig

The connectedComponentsConfig.

getConnectedComponentsConfigOrBuilder()

public ConnectedComponentsConfigOrBuilder getConnectedComponentsConfigOrBuilder()

Configs for connected components.

.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1;

Returns
Type Description
ConnectedComponentsConfigOrBuilder

getDefaultInstanceForType()

public ReconConfig getDefaultInstanceForType()
Returns
Type Description
ReconConfig

getModelConfig()

public ReconConfig.ModelConfig getModelConfig()

Model Configs

.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4;

Returns
Type Description
ReconConfig.ModelConfig

The modelConfig.

getModelConfigOrBuilder()

public ReconConfig.ModelConfigOrBuilder getModelConfigOrBuilder()

Model Configs

.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4;

Returns
Type Description
ReconConfig.ModelConfigOrBuilder

getOptions()

public ReconConfig.Options getOptions()

Extra options that affect entity clustering behavior.

.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3;

Returns
Type Description
ReconConfig.Options

The options.

getOptionsOrBuilder()

public ReconConfig.OptionsOrBuilder getOptionsOrBuilder()

Extra options that affect entity clustering behavior.

.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3;

Returns
Type Description
ReconConfig.OptionsOrBuilder

getParserForType()

public Parser<ReconConfig> getParserForType()
Returns
Type Description
Parser<ReconConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAffinityClusteringConfig()

public boolean hasAffinityClusteringConfig()

Configs for affinity clustering.

.google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig affinity_clustering_config = 2;

Returns
Type Description
boolean

Whether the affinityClusteringConfig field is set.

hasConnectedComponentsConfig()

public boolean hasConnectedComponentsConfig()

Configs for connected components.

.google.cloud.enterpriseknowledgegraph.v1.ConnectedComponentsConfig connected_components_config = 1;

Returns
Type Description
boolean

Whether the connectedComponentsConfig field is set.

hasModelConfig()

public boolean hasModelConfig()

Model Configs

.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.ModelConfig model_config = 4;

Returns
Type Description
boolean

Whether the modelConfig field is set.

hasOptions()

public boolean hasOptions()

Extra options that affect entity clustering behavior.

.google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options options = 3;

Returns
Type Description
boolean

Whether the options field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReconConfig.Builder newBuilderForType()
Returns
Type Description
ReconConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReconConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReconConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReconConfig.Builder toBuilder()
Returns
Type Description
ReconConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException