Package com.google.cloud.retail.v2beta
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDoNotAssociateTerms(int index)
Cannot contain duplicates or the query term.com.google.protobuf.ByteString
getDoNotAssociateTermsBytes(int index)
Cannot contain duplicates or the query term.int
getDoNotAssociateTermsCount()
Cannot contain duplicates or the query term.List<String>
getDoNotAssociateTermsList()
Cannot contain duplicates or the query term.String
getQueryTerms(int index)
Terms from the search query.com.google.protobuf.ByteString
getQueryTermsBytes(int index)
Terms from the search query.int
getQueryTermsCount()
Terms from the search query.List<String>
getQueryTermsList()
Terms from the search query.String
getTerms(int index)
Will be [deprecated = true] post migration;com.google.protobuf.ByteString
getTermsBytes(int index)
Will be [deprecated = true] post migration;int
getTermsCount()
Will be [deprecated = true] post migration;List<String>
getTermsList()
Will be [deprecated = true] post migration;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getQueryTermsList
List<String> 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
String getQueryTerms(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 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
List<String> 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
String getDoNotAssociateTerms(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 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
List<String> 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
String getTerms(int index)
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.
-
-