public static final class Engine.SearchEngineConfig extends GeneratedMessageV3 implements Engine.SearchEngineConfigOrBuilder
Configurations for a Search Engine.
Protobuf type google.cloud.discoveryengine.v1.Engine.SearchEngineConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SEARCH_ADD_ONS_FIELD_NUMBER
public static final int SEARCH_ADD_ONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEARCH_TIER_FIELD_NUMBER
public static final int SEARCH_TIER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Engine.SearchEngineConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Engine.SearchEngineConfig.Builder newBuilder()
newBuilder(Engine.SearchEngineConfig prototype)
public static Engine.SearchEngineConfig.Builder newBuilder(Engine.SearchEngineConfig prototype)
public static Engine.SearchEngineConfig parseDelimitedFrom(InputStream input)
public static Engine.SearchEngineConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Engine.SearchEngineConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Engine.SearchEngineConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Engine.SearchEngineConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Engine.SearchEngineConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Engine.SearchEngineConfig parseFrom(CodedInputStream input)
public static Engine.SearchEngineConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Engine.SearchEngineConfig parseFrom(InputStream input)
public static Engine.SearchEngineConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Engine.SearchEngineConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Engine.SearchEngineConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Engine.SearchEngineConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Engine.SearchEngineConfig getDefaultInstanceForType()
getParserForType()
public Parser<Engine.SearchEngineConfig> getParserForType()
Overrides
getSearchAddOns(int index)
public SearchAddOn getSearchAddOns(int index)
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1.SearchAddOn search_add_ons = 2;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
SearchAddOn |
The searchAddOns at the given index.
|
getSearchAddOnsCount()
public int getSearchAddOnsCount()
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1.SearchAddOn search_add_ons = 2;
Returns |
Type |
Description |
int |
The count of searchAddOns.
|
getSearchAddOnsList()
public List<SearchAddOn> getSearchAddOnsList()
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1.SearchAddOn search_add_ons = 2;
Returns |
Type |
Description |
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.v1.SearchAddOn search_add_ons = 2;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
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.v1.SearchAddOn search_add_ons = 2;
Returns |
Type |
Description |
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, check the pricing documentation.
Defaults to
SearchTier.SEARCH_TIER_STANDARD
if not specified.
.google.cloud.discoveryengine.v1.SearchTier search_tier = 1;
Returns |
Type |
Description |
SearchTier |
The searchTier.
|
getSearchTierValue()
public int getSearchTierValue()
The search feature tier of this engine.
Different tiers might have different
pricing. To learn more, check the pricing documentation.
Defaults to
SearchTier.SEARCH_TIER_STANDARD
if not specified.
.google.cloud.discoveryengine.v1.SearchTier search_tier = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for searchTier.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Engine.SearchEngineConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Engine.SearchEngineConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Engine.SearchEngineConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides