Class ReconConfig (0.10.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
TypeDescription
int

CONNECTED_COMPONENTS_CONFIG_FIELD_NUMBER

public static final int CONNECTED_COMPONENTS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

MODEL_CONFIG_FIELD_NUMBER

public static final int MODEL_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReconConfig getDefaultInstance()
Returns
TypeDescription
ReconConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ReconConfig prototype)

public static ReconConfig.Builder newBuilder(ReconConfig prototype)
Parameter
NameDescription
prototypeReconConfig
Returns
TypeDescription
ReconConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAffinityClusteringConfig()

public AffinityClusteringConfig getAffinityClusteringConfig()

Configs for affinity clustering.

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

Returns
TypeDescription
AffinityClusteringConfig

The affinityClusteringConfig.

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.

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

getModelConfig()

public ReconConfig.ModelConfig getModelConfig()

Model Configs

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

Returns
TypeDescription
ReconConfig.ModelConfig

The modelConfig.

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.

getOptionsOrBuilder()

public ReconConfig.OptionsOrBuilder getOptionsOrBuilder()

Extra options that affect entity clustering behavior.

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

Returns
TypeDescription
ReconConfig.OptionsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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 ReconConfig.Builder newBuilderForType()
Returns
TypeDescription
ReconConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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