Class ReconConfig.Builder (0.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReconConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReconConfig.Builder
Overrides

build()

public ReconConfig build()
Returns
TypeDescription
ReconConfig

buildPartial()

public ReconConfig buildPartial()
Returns
TypeDescription
ReconConfig

clear()

public ReconConfig.Builder clear()
Returns
TypeDescription
ReconConfig.Builder
Overrides

clearAffinityClusteringConfig()

public ReconConfig.Builder clearAffinityClusteringConfig()

Configs for affinity clustering.

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

Returns
TypeDescription
ReconConfig.Builder

clearClusteringConfig()

public ReconConfig.Builder clearClusteringConfig()
Returns
TypeDescription
ReconConfig.Builder

clearConnectedComponentsConfig()

public ReconConfig.Builder clearConnectedComponentsConfig()

Configs for connected components.

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

Returns
TypeDescription
ReconConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ReconConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReconConfig.Builder
Overrides

clearModelConfig()

public ReconConfig.Builder clearModelConfig()

Model Configs

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

Returns
TypeDescription
ReconConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReconConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReconConfig.Builder
Overrides

clearOptions()

public ReconConfig.Builder clearOptions()

Extra options that affect entity clustering behavior.

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

Returns
TypeDescription
ReconConfig.Builder

clone()

public ReconConfig.Builder clone()
Returns
TypeDescription
ReconConfig.Builder
Overrides

getAffinityClusteringConfig()

public AffinityClusteringConfig getAffinityClusteringConfig()

Configs for affinity clustering.

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

Returns
TypeDescription
AffinityClusteringConfig

The affinityClusteringConfig.

getAffinityClusteringConfigBuilder()

public AffinityClusteringConfig.Builder getAffinityClusteringConfigBuilder()

Configs for affinity clustering.

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

Returns
TypeDescription
AffinityClusteringConfig.Builder

getAffinityClusteringConfigOrBuilder()

public AffinityClusteringConfigOrBuilder getAffinityClusteringConfigOrBuilder()

Configs for affinity clustering.

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

Returns
TypeDescription
AffinityClusteringConfigOrBuilder

getClusteringConfigCase()

public ReconConfig.ClusteringConfigCase getClusteringConfigCase()
Returns
TypeDescription
ReconConfig.ClusteringConfigCase

getConnectedComponentsConfig()

public ConnectedComponentsConfig getConnectedComponentsConfig()

Configs for connected components.

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

Returns
TypeDescription
ConnectedComponentsConfig

The connectedComponentsConfig.

getConnectedComponentsConfigBuilder()

public ConnectedComponentsConfig.Builder getConnectedComponentsConfigBuilder()

Configs for connected components.

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

Returns
TypeDescription
ConnectedComponentsConfig.Builder

getConnectedComponentsConfigOrBuilder()

public ConnectedComponentsConfigOrBuilder getConnectedComponentsConfigOrBuilder()

Configs for connected components.

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

Returns
TypeDescription
ConnectedComponentsConfigOrBuilder

getDefaultInstanceForType()

public ReconConfig getDefaultInstanceForType()
Returns
TypeDescription
ReconConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelConfig()

public ReconConfig.ModelConfig getModelConfig()

Model Configs

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

Returns
TypeDescription
ReconConfig.ModelConfig

The modelConfig.

getModelConfigBuilder()

public ReconConfig.ModelConfig.Builder getModelConfigBuilder()

Model Configs

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

Returns
TypeDescription
ReconConfig.ModelConfig.Builder

getModelConfigOrBuilder()

public ReconConfig.ModelConfigOrBuilder getModelConfigOrBuilder()

Model Configs

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

Returns
TypeDescription
ReconConfig.ModelConfigOrBuilder

getOptions()

public ReconConfig.Options getOptions()

Extra options that affect entity clustering behavior.

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

Returns
TypeDescription
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
TypeDescription
ReconConfig.Options.Builder

getOptionsOrBuilder()

public ReconConfig.OptionsOrBuilder getOptionsOrBuilder()

Extra options that affect entity clustering behavior.

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

Returns
TypeDescription
ReconConfig.OptionsOrBuilder

hasAffinityClusteringConfig()

public boolean hasAffinityClusteringConfig()

Configs for affinity clustering.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the connectedComponentsConfig field is set.

hasModelConfig()

public boolean hasModelConfig()

Model Configs

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the options field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAffinityClusteringConfig
Returns
TypeDescription
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
NameDescription
valueConnectedComponentsConfig
Returns
TypeDescription
ReconConfig.Builder

mergeFrom(ReconConfig other)

public ReconConfig.Builder mergeFrom(ReconConfig other)
Parameter
NameDescription
otherReconConfig
Returns
TypeDescription
ReconConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReconConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReconConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReconConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueReconConfig.ModelConfig
Returns
TypeDescription
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
NameDescription
valueReconConfig.Options
Returns
TypeDescription
ReconConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReconConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAffinityClusteringConfig
Returns
TypeDescription
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
NameDescription
builderForValueAffinityClusteringConfig.Builder
Returns
TypeDescription
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
NameDescription
valueConnectedComponentsConfig
Returns
TypeDescription
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
NameDescription
builderForValueConnectedComponentsConfig.Builder
Returns
TypeDescription
ReconConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReconConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReconConfig.ModelConfig
Returns
TypeDescription
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
NameDescription
builderForValueReconConfig.ModelConfig.Builder
Returns
TypeDescription
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
NameDescription
valueReconConfig.Options
Returns
TypeDescription
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
NameDescription
builderForValueReconConfig.Options.Builder
Returns
TypeDescription
ReconConfig.Builder

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

public ReconConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReconConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReconConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReconConfig.Builder
Overrides