Package com.google.cloud.dialogflow.v2
Interface FewShotExampleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FewShotExample,FewShotExample.Builder
@Generated
public interface FewShotExampleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsExtraInfo(String key) Optional.Optional.Optional.Deprecated.intOptional.Optional.getExtraInfoOrDefault(String key, String defaultValue) Optional.Optional.Required.Required.Summarization sections.Summarization sections.booleanOptional.booleanRequired.booleanSummarization sections.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
-
hasConversationContext
boolean hasConversationContext()Optional. Conversation transcripts.
.google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the conversationContext field is set.
-
getConversationContext
ConversationContext getConversationContext()Optional. Conversation transcripts.
.google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The conversationContext.
-
getConversationContextOrBuilder
ConversationContextOrBuilder getConversationContextOrBuilder()Optional. Conversation transcripts.
.google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getExtraInfoCount
int getExtraInfoCount()Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsExtraInfo
Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getExtraInfo
Deprecated.UsegetExtraInfoMap()instead. -
getExtraInfoMap
Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getExtraInfoOrDefault
Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getExtraInfoOrThrow
Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasSummarizationSectionList
boolean hasSummarizationSectionList()Summarization sections.
.google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6;- Returns:
- Whether the summarizationSectionList field is set.
-
getSummarizationSectionList
SummarizationSectionList getSummarizationSectionList()Summarization sections.
.google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6;- Returns:
- The summarizationSectionList.
-
getSummarizationSectionListOrBuilder
SummarizationSectionListOrBuilder getSummarizationSectionListOrBuilder()Summarization sections.
.google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6; -
hasOutput
boolean hasOutput()Required. Example output of the model.
.google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the output field is set.
-
getOutput
GeneratorSuggestion getOutput()Required. Example output of the model.
.google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The output.
-
getOutputOrBuilder
GeneratorSuggestionOrBuilder getOutputOrBuilder()Required. Example output of the model.
.google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED]; -
getInstructionListCase
FewShotExample.InstructionListCase getInstructionListCase()
-