Class ReconConfig.Builder (0.42.0)

public static final class ReconConfig.Builder extends GeneratedMessageV3.Builder<ReconConfig.Builder> implements ReconConfigOrBuilder

Recon configs

Protobuf type google.cloud.enterpriseknowledgegraph.v1.ReconConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReconConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReconConfig.Builder
Overrides

build()

public ReconConfig build()
Returns
Type Description
ReconConfig

buildPartial()

public ReconConfig buildPartial()
Returns
Type Description
ReconConfig

clear()

public ReconConfig.Builder clear()
Returns
Type Description
ReconConfig.Builder
Overrides

clearAffinityClusteringConfig()

public ReconConfig.Builder clearAffinityClusteringConfig()

Configs for affinity clustering.

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

Returns
Type Description
ReconConfig.Builder

clearClusteringConfig()

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

clearConnectedComponentsConfig()

public ReconConfig.Builder clearConnectedComponentsConfig()

Configs for connected components.

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

Returns
Type Description
ReconConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ReconConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReconConfig.Builder
Overrides

clearModelConfig()

public ReconConfig.Builder clearModelConfig()

Model Configs

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

Returns
Type Description
ReconConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReconConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReconConfig.Builder
Overrides

clearOptions()

public ReconConfig.Builder clearOptions()

Extra options that affect entity clustering behavior.

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

Returns
Type Description
ReconConfig.Builder

clone()

public ReconConfig.Builder clone()
Returns
Type Description
ReconConfig.Builder
Overrides

getAffinityClusteringConfig()

public AffinityClusteringConfig getAffinityClusteringConfig()

Configs for affinity clustering.

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

Returns
Type Description
AffinityClusteringConfig

The affinityClusteringConfig.

getAffinityClusteringConfigBuilder()

public AffinityClusteringConfig.Builder getAffinityClusteringConfigBuilder()

Configs for affinity clustering.

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

Returns
Type Description
AffinityClusteringConfig.Builder

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.

getConnectedComponentsConfigBuilder()

public ConnectedComponentsConfig.Builder getConnectedComponentsConfigBuilder()

Configs for connected components.

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

Returns
Type Description
ConnectedComponentsConfig.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModelConfig()

public ReconConfig.ModelConfig getModelConfig()

Model Configs

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

Returns
Type Description
ReconConfig.ModelConfig

The modelConfig.

getModelConfigBuilder()

public ReconConfig.ModelConfig.Builder getModelConfigBuilder()

Model Configs

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

Returns
Type Description
ReconConfig.ModelConfig.Builder

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.

getOptionsBuilder()

public ReconConfig.Options.Builder getOptionsBuilder()

Extra options that affect entity clustering behavior.

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

Returns
Type Description
ReconConfig.Options.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAffinityClusteringConfig(AffinityClusteringConfig value)

public ReconConfig.Builder mergeAffinityClusteringConfig(AffinityClusteringConfig value)

Configs for affinity clustering.

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

Parameter
Name Description
value AffinityClusteringConfig
Returns
Type Description
ReconConfig.Builder

mergeConnectedComponentsConfig(ConnectedComponentsConfig value)

public ReconConfig.Builder mergeConnectedComponentsConfig(ConnectedComponentsConfig value)

Configs for connected components.

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

Parameter
Name Description
value ConnectedComponentsConfig
Returns
Type Description
ReconConfig.Builder

mergeFrom(ReconConfig other)

public ReconConfig.Builder mergeFrom(ReconConfig other)
Parameter
Name Description
other ReconConfig
Returns
Type Description
ReconConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReconConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReconConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReconConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReconConfig.Builder
Overrides

mergeModelConfig(ReconConfig.ModelConfig value)

public ReconConfig.Builder mergeModelConfig(ReconConfig.ModelConfig value)

Model Configs

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

Parameter
Name Description
value ReconConfig.ModelConfig
Returns
Type Description
ReconConfig.Builder

mergeOptions(ReconConfig.Options value)

public ReconConfig.Builder mergeOptions(ReconConfig.Options value)

Extra options that affect entity clustering behavior.

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

Parameter
Name Description
value ReconConfig.Options
Returns
Type Description
ReconConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReconConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReconConfig.Builder
Overrides

setAffinityClusteringConfig(AffinityClusteringConfig value)

public ReconConfig.Builder setAffinityClusteringConfig(AffinityClusteringConfig value)

Configs for affinity clustering.

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

Parameter
Name Description
value AffinityClusteringConfig
Returns
Type Description
ReconConfig.Builder

setAffinityClusteringConfig(AffinityClusteringConfig.Builder builderForValue)

public ReconConfig.Builder setAffinityClusteringConfig(AffinityClusteringConfig.Builder builderForValue)

Configs for affinity clustering.

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

Parameter
Name Description
builderForValue AffinityClusteringConfig.Builder
Returns
Type Description
ReconConfig.Builder

setConnectedComponentsConfig(ConnectedComponentsConfig value)

public ReconConfig.Builder setConnectedComponentsConfig(ConnectedComponentsConfig value)

Configs for connected components.

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

Parameter
Name Description
value ConnectedComponentsConfig
Returns
Type Description
ReconConfig.Builder

setConnectedComponentsConfig(ConnectedComponentsConfig.Builder builderForValue)

public ReconConfig.Builder setConnectedComponentsConfig(ConnectedComponentsConfig.Builder builderForValue)

Configs for connected components.

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

Parameter
Name Description
builderForValue ConnectedComponentsConfig.Builder
Returns
Type Description
ReconConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReconConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReconConfig.Builder
Overrides

setModelConfig(ReconConfig.ModelConfig value)

public ReconConfig.Builder setModelConfig(ReconConfig.ModelConfig value)

Model Configs

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

Parameter
Name Description
value ReconConfig.ModelConfig
Returns
Type Description
ReconConfig.Builder

setModelConfig(ReconConfig.ModelConfig.Builder builderForValue)

public ReconConfig.Builder setModelConfig(ReconConfig.ModelConfig.Builder builderForValue)

Model Configs

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

Parameter
Name Description
builderForValue ReconConfig.ModelConfig.Builder
Returns
Type Description
ReconConfig.Builder

setOptions(ReconConfig.Options value)

public ReconConfig.Builder setOptions(ReconConfig.Options value)

Extra options that affect entity clustering behavior.

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

Parameter
Name Description
value ReconConfig.Options
Returns
Type Description
ReconConfig.Builder

setOptions(ReconConfig.Options.Builder builderForValue)

public ReconConfig.Builder setOptions(ReconConfig.Options.Builder builderForValue)

Extra options that affect entity clustering behavior.

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

Parameter
Name Description
builderForValue ReconConfig.Options.Builder
Returns
Type Description
ReconConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReconConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReconConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReconConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReconConfig.Builder
Overrides