Package com.google.cloud.retail.v2beta
Class CompletionConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
- com.google.cloud.retail.v2beta.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.GeneratedMessageV3.Builder<CompletionConfig.Builder> implements CompletionConfigOrBuilder
Catalog level autocomplete config for customers to customize autocomplete feature's settings.
Protobuf typegoogle.cloud.retail.v2beta.CompletionConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(CompletionConfig other)
CompletionConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
Output only.CompletionConfig.Builder
setAllowlistInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only.CompletionConfig.Builder
setAutoLearning(boolean value)
If set to true, the auto learning function is enabled.CompletionConfig.Builder
setDenylistInputConfig(CompletionDataInputConfig value)
Output only.CompletionConfig.Builder
setDenylistInputConfig(CompletionDataInputConfig.Builder builderForValue)
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 value)
Output only.CompletionConfig.Builder
setSuggestionsInputConfig(CompletionDataInputConfig.Builder builderForValue)
Output only.CompletionConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
clear
public CompletionConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
getDefaultInstanceForType
public CompletionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CompletionConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CompletionConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CompletionConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
setField
public CompletionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
clearField
public CompletionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
clearOneof
public CompletionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
setRepeatedField
public CompletionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
addRepeatedField
public CompletionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
mergeFrom
public CompletionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CompletionConfig.Builder>
-
mergeFrom
public CompletionConfig.Builder mergeFrom(CompletionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
mergeFrom
public CompletionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CompletionConfig.Builder>
- Throws:
IOException
-
getName
public String 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:
getName
in 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:
getNameBytes
in interfaceCompletionConfigOrBuilder
- Returns:
- The bytes for name.
-
setName
public 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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];
- Returns:
- This builder for chaining.
-
setNameBytes
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getMatchingOrder
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;
- Specified by:
getMatchingOrder
in 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:
getMatchingOrderBytes
in interfaceCompletionConfigOrBuilder
- Returns:
- The bytes for matchingOrder.
-
setMatchingOrder
public 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;
- Parameters:
value
- The matchingOrder to set.- Returns:
- This builder for chaining.
-
clearMatchingOrder
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;
- Returns:
- This builder for chaining.
-
setMatchingOrderBytes
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;
- 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:
getMaxSuggestions
in interfaceCompletionConfigOrBuilder
- Returns:
- The maxSuggestions.
-
setMaxSuggestions
public 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;
- Parameters:
value
- The maxSuggestions to set.- Returns:
- This builder for chaining.
-
clearMaxSuggestions
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;
- 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:
getMinPrefixLength
in interfaceCompletionConfigOrBuilder
- Returns:
- The minPrefixLength.
-
setMinPrefixLength
public 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;
- Parameters:
value
- The minPrefixLength to set.- Returns:
- This builder for chaining.
-
clearMinPrefixLength
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;
- 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.v2beta.CompleteQueryRequest].
bool auto_learning = 11;
- Specified by:
getAutoLearning
in interfaceCompletionConfigOrBuilder
- Returns:
- The autoLearning.
-
setAutoLearning
public 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.v2beta.CompleteQueryRequest].
bool auto_learning = 11;
- Parameters:
value
- The autoLearning to set.- Returns:
- This builder for chaining.
-
clearAutoLearning
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.v2beta.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.v2beta.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasSuggestionsInputConfig
in interfaceCompletionConfigOrBuilder
- Returns:
- Whether the suggestionsInputConfig field is set.
-
getSuggestionsInputConfig
public CompletionDataInputConfig getSuggestionsInputConfig()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSuggestionsInputConfig
in interfaceCompletionConfigOrBuilder
- Returns:
- The suggestionsInputConfig.
-
setSuggestionsInputConfig
public CompletionConfig.Builder setSuggestionsInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2beta.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.v2beta.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeSuggestionsInputConfig
public CompletionConfig.Builder mergeSuggestionsInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearSuggestionsInputConfig
public CompletionConfig.Builder clearSuggestionsInputConfig()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSuggestionsInputConfigBuilder
public CompletionDataInputConfig.Builder getSuggestionsInputConfigBuilder()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getSuggestionsInputConfigOrBuilder
public CompletionDataInputConfigOrBuilder getSuggestionsInputConfigOrBuilder()
Output only. The source data for the latest import of the autocomplete suggestion phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig suggestions_input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSuggestionsInputConfigOrBuilder
in interfaceCompletionConfigOrBuilder
-
getLastSuggestionsImportOperation
public 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];
- Specified by:
getLastSuggestionsImportOperation
in 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 to retrieve the latest state of the Long Running Operation.
string last_suggestions_import_operation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLastSuggestionsImportOperationBytes
in interfaceCompletionConfigOrBuilder
- Returns:
- The bytes for lastSuggestionsImportOperation.
-
setLastSuggestionsImportOperation
public 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];
- Parameters:
value
- The lastSuggestionsImportOperation to set.- Returns:
- This builder for chaining.
-
clearLastSuggestionsImportOperation
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];
- 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 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.v2beta.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDenylistInputConfig
in interfaceCompletionConfigOrBuilder
- Returns:
- Whether the denylistInputConfig field is set.
-
getDenylistInputConfig
public CompletionDataInputConfig getDenylistInputConfig()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDenylistInputConfig
in interfaceCompletionConfigOrBuilder
- Returns:
- The denylistInputConfig.
-
setDenylistInputConfig
public CompletionConfig.Builder setDenylistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2beta.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.v2beta.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDenylistInputConfig
public CompletionConfig.Builder mergeDenylistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDenylistInputConfig
public CompletionConfig.Builder clearDenylistInputConfig()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDenylistInputConfigBuilder
public CompletionDataInputConfig.Builder getDenylistInputConfigBuilder()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDenylistInputConfigOrBuilder
public CompletionDataInputConfigOrBuilder getDenylistInputConfigOrBuilder()
Output only. The source data for the latest import of the autocomplete denylist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig denylist_input_config = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDenylistInputConfigOrBuilder
in interfaceCompletionConfigOrBuilder
-
getLastDenylistImportOperation
public 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];
- Specified by:
getLastDenylistImportOperation
in 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:
getLastDenylistImportOperationBytes
in interfaceCompletionConfigOrBuilder
- Returns:
- The bytes for lastDenylistImportOperation.
-
setLastDenylistImportOperation
public 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];
- Parameters:
value
- The lastDenylistImportOperation to set.- Returns:
- This builder for chaining.
-
clearLastDenylistImportOperation
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];
- 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.v2beta.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasAllowlistInputConfig
in interfaceCompletionConfigOrBuilder
- Returns:
- Whether the allowlistInputConfig field is set.
-
getAllowlistInputConfig
public CompletionDataInputConfig getAllowlistInputConfig()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAllowlistInputConfig
in interfaceCompletionConfigOrBuilder
- Returns:
- The allowlistInputConfig.
-
setAllowlistInputConfig
public CompletionConfig.Builder setAllowlistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2beta.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.v2beta.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeAllowlistInputConfig
public CompletionConfig.Builder mergeAllowlistInputConfig(CompletionDataInputConfig value)
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearAllowlistInputConfig
public CompletionConfig.Builder clearAllowlistInputConfig()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAllowlistInputConfigBuilder
public CompletionDataInputConfig.Builder getAllowlistInputConfigBuilder()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAllowlistInputConfigOrBuilder
public CompletionDataInputConfigOrBuilder getAllowlistInputConfigOrBuilder()
Output only. The source data for the latest import of the autocomplete allowlist phrases.
.google.cloud.retail.v2beta.CompletionDataInputConfig allowlist_input_config = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAllowlistInputConfigOrBuilder
in interfaceCompletionConfigOrBuilder
-
getLastAllowlistImportOperation
public 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];
- Specified by:
getLastAllowlistImportOperation
in 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:
getLastAllowlistImportOperationBytes
in interfaceCompletionConfigOrBuilder
- Returns:
- The bytes for lastAllowlistImportOperation.
-
setLastAllowlistImportOperation
public 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];
- Parameters:
value
- The lastAllowlistImportOperation to set.- Returns:
- This builder for chaining.
-
clearLastAllowlistImportOperation
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];
- 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.
-
setUnknownFields
public final CompletionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
mergeUnknownFields
public final CompletionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompletionConfig.Builder>
-
-