Package com.google.cloud.retail.v2alpha
Interface Rule.OnewaySynonymsActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rule.OnewaySynonymsAction,Rule.OnewaySynonymsAction.Builder
- Enclosing class:
- Rule
public static interface Rule.OnewaySynonymsActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetOnewayTerms(int index) Will be [deprecated = true] post migration;com.google.protobuf.ByteStringgetOnewayTermsBytes(int index) Will be [deprecated = true] post migration;intWill be [deprecated = true] post migration;Will be [deprecated = true] post migration;getQueryTerms(int index) Terms from the search query.com.google.protobuf.ByteStringgetQueryTermsBytes(int index) Terms from the search query.intTerms from the search query.Terms from the search query.getSynonyms(int index) Defines a set of synonyms.com.google.protobuf.ByteStringgetSynonymsBytes(int index) Defines a set of synonyms.intDefines a set of synonyms.Defines a set of synonyms.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getQueryTermsList
Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
repeated string query_terms = 3;- Returns:
- A list containing the queryTerms.
-
getQueryTermsCount
int getQueryTermsCount()Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
repeated string query_terms = 3;- Returns:
- The count of queryTerms.
-
getQueryTerms
Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
repeated string query_terms = 3;- Parameters:
index- The index of the element to return.- Returns:
- The queryTerms at the given index.
-
getQueryTermsBytes
com.google.protobuf.ByteString getQueryTermsBytes(int index) Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
repeated string query_terms = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the queryTerms at the given index.
-
getSynonymsList
Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
repeated string synonyms = 4;- Returns:
- A list containing the synonyms.
-
getSynonymsCount
int getSynonymsCount()Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
repeated string synonyms = 4;- Returns:
- The count of synonyms.
-
getSynonyms
Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
repeated string synonyms = 4;- Parameters:
index- The index of the element to return.- Returns:
- The synonyms at the given index.
-
getSynonymsBytes
com.google.protobuf.ByteString getSynonymsBytes(int index) Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
repeated string synonyms = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the synonyms at the given index.
-
getOnewayTermsList
Will be [deprecated = true] post migration;
repeated string oneway_terms = 2;- Returns:
- A list containing the onewayTerms.
-
getOnewayTermsCount
int getOnewayTermsCount()Will be [deprecated = true] post migration;
repeated string oneway_terms = 2;- Returns:
- The count of onewayTerms.
-
getOnewayTerms
Will be [deprecated = true] post migration;
repeated string oneway_terms = 2;- Parameters:
index- The index of the element to return.- Returns:
- The onewayTerms at the given index.
-
getOnewayTermsBytes
com.google.protobuf.ByteString getOnewayTermsBytes(int index) Will be [deprecated = true] post migration;
repeated string oneway_terms = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the onewayTerms at the given index.
-