Interface AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdvancedCompleteQueryResponse.PersonSuggestion,AdvancedCompleteQueryResponse.PersonSuggestion.Builder
- Enclosing class:
- AdvancedCompleteQueryResponse
public static interface AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the dataStore that this suggestion belongs to.com.google.protobuf.ByteStringThe name of the dataStore that this suggestion belongs to.The document data snippet in the suggestion.The document data snippet in the suggestion.The type of the person.intThe type of the person.The suggestion for the query.com.google.protobuf.ByteStringThe suggestion for the query.booleanThe document data snippet in the suggestion.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
-
getSuggestion
String getSuggestion()The suggestion for the query.
string suggestion = 1;- Returns:
- The suggestion.
-
getSuggestionBytes
com.google.protobuf.ByteString getSuggestionBytes()The suggestion for the query.
string suggestion = 1;- Returns:
- The bytes for suggestion.
-
getPersonTypeValue
int getPersonTypeValue()The type of the person.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;- Returns:
- The enum numeric value on the wire for personType.
-
getPersonType
AdvancedCompleteQueryResponse.PersonSuggestion.PersonType getPersonType()The type of the person.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;- Returns:
- The personType.
-
hasDocument
boolean hasDocument()The document data snippet in the suggestion. Only a subset of fields is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;- Returns:
- Whether the document field is set.
-
getDocument
Document getDocument()The document data snippet in the suggestion. Only a subset of fields is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;- Returns:
- The document.
-
getDocumentOrBuilder
DocumentOrBuilder getDocumentOrBuilder()The document data snippet in the suggestion. Only a subset of fields is populated.
.google.cloud.discoveryengine.v1beta.Document document = 4; -
getDataStore
String getDataStore()The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }- Returns:
- The dataStore.
-
getDataStoreBytes
com.google.protobuf.ByteString getDataStoreBytes()The name of the dataStore that this suggestion belongs to.
string data_store = 5 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for dataStore.
-