Class Engine.SimilarDocumentsEngineConfig.Builder (0.42.0)

public static final class Engine.SimilarDocumentsEngineConfig.Builder extends GeneratedMessageV3.Builder<Engine.SimilarDocumentsEngineConfig.Builder> implements Engine.SimilarDocumentsEngineConfigOrBuilder

Additional config specs for a similar-items engine.

Protobuf type google.cloud.discoveryengine.v1alpha.Engine.SimilarDocumentsEngineConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Engine.SimilarDocumentsEngineConfig build()
Returns
Type Description
Engine.SimilarDocumentsEngineConfig

buildPartial()

public Engine.SimilarDocumentsEngineConfig buildPartial()
Returns
Type Description
Engine.SimilarDocumentsEngineConfig

clear()

public Engine.SimilarDocumentsEngineConfig.Builder clear()
Returns
Type Description
Engine.SimilarDocumentsEngineConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Engine.SimilarDocumentsEngineConfig.Builder clone()
Returns
Type Description
Engine.SimilarDocumentsEngineConfig.Builder
Overrides

getDefaultInstanceForType()

public Engine.SimilarDocumentsEngineConfig getDefaultInstanceForType()
Returns
Type Description
Engine.SimilarDocumentsEngineConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Engine.SimilarDocumentsEngineConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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