public interface TextQueryOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getFields(int index)
public abstract String getFields(int index)Required. The data fields to search against.
repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The fields at the given index. |
getFieldsBytes(int index)
public abstract ByteString getFieldsBytes(int index)Required. The data fields to search against.
repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the fields at the given index. |
getFieldsCount()
public abstract int getFieldsCount()Required. The data fields to search against.
repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of fields. |
getFieldsList()
public abstract List<String> getFieldsList()Required. The data fields to search against.
repeated string fields = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the fields. |
getMatchType()
public abstract TextQuery.MatchType getMatchType() Optional. The matching strategy to apply for this query. If unset, defaults
to STANDARD.
.google.cloud.vectorsearch.v1beta.TextQuery.MatchType match_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TextQuery.MatchType |
The matchType. |
getMatchTypeValue()
public abstract int getMatchTypeValue() Optional. The matching strategy to apply for this query. If unset, defaults
to STANDARD.
.google.cloud.vectorsearch.v1beta.TextQuery.MatchType match_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for matchType. |
getQueryEnhancement()
public abstract QueryEnhancement getQueryEnhancement()Optional. The query enhancement settings to apply for this query.
.google.cloud.vectorsearch.v1beta.QueryEnhancement query_enhancement = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryEnhancement |
The queryEnhancement. |
getQueryEnhancementOrBuilder()
public abstract QueryEnhancementOrBuilder getQueryEnhancementOrBuilder()Optional. The query enhancement settings to apply for this query.
.google.cloud.vectorsearch.v1beta.QueryEnhancement query_enhancement = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryEnhancementOrBuilder |
|
getText()
public abstract String getText()Required. The text to search for.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Required. The text to search for.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
hasQueryEnhancement()
public abstract boolean hasQueryEnhancement()Optional. The query enhancement settings to apply for this query.
.google.cloud.vectorsearch.v1beta.QueryEnhancement query_enhancement = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queryEnhancement field is set. |