Interface CompileSuggestionResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CompileSuggestionResponse
,CompileSuggestionResponse.Builder
@Deprecated public interface CompileSuggestionResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getContextSize()
Deprecated.Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] to compile the suggestion.String
getLatestMessage()
Deprecated.The name of the latest conversation message used to compile suggestion for.com.google.protobuf.ByteString
getLatestMessageBytes()
Deprecated.The name of the latest conversation message used to compile suggestion for.Suggestion
getSuggestion()
Deprecated.The compiled suggestion.SuggestionOrBuilder
getSuggestionOrBuilder()
Deprecated.The compiled suggestion.boolean
hasSuggestion()
Deprecated.The compiled suggestion.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSuggestion
boolean hasSuggestion()
Deprecated.The compiled suggestion.
.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;
- Returns:
- Whether the suggestion field is set.
-
getSuggestion
Suggestion getSuggestion()
Deprecated.The compiled suggestion.
.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;
- Returns:
- The suggestion.
-
getSuggestionOrBuilder
SuggestionOrBuilder getSuggestionOrBuilder()
Deprecated.The compiled suggestion.
.google.cloud.dialogflow.v2beta1.Suggestion suggestion = 1;
-
getLatestMessage
String getLatestMessage()
Deprecated.The name of the latest conversation message used to compile suggestion for. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string latest_message = 2;
- Returns:
- The latestMessage.
-
getLatestMessageBytes
com.google.protobuf.ByteString getLatestMessageBytes()
Deprecated.The name of the latest conversation message used to compile suggestion for. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>`.
string latest_message = 2;
- Returns:
- The bytes for latestMessage.
-
getContextSize
int getContextSize()
Deprecated.Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] to compile the suggestion. It may be smaller than the [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] field in the request if there aren't that many messages in the conversation.
int32 context_size = 3;
- Returns:
- The contextSize.
-
-