Package com.google.cloud.retail.v2alpha
Class CompletionConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompletionConfig.Builder>
com.google.cloud.retail.v2alpha.CompletionConfig.Builder
- All Implemented Interfaces:
CompletionConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CompletionConfig
public static final class CompletionConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CompletionConfig.Builder>
implements CompletionConfigOrBuilder
Catalog level autocomplete config for customers to customize autocomplete feature's settings.Protobuf type
google.cloud.retail.v2alpha.CompletionConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.If set to true, the auto learning function is enabled.Output only.Output only.Output only.Output only.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".The maximum number of autocomplete suggestions returned per term.The minimum number of characters needed to be typed in order to get suggestions.Required.Output only.Output only.Output only.Output only.booleanIf set to true, the auto learning function is enabled.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.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.ByteStringSpecifies 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".intThe maximum number of autocomplete suggestions returned per term.intThe minimum number of characters needed to be typed in order to get suggestions.getName()Required.com.google.protobuf.ByteStringRequired.Output only.Output only.Output only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.Output only.mergeFrom(CompletionConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setAllowlistInputConfig(CompletionDataInputConfig.Builder builderForValue) Output only.setAutoLearning(boolean value) If set to true, the auto learning function is enabled.Output only.setDenylistInputConfig(CompletionDataInputConfig.Builder builderForValue) Output only.Output only.setLastAllowlistImportOperationBytes(com.google.protobuf.ByteString value) Output only.Output only.setLastDenylistImportOperationBytes(com.google.protobuf.ByteString value) Output only.Output only.setLastSuggestionsImportOperationBytes(com.google.protobuf.ByteString value) Output only.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".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".setMaxSuggestions(int value) The maximum number of autocomplete suggestions returned per term.setMinPrefixLength(int value) The minimum number of characters needed to be typed in order to get suggestions.Required.setNameBytes(com.google.protobuf.ByteString value) Required.Output only.setSuggestionsInputConfig(CompletionDataInputConfig.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CompletionConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CompletionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CompletionConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompletionConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CompletionConfig.Builder>
-
mergeFrom
public CompletionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompletionConfig.Builder>- Throws:
IOException
-
getName
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceCompletionConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceCompletionConfigOrBuilder- Returns:
- The bytes for name.
-
setName
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getMatchingOrderin interfaceCompletionConfigOrBuilder- Returns:
- The matchingOrder.
-
getMatchingOrderBytes
public 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;- Specified by:
getMatchingOrderBytesin interfaceCompletionConfigOrBuilder- Returns:
- The bytes for matchingOrder.
-
setMatchingOrder
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;- Parameters:
value- The matchingOrder to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setMatchingOrderBytes
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;- Parameters:
value- The bytes for matchingOrder to set.- Returns:
- This builder for chaining.
-
getMaxSuggestions
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;- Specified by:
getMaxSuggestionsin interfaceCompletionConfigOrBuilder- Returns:
- The maxSuggestions.
-
setMaxSuggestions
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;- Parameters:
value- The maxSuggestions to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getMinPrefixLength
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;- Specified by:
getMinPrefixLengthin interfaceCompletionConfigOrBuilder- Returns:
- The minPrefixLength.
-
setMinPrefixLength
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;- Parameters:
value- The minPrefixLength to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getAutoLearning
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.v2alpha.CompleteQueryRequest].
bool auto_learning = 11;- Specified by:
getAutoLearningin interfaceCompletionConfigOrBuilder- Returns:
- The autoLearning.
-
setAutoLearning
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.v2alpha.CompleteQueryRequest].
bool auto_learning = 11;- Parameters:
value- The autoLearning to set.- Returns:
- This builder for chaining.
-
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.v2alpha.CompleteQueryRequest].
bool auto_learning = 11;- Returns:
- This builder for chaining.
-
hasSuggestionsInputConfig
public boolean hasSuggestionsInputConfig()Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSuggestionsInputConfigin interfaceCompletionConfigOrBuilder- Returns:
- Whether the suggestionsInputConfig field is set.
-
getSuggestionsInputConfig
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuggestionsInputConfigin interfaceCompletionConfigOrBuilder- Returns:
- The suggestionsInputConfig.
-
setSuggestionsInputConfig
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSuggestionsInputConfig
public CompletionConfig.Builder setSuggestionsInputConfig(CompletionDataInputConfig.Builder builderForValue) Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeSuggestionsInputConfig
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearSuggestionsInputConfig
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSuggestionsInputConfigBuilder
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSuggestionsInputConfigOrBuilder
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuggestionsInputConfigOrBuilderin interfaceCompletionConfigOrBuilder
-
getLastSuggestionsImportOperation
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API method to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastSuggestionsImportOperationin interfaceCompletionConfigOrBuilder- Returns:
- The lastSuggestionsImportOperation.
-
getLastSuggestionsImportOperationBytes
public 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 method to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastSuggestionsImportOperationBytesin interfaceCompletionConfigOrBuilder- Returns:
- The bytes for lastSuggestionsImportOperation.
-
setLastSuggestionsImportOperation
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API method to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The lastSuggestionsImportOperation to set.- Returns:
- This builder for chaining.
-
clearLastSuggestionsImportOperation
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use [GetOperation][google.longrunning.Operations.GetOperation] API method to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLastSuggestionsImportOperationBytes
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 method to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for lastSuggestionsImportOperation to set.- Returns:
- This builder for chaining.
-
hasDenylistInputConfig
public boolean hasDenylistInputConfig()Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDenylistInputConfigin interfaceCompletionConfigOrBuilder- Returns:
- Whether the denylistInputConfig field is set.
-
getDenylistInputConfig
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDenylistInputConfigin interfaceCompletionConfigOrBuilder- Returns:
- The denylistInputConfig.
-
setDenylistInputConfig
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDenylistInputConfig
public CompletionConfig.Builder setDenylistInputConfig(CompletionDataInputConfig.Builder builderForValue) Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDenylistInputConfig
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDenylistInputConfig
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDenylistInputConfigBuilder
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDenylistInputConfigOrBuilder
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDenylistInputConfigOrBuilderin interfaceCompletionConfigOrBuilder
-
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];- Specified by:
getLastDenylistImportOperationin interfaceCompletionConfigOrBuilder- Returns:
- The lastDenylistImportOperation.
-
getLastDenylistImportOperationBytes
public 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];- Specified by:
getLastDenylistImportOperationBytesin interfaceCompletionConfigOrBuilder- Returns:
- The bytes for lastDenylistImportOperation.
-
setLastDenylistImportOperation
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];- Parameters:
value- The lastDenylistImportOperation to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setLastDenylistImportOperationBytes
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];- Parameters:
value- The bytes for lastDenylistImportOperation to set.- Returns:
- This builder for chaining.
-
hasAllowlistInputConfig
public boolean hasAllowlistInputConfig()Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAllowlistInputConfigin interfaceCompletionConfigOrBuilder- Returns:
- Whether the allowlistInputConfig field is set.
-
getAllowlistInputConfig
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAllowlistInputConfigin interfaceCompletionConfigOrBuilder- Returns:
- The allowlistInputConfig.
-
setAllowlistInputConfig
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAllowlistInputConfig
public CompletionConfig.Builder setAllowlistInputConfig(CompletionDataInputConfig.Builder builderForValue) Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeAllowlistInputConfig
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAllowlistInputConfig
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAllowlistInputConfigBuilder
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAllowlistInputConfigOrBuilder
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2alpha.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAllowlistInputConfigOrBuilderin interfaceCompletionConfigOrBuilder
-
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];- Specified by:
getLastAllowlistImportOperationin interfaceCompletionConfigOrBuilder- Returns:
- The lastAllowlistImportOperation.
-
getLastAllowlistImportOperationBytes
public 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];- Specified by:
getLastAllowlistImportOperationBytesin interfaceCompletionConfigOrBuilder- Returns:
- The bytes for lastAllowlistImportOperation.
-
setLastAllowlistImportOperation
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];- Parameters:
value- The lastAllowlistImportOperation to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setLastAllowlistImportOperationBytes
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];- Parameters:
value- The bytes for lastAllowlistImportOperation to set.- Returns:
- This builder for chaining.
-