Class Engine.SearchEngineConfig (0.35.0)

public static final class Engine.SearchEngineConfig extends GeneratedMessageV3 implements Engine.SearchEngineConfigOrBuilder

Configurations for a Search Engine.

Protobuf type google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig

Static Fields

SEARCH_ADD_ONS_FIELD_NUMBER

public static final int SEARCH_ADD_ONS_FIELD_NUMBER
Field Value
TypeDescription
int

SEARCH_TIER_FIELD_NUMBER

public static final int SEARCH_TIER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Engine.SearchEngineConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSearchAddOns(int index)

public SearchAddOn getSearchAddOns(int index)

The add-on that this search engine enables.

repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
SearchAddOn

The searchAddOns at the given index.

getSearchAddOnsCount()

public int getSearchAddOnsCount()

The add-on that this search engine enables.

repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;

Returns
TypeDescription
int

The count of searchAddOns.

getSearchAddOnsList()

public List<SearchAddOn> getSearchAddOnsList()

The add-on that this search engine enables.

repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;

Returns
TypeDescription
List<SearchAddOn>

A list containing the searchAddOns.

getSearchAddOnsValue(int index)

public int getSearchAddOnsValue(int index)

The add-on that this search engine enables.

repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of searchAddOns at the given index.

getSearchAddOnsValueList()

public List<Integer> getSearchAddOnsValueList()

The add-on that this search engine enables.

repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for searchAddOns.

getSearchTier()

public SearchTier getSearchTier()

The search feature tier of this engine.

Different tiers might have different pricing. To learn more, please check the pricing documentation.

Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.

.google.cloud.discoveryengine.v1beta.SearchTier search_tier = 1;

Returns
TypeDescription
SearchTier

The searchTier.

getSearchTierValue()

public int getSearchTierValue()

The search feature tier of this engine.

Different tiers might have different pricing. To learn more, please check the pricing documentation.

Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.

.google.cloud.discoveryengine.v1beta.SearchTier search_tier = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for searchTier.

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.SearchEngineConfig.Builder newBuilderForType()
Returns
TypeDescription
Engine.SearchEngineConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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