Package com.google.cloud.retail.v2
Interface Rule.IgnoreActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rule.IgnoreAction,Rule.IgnoreAction.Builder
- Enclosing class:
- Rule
public static interface Rule.IgnoreActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetIgnoreTerms(int index)Terms to ignore in the search query.com.google.protobuf.ByteStringgetIgnoreTermsBytes(int index)Terms to ignore in the search query.intgetIgnoreTermsCount()Terms to ignore in the search query.List<String>getIgnoreTermsList()Terms to ignore in the search query.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getIgnoreTermsList
List<String> getIgnoreTermsList()
Terms to ignore in the search query.
repeated string ignore_terms = 1;- Returns:
- A list containing the ignoreTerms.
-
getIgnoreTermsCount
int getIgnoreTermsCount()
Terms to ignore in the search query.
repeated string ignore_terms = 1;- Returns:
- The count of ignoreTerms.
-
getIgnoreTerms
String getIgnoreTerms(int index)
Terms to ignore in the search query.
repeated string ignore_terms = 1;- Parameters:
index- The index of the element to return.- Returns:
- The ignoreTerms at the given index.
-
getIgnoreTermsBytes
com.google.protobuf.ByteString getIgnoreTermsBytes(int index)
Terms to ignore in the search query.
repeated string ignore_terms = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ignoreTerms at the given index.
-
-