Interface AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder (0.51.0)

public static interface AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataStore()

public abstract String getDataStore()

The name of the dataStore that this suggestion belongs to.

string data_store = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataStore.

getDataStoreBytes()

public abstract ByteString getDataStoreBytes()

The name of the dataStore that this suggestion belongs to.

string data_store = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataStore.

getDocument()

public abstract Document getDocument()

The document data snippet in the suggestion. Only a subset of fields is populated.

.google.cloud.discoveryengine.v1beta.Document document = 4;

Returns
Type Description
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

The document data snippet in the suggestion. Only a subset of fields is populated.

.google.cloud.discoveryengine.v1beta.Document document = 4;

Returns
Type Description
DocumentOrBuilder

getPersonType()

public abstract AdvancedCompleteQueryResponse.PersonSuggestion.PersonType getPersonType()

The type of the person.

.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;

Returns
Type Description
AdvancedCompleteQueryResponse.PersonSuggestion.PersonType

The personType.

getPersonTypeValue()

public abstract int getPersonTypeValue()

The type of the person.

.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion.PersonType person_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for personType.

getSuggestion()

public abstract String getSuggestion()

The suggestion for the query.

string suggestion = 1;

Returns
Type Description
String

The suggestion.

getSuggestionBytes()

public abstract ByteString getSuggestionBytes()

The suggestion for the query.

string suggestion = 1;

Returns
Type Description
ByteString

The bytes for suggestion.

hasDocument()

public abstract boolean hasDocument()

The document data snippet in the suggestion. Only a subset of fields is populated.

.google.cloud.discoveryengine.v1beta.Document document = 4;

Returns
Type Description
boolean

Whether the document field is set.