Interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintOrBuilder (0.51.0)

public static interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFieldName()

public abstract String getFieldName()

Name of the string field as defined in the schema.

string field_name = 1;

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public abstract ByteString getFieldNameBytes()

Name of the string field as defined in the schema.

string field_name = 1;

Returns
Type Description
ByteString

The bytes for fieldName.

getQuerySegment()

public abstract String getQuerySegment()

Identifies the keywords within the search query that match a filter.

string query_segment = 3;

Returns
Type Description
String

The querySegment.

getQuerySegmentBytes()

public abstract ByteString getQuerySegmentBytes()

Identifies the keywords within the search query that match a filter.

string query_segment = 3;

Returns
Type Description
ByteString

The bytes for querySegment.

getValues(int index)

public abstract String getValues(int index)

Values of the string field. The record will only be returned if the field value matches one of the values specified here.

repeated string values = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

public abstract ByteString getValuesBytes(int index)

Values of the string field. The record will only be returned if the field value matches one of the values specified here.

repeated string values = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

public abstract int getValuesCount()

Values of the string field. The record will only be returned if the field value matches one of the values specified here.

repeated string values = 2;

Returns
Type Description
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Values of the string field. The record will only be returned if the field value matches one of the values specified here.

repeated string values = 2;

Returns
Type Description
List<String>

A list containing the values.