- 0.50.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Engine.SearchEngineConfig.Builder extends GeneratedMessageV3.Builder<Engine.SearchEngineConfig.Builder> implements Engine.SearchEngineConfigOrBuilder
Configurations for a Search Engine.
Protobuf type google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Engine.SearchEngineConfig.BuilderImplements
Engine.SearchEngineConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSearchAddOns(Iterable<? extends SearchAddOn> values)
public Engine.SearchEngineConfig.Builder addAllSearchAddOns(Iterable<? extends SearchAddOn> values)
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1beta.SearchAddOn> The searchAddOns to add. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
addAllSearchAddOnsValue(Iterable<Integer> values)
public Engine.SearchEngineConfig.Builder addAllSearchAddOnsValue(Iterable<Integer> values)
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for searchAddOns to add. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Engine.SearchEngineConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
addSearchAddOns(SearchAddOn value)
public Engine.SearchEngineConfig.Builder addSearchAddOns(SearchAddOn value)
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;
Parameter | |
---|---|
Name | Description |
value |
SearchAddOn The searchAddOns to add. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
addSearchAddOnsValue(int value)
public Engine.SearchEngineConfig.Builder addSearchAddOnsValue(int value)
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for searchAddOns to add. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
build()
public Engine.SearchEngineConfig build()
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig |
buildPartial()
public Engine.SearchEngineConfig buildPartial()
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig |
clear()
public Engine.SearchEngineConfig.Builder clear()
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public Engine.SearchEngineConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Engine.SearchEngineConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
clearSearchAddOns()
public Engine.SearchEngineConfig.Builder clearSearchAddOns()
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
clearSearchTier()
public Engine.SearchEngineConfig.Builder clearSearchTier()
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.v1beta.SearchTier search_tier = 1;
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
clone()
public Engine.SearchEngineConfig.Builder clone()
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
getDefaultInstanceForType()
public Engine.SearchEngineConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.SearchTier search_tier = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for searchTier. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Engine.SearchEngineConfig other)
public Engine.SearchEngineConfig.Builder mergeFrom(Engine.SearchEngineConfig other)
Parameter | |
---|---|
Name | Description |
other |
Engine.SearchEngineConfig |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Engine.SearchEngineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Engine.SearchEngineConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Engine.SearchEngineConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Engine.SearchEngineConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Engine.SearchEngineConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
setSearchAddOns(int index, SearchAddOn value)
public Engine.SearchEngineConfig.Builder setSearchAddOns(int index, SearchAddOn value)
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
SearchAddOn The searchAddOns to set. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
setSearchAddOnsValue(int index, int value)
public Engine.SearchEngineConfig.Builder setSearchAddOnsValue(int index, int value)
The add-on that this search engine enables.
repeated .google.cloud.discoveryengine.v1beta.SearchAddOn search_add_ons = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for searchAddOns to set. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
setSearchTier(SearchTier value)
public Engine.SearchEngineConfig.Builder setSearchTier(SearchTier value)
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.v1beta.SearchTier search_tier = 1;
Parameter | |
---|---|
Name | Description |
value |
SearchTier The searchTier to set. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
setSearchTierValue(int value)
public Engine.SearchEngineConfig.Builder setSearchTierValue(int value)
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.v1beta.SearchTier search_tier = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for searchTier to set. |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Engine.SearchEngineConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Engine.SearchEngineConfig.Builder |