Interface AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdvancedCompleteQueryResponse.ContentSuggestion,AdvancedCompleteQueryResponse.ContentSuggestion.Builder
- Enclosing class:
- AdvancedCompleteQueryResponse
public static interface AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe type of the content suggestion.intThe type of the content suggestion.The 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 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.
-
getContentTypeValue
int getContentTypeValue()The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;- Returns:
- The enum numeric value on the wire for contentType.
-
getContentType
AdvancedCompleteQueryResponse.ContentSuggestion.ContentType getContentType()The type of the content suggestion.
.google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion.ContentType content_type = 2;- Returns:
- The contentType.
-
hasDocument
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:
- Whether the document field is set.
-
getDocument
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:
- The document.
-
getDocumentOrBuilder
DocumentOrBuilder getDocumentOrBuilder()The document data snippet in the suggestion. Only a subset of fields will be 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.
-