Class Engine.CommonConfig.Builder (0.48.0)

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

Common configurations for an Engine.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Engine.CommonConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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