public static final class CompletionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder> implements CompletionConfigOrBuilder
Catalog level autocomplete config for customers to customize autocomplete feature's settings.Protobuf type
google.cloud.retail.v2.CompletionConfig| Modifier and Type | Method and Description |
|---|---|
CompletionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CompletionConfig |
build() |
CompletionConfig |
buildPartial() |
CompletionConfig.Builder |
clear() |
CompletionConfig.Builder |
clearAllowlistInputConfig()
Output only.
|
CompletionConfig.Builder |
clearAutoLearning()
If set to true, the auto learning function is enabled.
|
CompletionConfig.Builder |
clearDenylistInputConfig()
Output only.
|
CompletionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CompletionConfig.Builder |
clearLastAllowlistImportOperation()
Output only.
|
CompletionConfig.Builder |
clearLastDenylistImportOperation()
Output only.
|
CompletionConfig.Builder |
clearLastSuggestionsImportOperation()
Output only.
|
CompletionConfig.Builder |
clearMatchingOrder()
Specifies the matching order for autocomplete suggestions, e.g., a query
consisting of 'sh' with 'out-of-order' specified would suggest "women's
shoes", whereas a query of 'red s' with 'exact-prefix' specified would
suggest "red shoes".
|
CompletionConfig.Builder |
clearMaxSuggestions()
The maximum number of autocomplete suggestions returned per term.
|
CompletionConfig.Builder |
clearMinPrefixLength()
The minimum number of characters needed to be typed in order to get
suggestions.
|
CompletionConfig.Builder |
clearName()
Required.
|
CompletionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CompletionConfig.Builder |
clearSuggestionsInputConfig()
Output only.
|
CompletionConfig.Builder |
clone() |
CompletionDataInputConfig |
getAllowlistInputConfig()
Output only.
|
CompletionDataInputConfig.Builder |
getAllowlistInputConfigBuilder()
Output only.
|
CompletionDataInputConfigOrBuilder |
getAllowlistInputConfigOrBuilder()
Output only.
|
boolean |
getAutoLearning()
If set to true, the auto learning function is enabled.
|
CompletionConfig |
getDefaultInstanceForType() |
CompletionDataInputConfig |
getDenylistInputConfig()
Output only.
|
CompletionDataInputConfig.Builder |
getDenylistInputConfigBuilder()
Output only.
|
CompletionDataInputConfigOrBuilder |
getDenylistInputConfigOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLastAllowlistImportOperation()
Output only.
|
com.google.protobuf.ByteString |
getLastAllowlistImportOperationBytes()
Output only.
|
String |
getLastDenylistImportOperation()
Output only.
|
com.google.protobuf.ByteString |
getLastDenylistImportOperationBytes()
Output only.
|
String |
getLastSuggestionsImportOperation()
Output only.
|
com.google.protobuf.ByteString |
getLastSuggestionsImportOperationBytes()
Output only.
|
String |
getMatchingOrder()
Specifies the matching order for autocomplete suggestions, e.g., a query
consisting of 'sh' with 'out-of-order' specified would suggest "women's
shoes", whereas a query of 'red s' with 'exact-prefix' specified would
suggest "red shoes".
|
com.google.protobuf.ByteString |
getMatchingOrderBytes()
Specifies the matching order for autocomplete suggestions, e.g., a query
consisting of 'sh' with 'out-of-order' specified would suggest "women's
shoes", whereas a query of 'red s' with 'exact-prefix' specified would
suggest "red shoes".
|
int |
getMaxSuggestions()
The maximum number of autocomplete suggestions returned per term.
|
int |
getMinPrefixLength()
The minimum number of characters needed to be typed in order to get
suggestions.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
CompletionDataInputConfig |
getSuggestionsInputConfig()
Output only.
|
CompletionDataInputConfig.Builder |
getSuggestionsInputConfigBuilder()
Output only.
|
CompletionDataInputConfigOrBuilder |
getSuggestionsInputConfigOrBuilder()
Output only.
|
boolean |
hasAllowlistInputConfig()
Output only.
|
boolean |
hasDenylistInputConfig()
Output only.
|
boolean |
hasSuggestionsInputConfig()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CompletionConfig.Builder |
mergeAllowlistInputConfig(CompletionDataInputConfig value)
Output only.
|
CompletionConfig.Builder |
mergeDenylistInputConfig(CompletionDataInputConfig value)
Output only.
|
CompletionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CompletionConfig.Builder |
mergeFrom(CompletionConfig other) |
CompletionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
CompletionConfig.Builder |
mergeSuggestionsInputConfig(CompletionDataInputConfig value)
Output only.
|
CompletionConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CompletionConfig.Builder |
setAllowlistInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only.
|
CompletionConfig.Builder |
setAllowlistInputConfig(CompletionDataInputConfig value)
Output only.
|
CompletionConfig.Builder |
setAutoLearning(boolean value)
If set to true, the auto learning function is enabled.
|
CompletionConfig.Builder |
setDenylistInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only.
|
CompletionConfig.Builder |
setDenylistInputConfig(CompletionDataInputConfig value)
Output only.
|
CompletionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CompletionConfig.Builder |
setLastAllowlistImportOperation(String value)
Output only.
|
CompletionConfig.Builder |
setLastAllowlistImportOperationBytes(com.google.protobuf.ByteString value)
Output only.
|
CompletionConfig.Builder |
setLastDenylistImportOperation(String value)
Output only.
|
CompletionConfig.Builder |
setLastDenylistImportOperationBytes(com.google.protobuf.ByteString value)
Output only.
|
CompletionConfig.Builder |
setLastSuggestionsImportOperation(String value)
Output only.
|
CompletionConfig.Builder |
setLastSuggestionsImportOperationBytes(com.google.protobuf.ByteString value)
Output only.
|
CompletionConfig.Builder |
setMatchingOrder(String value)
Specifies the matching order for autocomplete suggestions, e.g., a query
consisting of 'sh' with 'out-of-order' specified would suggest "women's
shoes", whereas a query of 'red s' with 'exact-prefix' specified would
suggest "red shoes".
|
CompletionConfig.Builder |
setMatchingOrderBytes(com.google.protobuf.ByteString value)
Specifies the matching order for autocomplete suggestions, e.g., a query
consisting of 'sh' with 'out-of-order' specified would suggest "women's
shoes", whereas a query of 'red s' with 'exact-prefix' specified would
suggest "red shoes".
|
CompletionConfig.Builder |
setMaxSuggestions(int value)
The maximum number of autocomplete suggestions returned per term.
|
CompletionConfig.Builder |
setMinPrefixLength(int value)
The minimum number of characters needed to be typed in order to get
suggestions.
|
CompletionConfig.Builder |
setName(String value)
Required.
|
CompletionConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
CompletionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CompletionConfig.Builder |
setSuggestionsInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only.
|
CompletionConfig.Builder |
setSuggestionsInputConfig(CompletionDataInputConfig value)
Output only.
|
CompletionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CompletionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CompletionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CompletionConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CompletionConfig.Builder>public CompletionConfig.Builder mergeFrom(CompletionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public CompletionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CompletionConfig.Builder>IOExceptionpublic String getName()
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getName in interface CompletionConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getNameBytes in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setName(String value)
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value - The name to set.public CompletionConfig.Builder clearName()
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public CompletionConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value - The bytes for name to set.public String getMatchingOrder()
Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest "women's shoes", whereas a query of 'red s' with 'exact-prefix' specified would suggest "red shoes". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.
string matching_order = 2;getMatchingOrder in interface CompletionConfigOrBuilderpublic com.google.protobuf.ByteString getMatchingOrderBytes()
Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest "women's shoes", whereas a query of 'red s' with 'exact-prefix' specified would suggest "red shoes". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.
string matching_order = 2;getMatchingOrderBytes in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setMatchingOrder(String value)
Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest "women's shoes", whereas a query of 'red s' with 'exact-prefix' specified would suggest "red shoes". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.
string matching_order = 2;value - The matchingOrder to set.public CompletionConfig.Builder clearMatchingOrder()
Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest "women's shoes", whereas a query of 'red s' with 'exact-prefix' specified would suggest "red shoes". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.
string matching_order = 2;public CompletionConfig.Builder setMatchingOrderBytes(com.google.protobuf.ByteString value)
Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest "women's shoes", whereas a query of 'red s' with 'exact-prefix' specified would suggest "red shoes". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.
string matching_order = 2;value - The bytes for matchingOrder to set.public int getMaxSuggestions()
The maximum number of autocomplete suggestions returned per term. Default value is 20. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.
int32 max_suggestions = 3;getMaxSuggestions in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setMaxSuggestions(int value)
The maximum number of autocomplete suggestions returned per term. Default value is 20. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.
int32 max_suggestions = 3;value - The maxSuggestions to set.public CompletionConfig.Builder clearMaxSuggestions()
The maximum number of autocomplete suggestions returned per term. Default value is 20. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.
int32 max_suggestions = 3;public int getMinPrefixLength()
The minimum number of characters needed to be typed in order to get suggestions. Default value is 2. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.
int32 min_prefix_length = 4;getMinPrefixLength in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setMinPrefixLength(int value)
The minimum number of characters needed to be typed in order to get suggestions. Default value is 2. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.
int32 min_prefix_length = 4;value - The minPrefixLength to set.public CompletionConfig.Builder clearMinPrefixLength()
The minimum number of characters needed to be typed in order to get suggestions. Default value is 2. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.
int32 min_prefix_length = 4;public boolean getAutoLearning()
If set to true, the auto learning function is enabled. Auto learning uses user data to generate suggestions using ML techniques. Default value is false. Only after enabling auto learning can users use `cloud-retail` data in [CompleteQueryRequest][google.cloud.retail.v2.CompleteQueryRequest].
bool auto_learning = 11;getAutoLearning in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setAutoLearning(boolean value)
If set to true, the auto learning function is enabled. Auto learning uses user data to generate suggestions using ML techniques. Default value is false. Only after enabling auto learning can users use `cloud-retail` data in [CompleteQueryRequest][google.cloud.retail.v2.CompleteQueryRequest].
bool auto_learning = 11;value - The autoLearning to set.public CompletionConfig.Builder clearAutoLearning()
If set to true, the auto learning function is enabled. Auto learning uses user data to generate suggestions using ML techniques. Default value is false. Only after enabling auto learning can users use `cloud-retail` data in [CompleteQueryRequest][google.cloud.retail.v2.CompleteQueryRequest].
bool auto_learning = 11;public boolean hasSuggestionsInputConfig()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasSuggestionsInputConfig in interface CompletionConfigOrBuilderpublic CompletionDataInputConfig getSuggestionsInputConfig()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSuggestionsInputConfig in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setSuggestionsInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder setSuggestionsInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder mergeSuggestionsInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder clearSuggestionsInputConfig()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionDataInputConfig.Builder getSuggestionsInputConfigBuilder()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionDataInputConfigOrBuilder getSuggestionsInputConfigOrBuilder()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSuggestionsInputConfigOrBuilder in interface CompletionConfigOrBuilderpublic String getLastSuggestionsImportOperation()
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastSuggestionsImportOperation in interface CompletionConfigOrBuilderpublic com.google.protobuf.ByteString getLastSuggestionsImportOperationBytes()
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastSuggestionsImportOperationBytes in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setLastSuggestionsImportOperation(String value)
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The lastSuggestionsImportOperation to set.public CompletionConfig.Builder clearLastSuggestionsImportOperation()
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder setLastSuggestionsImportOperationBytes(com.google.protobuf.ByteString value)
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes for lastSuggestionsImportOperation to set.public boolean hasDenylistInputConfig()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDenylistInputConfig in interface CompletionConfigOrBuilderpublic CompletionDataInputConfig getDenylistInputConfig()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDenylistInputConfig in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setDenylistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder setDenylistInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder mergeDenylistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder clearDenylistInputConfig()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionDataInputConfig.Builder getDenylistInputConfigBuilder()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionDataInputConfigOrBuilder getDenylistInputConfigOrBuilder()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDenylistInputConfigOrBuilder in interface CompletionConfigOrBuilderpublic String getLastDenylistImportOperation()
Output only. Name of the LRO corresponding to the latest denylist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_denylist_import_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastDenylistImportOperation in interface CompletionConfigOrBuilderpublic com.google.protobuf.ByteString getLastDenylistImportOperationBytes()
Output only. Name of the LRO corresponding to the latest denylist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_denylist_import_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastDenylistImportOperationBytes in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setLastDenylistImportOperation(String value)
Output only. Name of the LRO corresponding to the latest denylist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_denylist_import_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The lastDenylistImportOperation to set.public CompletionConfig.Builder clearLastDenylistImportOperation()
Output only. Name of the LRO corresponding to the latest denylist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_denylist_import_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder setLastDenylistImportOperationBytes(com.google.protobuf.ByteString value)
Output only. Name of the LRO corresponding to the latest denylist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_denylist_import_operation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes for lastDenylistImportOperation to set.public boolean hasAllowlistInputConfig()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAllowlistInputConfig in interface CompletionConfigOrBuilderpublic CompletionDataInputConfig getAllowlistInputConfig()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAllowlistInputConfig in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setAllowlistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder setAllowlistInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder mergeAllowlistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder clearAllowlistInputConfig()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionDataInputConfig.Builder getAllowlistInputConfigBuilder()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionDataInputConfigOrBuilder getAllowlistInputConfigOrBuilder()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAllowlistInputConfigOrBuilder in interface CompletionConfigOrBuilderpublic String getLastAllowlistImportOperation()
Output only. Name of the LRO corresponding to the latest allowlist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_allowlist_import_operation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastAllowlistImportOperation in interface CompletionConfigOrBuilderpublic com.google.protobuf.ByteString getLastAllowlistImportOperationBytes()
Output only. Name of the LRO corresponding to the latest allowlist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_allowlist_import_operation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastAllowlistImportOperationBytes in interface CompletionConfigOrBuilderpublic CompletionConfig.Builder setLastAllowlistImportOperation(String value)
Output only. Name of the LRO corresponding to the latest allowlist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_allowlist_import_operation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The lastAllowlistImportOperation to set.public CompletionConfig.Builder clearLastAllowlistImportOperation()
Output only. Name of the LRO corresponding to the latest allowlist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_allowlist_import_operation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompletionConfig.Builder setLastAllowlistImportOperationBytes(com.google.protobuf.ByteString value)
Output only. Name of the LRO corresponding to the latest allowlist import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API to retrieve the latest state of the Long Running Operation.
string last_allowlist_import_operation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes for lastAllowlistImportOperation to set.public final CompletionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>public final CompletionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.