Class Engine.CommonConfig.Builder (0.81.0)

public static final class Engine.CommonConfig.Builder extends GeneratedMessage.Builder<Engine.CommonConfig.Builder> implements Engine.CommonConfigOrBuilder

Common configurations for an Engine.

Protobuf type google.cloud.discoveryengine.v1.Engine.CommonConfig

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearCompanyName()

public Engine.CommonConfig.Builder clearCompanyName()

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.

string company_name = 1;

Returns
Type Description
Engine.CommonConfig.Builder

This builder for chaining.

getCompanyName()

public String getCompanyName()

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.

string company_name = 1;

Returns
Type Description
String

The companyName.

getCompanyNameBytes()

public ByteString getCompanyNameBytes()

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.

string company_name = 1;

Returns
Type Description
ByteString

The bytes for companyName.

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Engine.CommonConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCompanyName(String value)

public Engine.CommonConfig.Builder setCompanyName(String value)

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.

string company_name = 1;

Parameter
Name Description
value String

The companyName to set.

Returns
Type Description
Engine.CommonConfig.Builder

This builder for chaining.

setCompanyNameBytes(ByteString value)

public Engine.CommonConfig.Builder setCompanyNameBytes(ByteString value)

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.

string company_name = 1;

Parameter
Name Description
value ByteString

The bytes for companyName to set.

Returns
Type Description
Engine.CommonConfig.Builder

This builder for chaining.