Package com.google.cloud.dialogflow.v2
Interface SummarizationContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SummarizationContext,SummarizationContext.Builder
@Generated
public interface SummarizationContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFewShotExamples(int index) Optional.intOptional.Optional.getFewShotExamplesOrBuilder(int index) Optional.List<? extends FewShotExampleOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.getSummarizationSections(int index) Optional.intOptional.Optional.getSummarizationSectionsOrBuilder(int index) Optional.List<? extends SummarizationSectionOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.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
-
getSummarizationSectionsList
List<SummarizationSection> getSummarizationSectionsList()Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSummarizationSections
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSummarizationSectionsCount
int getSummarizationSectionsCount()Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSummarizationSectionsOrBuilderList
List<? extends SummarizationSectionOrBuilder> getSummarizationSectionsOrBuilderList()Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSummarizationSectionsOrBuilder
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getFewShotExamplesList
List<FewShotExample> getFewShotExamplesList()Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFewShotExamples
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFewShotExamplesCount
int getFewShotExamplesCount()Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFewShotExamplesOrBuilderList
List<? extends FewShotExampleOrBuilder> getFewShotExamplesOrBuilderList()Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getFewShotExamplesOrBuilder
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getVersion
String getVersion()Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.0"].
string version = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Optional. Version of the feature. If not set, default to latest version. Current candidates are ["1.0"].
string version = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for version.
-
getOutputLanguageCode
String getOutputLanguageCode()Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
string output_language_code = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The outputLanguageCode.
-
getOutputLanguageCodeBytes
com.google.protobuf.ByteString getOutputLanguageCodeBytes()Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
string output_language_code = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for outputLanguageCode.
-