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. |
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 |
|
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. |