public static final class Condition.QueryTerm.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder> implements Condition.QueryTermOrBuilder
Query terms that we want to match on.Protobuf type
google.cloud.retail.v2.Condition.QueryTerm| Modifier and Type | Method and Description |
|---|---|
Condition.QueryTerm.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Condition.QueryTerm |
build() |
Condition.QueryTerm |
buildPartial() |
Condition.QueryTerm.Builder |
clear() |
Condition.QueryTerm.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Condition.QueryTerm.Builder |
clearFullMatch()
Whether this is supposed to be a full or partial match.
|
Condition.QueryTerm.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Condition.QueryTerm.Builder |
clearValue()
The value of the term to match on.
|
Condition.QueryTerm.Builder |
clone() |
Condition.QueryTerm |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Condition.QueryTerm.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Condition.QueryTerm.Builder |
mergeFrom(Condition.QueryTerm other) |
Condition.QueryTerm.Builder |
mergeFrom(com.google.protobuf.Message other) |
Condition.QueryTerm.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Condition.QueryTerm.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Condition.QueryTerm.Builder |
setFullMatch(boolean value)
Whether this is supposed to be a full or partial match.
|
Condition.QueryTerm.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Condition.QueryTerm.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Condition.QueryTerm.Builder |
setValue(String value)
The value of the term to match on.
|
Condition.QueryTerm.Builder |
setValueBytes(com.google.protobuf.ByteString value)
The value of the term to match on.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Condition.QueryTerm build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Condition.QueryTerm buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Condition.QueryTerm.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder mergeFrom(Condition.QueryTerm other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public Condition.QueryTerm.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Condition.QueryTerm.Builder>IOExceptionpublic 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;getValue in interface Condition.QueryTermOrBuilderpublic 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;getValueBytes in interface Condition.QueryTermOrBuilderpublic Condition.QueryTerm.Builder setValue(String value)
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;value - The value to set.public Condition.QueryTerm.Builder clearValue()
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;public Condition.QueryTerm.Builder setValueBytes(com.google.protobuf.ByteString value)
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;value - The bytes for value to set.public boolean getFullMatch()
Whether this is supposed to be a full or partial match.
bool full_match = 2;getFullMatch in interface Condition.QueryTermOrBuilderpublic Condition.QueryTerm.Builder setFullMatch(boolean value)
Whether this is supposed to be a full or partial match.
bool full_match = 2;value - The fullMatch to set.public Condition.QueryTerm.Builder clearFullMatch()
Whether this is supposed to be a full or partial match.
bool full_match = 2;public final Condition.QueryTerm.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>public final Condition.QueryTerm.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Condition.QueryTerm.Builder>Copyright © 2024 Google LLC. All rights reserved.