Interface SummarizationContextOrBuilder (4.59.0)

public interface SummarizationContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFewShotExamples(int index)

public abstract FewShotExample getFewShotExamples(int index)

Optional. List of few shot examples.

repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FewShotExample

getFewShotExamplesCount()

public abstract int getFewShotExamplesCount()

Optional. List of few shot examples.

repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getFewShotExamplesList()

public abstract List<FewShotExample> getFewShotExamplesList()

Optional. List of few shot examples.

repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<FewShotExample>

getFewShotExamplesOrBuilder(int index)

public abstract FewShotExampleOrBuilder getFewShotExamplesOrBuilder(int index)

Optional. List of few shot examples.

repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FewShotExampleOrBuilder

getFewShotExamplesOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.FewShotExampleOrBuilder>

getOutputLanguageCode()

public abstract 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
Type Description
String

The outputLanguageCode.

getOutputLanguageCodeBytes()

public abstract 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
Type Description
ByteString

The bytes for outputLanguageCode.

getSummarizationSections(int index)

public abstract SummarizationSection getSummarizationSections(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SummarizationSection

getSummarizationSectionsCount()

public abstract 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];

Returns
Type Description
int

getSummarizationSectionsList()

public abstract 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];

Returns
Type Description
List<SummarizationSection>

getSummarizationSectionsOrBuilder(int index)

public abstract SummarizationSectionOrBuilder getSummarizationSectionsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SummarizationSectionOrBuilder

getSummarizationSectionsOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.SummarizationSectionOrBuilder>

getVersion()

public abstract 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
Type Description
String

The version.

getVersionBytes()

public abstract 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
Type Description
ByteString

The bytes for version.