Package com.google.cloud.retail.v2
Interface Condition.QueryTermOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Condition.QueryTerm
,Condition.QueryTerm.Builder
- Enclosing class:
- Condition
public static interface Condition.QueryTermOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getFullMatch()
Whether this is supposed to be a full or partial match.String
getValue()
The value of the term to match on.com.google.protobuf.ByteString
getValueBytes()
The value of the term to match on.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getValue
String getValue()
The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
string value = 1;
- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
string value = 1;
- Returns:
- The bytes for value.
-
getFullMatch
boolean getFullMatch()
Whether this is supposed to be a full or partial match.
bool full_match = 2;
- Returns:
- The fullMatch.
-
-