Package com.google.cloud.retail.v2alpha
Interface Rule.DoNotAssociateActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rule.DoNotAssociateAction,Rule.DoNotAssociateAction.Builder
- Enclosing class:
- Rule
public static interface Rule.DoNotAssociateActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDoNotAssociateTerms(int index) Cannot contain duplicates or the query term.com.google.protobuf.ByteStringgetDoNotAssociateTermsBytes(int index) Cannot contain duplicates or the query term.intCannot contain duplicates or the query term.Cannot contain duplicates or the query term.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.getTerms(int index) Will be [deprecated = true] post migration;com.google.protobuf.ByteStringgetTermsBytes(int index) Will be [deprecated = true] post migration;intWill be [deprecated = true] post migration;Will be [deprecated = true] post migration;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 not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
repeated string query_terms = 2;- Returns:
- A list containing the queryTerms.
-
getQueryTermsCount
int getQueryTermsCount()Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
repeated string query_terms = 2;- Returns:
- The count of queryTerms.
-
getQueryTerms
Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
repeated string query_terms = 2;- 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 not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
repeated string query_terms = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the queryTerms at the given index.
-
getDoNotAssociateTermsList
Cannot contain duplicates or the query term. Can specify up to 100 terms.
repeated string do_not_associate_terms = 3;- Returns:
- A list containing the doNotAssociateTerms.
-
getDoNotAssociateTermsCount
int getDoNotAssociateTermsCount()Cannot contain duplicates or the query term. Can specify up to 100 terms.
repeated string do_not_associate_terms = 3;- Returns:
- The count of doNotAssociateTerms.
-
getDoNotAssociateTerms
Cannot contain duplicates or the query term. Can specify up to 100 terms.
repeated string do_not_associate_terms = 3;- Parameters:
index- The index of the element to return.- Returns:
- The doNotAssociateTerms at the given index.
-
getDoNotAssociateTermsBytes
com.google.protobuf.ByteString getDoNotAssociateTermsBytes(int index) Cannot contain duplicates or the query term. Can specify up to 100 terms.
repeated string do_not_associate_terms = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the doNotAssociateTerms at the given index.
-
getTermsList
Will be [deprecated = true] post migration;
repeated string terms = 1;- Returns:
- A list containing the terms.
-
getTermsCount
int getTermsCount()Will be [deprecated = true] post migration;
repeated string terms = 1;- Returns:
- The count of terms.
-
getTerms
Will be [deprecated = true] post migration;
repeated string terms = 1;- Parameters:
index- The index of the element to return.- Returns:
- The terms at the given index.
-
getTermsBytes
com.google.protobuf.ByteString getTermsBytes(int index) Will be [deprecated = true] post migration;
repeated string terms = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the terms at the given index.
-