Class Engine.CommonConfig (0.28.0)

public static final class Engine.CommonConfig extends GeneratedMessageV3 implements Engine.CommonConfigOrBuilder

Common configurations for an Engine.

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

Static Fields

COMPANY_NAME_FIELD_NUMBER

public static final int COMPANY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Engine.CommonConfig getDefaultInstance()
Returns
TypeDescription
Engine.CommonConfig

getDescriptor()

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

newBuilder()

public static Engine.CommonConfig.Builder newBuilder()
Returns
TypeDescription
Engine.CommonConfig.Builder

newBuilder(Engine.CommonConfig prototype)

public static Engine.CommonConfig.Builder newBuilder(Engine.CommonConfig prototype)
Parameter
NameDescription
prototypeEngine.CommonConfig
Returns
TypeDescription
Engine.CommonConfig.Builder

parseDelimitedFrom(InputStream input)

public static Engine.CommonConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Engine.CommonConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Engine.CommonConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Engine.CommonConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Engine.CommonConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Engine.CommonConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Engine.CommonConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Engine.CommonConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Engine.CommonConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Engine.CommonConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Engine.CommonConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Engine.CommonConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Engine.CommonConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Engine.CommonConfig> parser()
Returns
TypeDescription
Parser<CommonConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
TypeDescription
ByteString

The bytes for companyName.

getDefaultInstanceForType()

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

getParserForType()

public Parser<Engine.CommonConfig> getParserForType()
Returns
TypeDescription
Parser<CommonConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Engine.CommonConfig.Builder newBuilderForType()
Returns
TypeDescription
Engine.CommonConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Engine.CommonConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Engine.CommonConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Engine.CommonConfig.Builder toBuilder()
Returns
TypeDescription
Engine.CommonConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException