public static interface AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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. |
getDestinationUri()
public abstract String getDestinationUri()The destination uri of the person suggestion.
string destination_uri = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The destinationUri. |
getDestinationUriBytes()
public abstract ByteString getDestinationUriBytes()The destination uri of the person suggestion.
string destination_uri = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for destinationUri. |
getDisplayPhotoUri()
public abstract String getDisplayPhotoUri()The photo uri of the person suggestion.
string display_photo_uri = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The displayPhotoUri. |
getDisplayPhotoUriBytes()
public abstract ByteString getDisplayPhotoUriBytes()The photo uri of the person suggestion.
string display_photo_uri = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayPhotoUri. |
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. |
getScore()
public abstract double getScore()The score of each suggestion. The score is in the range of [0, 1].
double score = 6;
| Returns | |
|---|---|
| Type | Description |
double |
The score. |
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. |