Class ReconConfig.Options.Builder (0.26.0)

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

Options for experimental changes on entity clustering behavior.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.ReconConfig.Options

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReconConfig.Options build()
Returns
TypeDescription
ReconConfig.Options

buildPartial()

public ReconConfig.Options buildPartial()
Returns
TypeDescription
ReconConfig.Options

clear()

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

clearEnableGeocodingSeparation()

public ReconConfig.Options.Builder clearEnableGeocodingSeparation()

If true, separate clusters by their geographic region (from geocoding). Uses the following entity features:

  • schema.org/addressLocality
  • schema.org/addressRegion
  • schema.org/addressCountry Warning: processing will no longer be regionalized!

bool enable_geocoding_separation = 100;

Returns
TypeDescription
ReconConfig.Options.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReconConfig.Options getDefaultInstanceForType()
Returns
TypeDescription
ReconConfig.Options

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableGeocodingSeparation()

public boolean getEnableGeocodingSeparation()

If true, separate clusters by their geographic region (from geocoding). Uses the following entity features:

  • schema.org/addressLocality
  • schema.org/addressRegion
  • schema.org/addressCountry Warning: processing will no longer be regionalized!

bool enable_geocoding_separation = 100;

Returns
TypeDescription
boolean

The enableGeocodingSeparation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReconConfig.Options other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReconConfig.Options.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReconConfig.Options.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableGeocodingSeparation(boolean value)

public ReconConfig.Options.Builder setEnableGeocodingSeparation(boolean value)

If true, separate clusters by their geographic region (from geocoding). Uses the following entity features:

  • schema.org/addressLocality
  • schema.org/addressRegion
  • schema.org/addressCountry Warning: processing will no longer be regionalized!

bool enable_geocoding_separation = 100;

Parameter
NameDescription
valueboolean

The enableGeocodingSeparation to set.

Returns
TypeDescription
ReconConfig.Options.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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