Interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint,SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint.Builder
public static interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of the string field as defined in the schema.com.google.protobuf.ByteStringName of the string field as defined in the schema.Identifies the keywords within the search query that match a filter.com.google.protobuf.ByteStringIdentifies the keywords within the search query that match a filter.getValues(int index) Values of the string field.com.google.protobuf.ByteStringgetValuesBytes(int index) Values of the string field.intValues of the string field.Values of the string field.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFieldName
String getFieldName()Name of the string field as defined in the schema.
string field_name = 1;- Returns:
- The fieldName.
-
getFieldNameBytes
com.google.protobuf.ByteString getFieldNameBytes()Name of the string field as defined in the schema.
string field_name = 1;- Returns:
- The bytes for fieldName.
-
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:
- A list containing the values.
-
getValuesCount
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:
- The count of values.
-
getValues
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;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getValuesBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
getQuerySegment
String getQuerySegment()Identifies the keywords within the search query that match a filter.
string query_segment = 3;- Returns:
- The querySegment.
-
getQuerySegmentBytes
com.google.protobuf.ByteString getQuerySegmentBytes()Identifies the keywords within the search query that match a filter.
string query_segment = 3;- Returns:
- The bytes for querySegment.
-