public static final class Condition.QueryTerm extends GeneratedMessageV3 implements Condition.QueryTermOrBuilder
Query terms that we want to match on.
Protobuf type google.cloud.retail.v2beta.Condition.QueryTerm
Static Fields
FULL_MATCH_FIELD_NUMBER
public static final int FULL_MATCH_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Condition.QueryTerm getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Condition.QueryTerm.Builder newBuilder()
Returns
newBuilder(Condition.QueryTerm prototype)
public static Condition.QueryTerm.Builder newBuilder(Condition.QueryTerm prototype)
Parameter
Returns
public static Condition.QueryTerm parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Condition.QueryTerm parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Condition.QueryTerm parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Condition.QueryTerm parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Condition.QueryTerm parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Condition.QueryTerm parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Condition.QueryTerm parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Condition.QueryTerm parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Condition.QueryTerm parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Condition.QueryTerm parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Condition.QueryTerm parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Condition.QueryTerm parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Condition.QueryTerm> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Condition.QueryTerm getDefaultInstanceForType()
Returns
getFullMatch()
public boolean getFullMatch()
Whether this is supposed to be a full or partial match.
bool full_match = 2;
Returns
Type | Description |
boolean | The fullMatch.
|
getParserForType()
public Parser<Condition.QueryTerm> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
Example) "a b c" is 3 terms and allowed, " a b c d" is 4 terms and not
allowed for partial match.
string value = 1;
Returns
Type | Description |
String | The value.
|
getValueBytes()
public 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.
Example) "a b c" is 3 terms and allowed, " a b c d" is 4 terms and not
allowed for partial match.
string value = 1;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Condition.QueryTerm.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Condition.QueryTerm.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Condition.QueryTerm.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions