- 4.61.0 (latest)
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class SummarizationContext.Builder extends GeneratedMessageV3.Builder<SummarizationContext.Builder> implements SummarizationContextOrBuilder
Summarization context that customer can configure.
Protobuf type google.cloud.dialogflow.v2beta1.SummarizationContext
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SummarizationContext.BuilderImplements
SummarizationContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFewShotExamples(Iterable<? extends FewShotExample> values)
public SummarizationContext.Builder addAllFewShotExamples(Iterable<? extends FewShotExample> values)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.FewShotExample> |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addAllSummarizationSections(Iterable<? extends SummarizationSection> values)
public SummarizationContext.Builder addAllSummarizationSections(Iterable<? extends SummarizationSection> values)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.SummarizationSection> |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addFewShotExamples(FewShotExample value)
public SummarizationContext.Builder addFewShotExamples(FewShotExample value)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FewShotExample |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addFewShotExamples(FewShotExample.Builder builderForValue)
public SummarizationContext.Builder addFewShotExamples(FewShotExample.Builder builderForValue)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
FewShotExample.Builder |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addFewShotExamples(int index, FewShotExample value)
public SummarizationContext.Builder addFewShotExamples(int index, FewShotExample value)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
FewShotExample |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addFewShotExamples(int index, FewShotExample.Builder builderForValue)
public SummarizationContext.Builder addFewShotExamples(int index, FewShotExample.Builder builderForValue)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
FewShotExample.Builder |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addFewShotExamplesBuilder()
public FewShotExample.Builder addFewShotExamplesBuilder()
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FewShotExample.Builder |
addFewShotExamplesBuilder(int index)
public FewShotExample.Builder addFewShotExamplesBuilder(int index)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FewShotExample.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SummarizationContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addSummarizationSections(SummarizationSection value)
public SummarizationContext.Builder addSummarizationSections(SummarizationSection value)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
SummarizationSection |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addSummarizationSections(SummarizationSection.Builder builderForValue)
public SummarizationContext.Builder addSummarizationSections(SummarizationSection.Builder builderForValue)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
SummarizationSection.Builder |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addSummarizationSections(int index, SummarizationSection value)
public SummarizationContext.Builder addSummarizationSections(int index, SummarizationSection value)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SummarizationSection |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addSummarizationSections(int index, SummarizationSection.Builder builderForValue)
public SummarizationContext.Builder addSummarizationSections(int index, SummarizationSection.Builder builderForValue)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SummarizationSection.Builder |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
addSummarizationSectionsBuilder()
public SummarizationSection.Builder addSummarizationSectionsBuilder()
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SummarizationSection.Builder |
addSummarizationSectionsBuilder(int index)
public SummarizationSection.Builder addSummarizationSectionsBuilder(int index)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SummarizationSection.Builder |
build()
public SummarizationContext build()
Returns | |
---|---|
Type | Description |
SummarizationContext |
buildPartial()
public SummarizationContext buildPartial()
Returns | |
---|---|
Type | Description |
SummarizationContext |
clear()
public SummarizationContext.Builder clear()
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
clearFewShotExamples()
public SummarizationContext.Builder clearFewShotExamples()
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
clearField(Descriptors.FieldDescriptor field)
public SummarizationContext.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SummarizationContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
clearOutputLanguageCode()
public SummarizationContext.Builder clearOutputLanguageCode()
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 |
SummarizationContext.Builder |
This builder for chaining. |
clearSummarizationSections()
public SummarizationContext.Builder clearSummarizationSections()
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
clearVersion()
public SummarizationContext.Builder clearVersion()
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 |
SummarizationContext.Builder |
This builder for chaining. |
clone()
public SummarizationContext.Builder clone()
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
getDefaultInstanceForType()
public SummarizationContext getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SummarizationContext |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFewShotExamples(int index)
public FewShotExample getFewShotExamples(int index)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FewShotExample |
getFewShotExamplesBuilder(int index)
public FewShotExample.Builder getFewShotExamplesBuilder(int index)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FewShotExample.Builder |
getFewShotExamplesBuilderList()
public List<FewShotExample.Builder> getFewShotExamplesBuilderList()
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getFewShotExamplesCount()
public int getFewShotExamplesCount()
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getFewShotExamplesList()
public List<FewShotExample> getFewShotExamplesList()
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<FewShotExample> |
getFewShotExamplesOrBuilder(int index)
public FewShotExampleOrBuilder getFewShotExamplesOrBuilder(int index)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FewShotExampleOrBuilder |
getFewShotExamplesOrBuilderList()
public List<? extends FewShotExampleOrBuilder> getFewShotExamplesOrBuilderList()
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.FewShotExampleOrBuilder> |
getOutputLanguageCode()
public 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 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 SummarizationSection getSummarizationSections(int index)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SummarizationSection |
getSummarizationSectionsBuilder(int index)
public SummarizationSection.Builder getSummarizationSectionsBuilder(int index)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SummarizationSection.Builder |
getSummarizationSectionsBuilderList()
public List<SummarizationSection.Builder> getSummarizationSectionsBuilderList()
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getSummarizationSectionsCount()
public int getSummarizationSectionsCount()
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getSummarizationSectionsList()
public List<SummarizationSection> getSummarizationSectionsList()
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<SummarizationSection> |
getSummarizationSectionsOrBuilder(int index)
public SummarizationSectionOrBuilder getSummarizationSectionsOrBuilder(int index)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SummarizationSectionOrBuilder |
getSummarizationSectionsOrBuilderList()
public List<? extends SummarizationSectionOrBuilder> getSummarizationSectionsOrBuilderList()
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.SummarizationSectionOrBuilder> |
getVersion()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SummarizationContext other)
public SummarizationContext.Builder mergeFrom(SummarizationContext other)
Parameter | |
---|---|
Name | Description |
other |
SummarizationContext |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SummarizationContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SummarizationContext.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SummarizationContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
removeFewShotExamples(int index)
public SummarizationContext.Builder removeFewShotExamples(int index)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
removeSummarizationSections(int index)
public SummarizationContext.Builder removeSummarizationSections(int index)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setFewShotExamples(int index, FewShotExample value)
public SummarizationContext.Builder setFewShotExamples(int index, FewShotExample value)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
FewShotExample |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setFewShotExamples(int index, FewShotExample.Builder builderForValue)
public SummarizationContext.Builder setFewShotExamples(int index, FewShotExample.Builder builderForValue)
Optional. List of few shot examples.
repeated .google.cloud.dialogflow.v2beta1.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
FewShotExample.Builder |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SummarizationContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setOutputLanguageCode(String value)
public SummarizationContext.Builder setOutputLanguageCode(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The outputLanguageCode to set. |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
This builder for chaining. |
setOutputLanguageCodeBytes(ByteString value)
public SummarizationContext.Builder setOutputLanguageCodeBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for outputLanguageCode to set. |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SummarizationContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setSummarizationSections(int index, SummarizationSection value)
public SummarizationContext.Builder setSummarizationSections(int index, SummarizationSection value)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SummarizationSection |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setSummarizationSections(int index, SummarizationSection.Builder builderForValue)
public SummarizationContext.Builder setSummarizationSections(int index, SummarizationSection.Builder builderForValue)
Optional. List of sections. Note it contains both predefined section sand customer defined sections.
repeated .google.cloud.dialogflow.v2beta1.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SummarizationSection.Builder |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SummarizationContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
setVersion(String value)
public SummarizationContext.Builder setVersion(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The version to set. |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public SummarizationContext.Builder setVersionBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
SummarizationContext.Builder |
This builder for chaining. |