public static interface AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContentType()
public abstract AdvancedCompleteQueryResponse.ContentSuggestion.ContentType getContentType()The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;
| Returns | |
|---|---|
| Type | Description |
AdvancedCompleteQueryResponse.ContentSuggestion.ContentType |
The contentType. |
getContentTypeValue()
public abstract int getContentTypeValue()The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for contentType. |
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 content suggestion.
string destination_uri = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The destinationUri. |
getDestinationUriBytes()
public abstract ByteString getDestinationUriBytes()The destination uri of the content suggestion.
string destination_uri = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for destinationUri. |
getDocument()
public abstract Document getDocument()The document data snippet in the suggestion. Only a subset of fields will be 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 will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Returns | |
|---|---|
| Type | Description |
DocumentOrBuilder |
|
getIconUri()
public abstract String getIconUri()The icon uri of the content suggestion.
string icon_uri = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The iconUri. |
getIconUriBytes()
public abstract ByteString getIconUriBytes()The icon uri of the content suggestion.
string icon_uri = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for iconUri. |
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 will be populated.
.google.cloud.discoveryengine.v1beta.Document document = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the document field is set. |