Class Engine.CommonConfig.Builder (0.37.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.v1beta.Engine.CommonConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCompanyName()

public Engine.CommonConfig.Builder clearCompanyName()

Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Engine.CommonConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCompanyName()

public String getCompanyName()

Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The companyName.

getCompanyNameBytes()

public ByteString getCompanyNameBytes()

Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for companyName.

getDefaultInstanceForType()

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

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.CommonConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCompanyName(String value)

public Engine.CommonConfig.Builder setCompanyName(String value)

Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The companyName to set.

Returns
TypeDescription
Engine.CommonConfig.Builder

This builder for chaining.

setCompanyNameBytes(ByteString value)

public Engine.CommonConfig.Builder setCompanyNameBytes(ByteString value)

Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for companyName to set.

Returns
TypeDescription
Engine.CommonConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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