Class Engine.SimilarDocumentsEngineConfig.Builder (0.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Engine.SimilarDocumentsEngineConfig build()
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig

buildPartial()

public Engine.SimilarDocumentsEngineConfig buildPartial()
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig

clear()

public Engine.SimilarDocumentsEngineConfig.Builder clear()
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Engine.SimilarDocumentsEngineConfig.Builder clone()
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig.Builder
Overrides

getDefaultInstanceForType()

public Engine.SimilarDocumentsEngineConfig getDefaultInstanceForType()
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Engine.SimilarDocumentsEngineConfig other)

public Engine.SimilarDocumentsEngineConfig.Builder mergeFrom(Engine.SimilarDocumentsEngineConfig other)
Parameter
NameDescription
otherEngine.SimilarDocumentsEngineConfig
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Engine.SimilarDocumentsEngineConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Engine.SimilarDocumentsEngineConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Engine.SimilarDocumentsEngineConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Engine.SimilarDocumentsEngineConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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