Class SummarizationSectionList.Builder (4.59.0)

public static final class SummarizationSectionList.Builder extends GeneratedMessageV3.Builder<SummarizationSectionList.Builder> implements SummarizationSectionListOrBuilder

List of summarization sections.

Protobuf type google.cloud.dialogflow.v2.SummarizationSectionList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSummarizationSections(Iterable<? extends SummarizationSection> values)

public SummarizationSectionList.Builder addAllSummarizationSections(Iterable<? extends SummarizationSection> values)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.SummarizationSection>
Returns
Type Description
SummarizationSectionList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SummarizationSectionList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SummarizationSectionList.Builder
Overrides

addSummarizationSections(SummarizationSection value)

public SummarizationSectionList.Builder addSummarizationSections(SummarizationSection value)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SummarizationSection
Returns
Type Description
SummarizationSectionList.Builder

addSummarizationSections(SummarizationSection.Builder builderForValue)

public SummarizationSectionList.Builder addSummarizationSections(SummarizationSection.Builder builderForValue)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SummarizationSection.Builder
Returns
Type Description
SummarizationSectionList.Builder

addSummarizationSections(int index, SummarizationSection value)

public SummarizationSectionList.Builder addSummarizationSections(int index, SummarizationSection value)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SummarizationSection
Returns
Type Description
SummarizationSectionList.Builder

addSummarizationSections(int index, SummarizationSection.Builder builderForValue)

public SummarizationSectionList.Builder addSummarizationSections(int index, SummarizationSection.Builder builderForValue)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SummarizationSection.Builder
Returns
Type Description
SummarizationSectionList.Builder

addSummarizationSectionsBuilder()

public SummarizationSection.Builder addSummarizationSectionsBuilder()

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SummarizationSection.Builder

addSummarizationSectionsBuilder(int index)

public SummarizationSection.Builder addSummarizationSectionsBuilder(int index)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SummarizationSection.Builder

build()

public SummarizationSectionList build()
Returns
Type Description
SummarizationSectionList

buildPartial()

public SummarizationSectionList buildPartial()
Returns
Type Description
SummarizationSectionList

clear()

public SummarizationSectionList.Builder clear()
Returns
Type Description
SummarizationSectionList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SummarizationSectionList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SummarizationSectionList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SummarizationSectionList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SummarizationSectionList.Builder
Overrides

clearSummarizationSections()

public SummarizationSectionList.Builder clearSummarizationSections()

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SummarizationSectionList.Builder

clone()

public SummarizationSectionList.Builder clone()
Returns
Type Description
SummarizationSectionList.Builder
Overrides

getDefaultInstanceForType()

public SummarizationSectionList getDefaultInstanceForType()
Returns
Type Description
SummarizationSectionList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSummarizationSections(int index)

public SummarizationSection getSummarizationSections(int index)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.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. Summarization sections.

repeated .google.cloud.dialogflow.v2.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. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getSummarizationSectionsCount()

public int getSummarizationSectionsCount()

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSummarizationSectionsList()

public List<SummarizationSection> getSummarizationSectionsList()

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SummarizationSection>

getSummarizationSectionsOrBuilder(int index)

public SummarizationSectionOrBuilder getSummarizationSectionsOrBuilder(int index)

Optional. Summarization 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 List<? extends SummarizationSectionOrBuilder> getSummarizationSectionsOrBuilderList()

Optional. Summarization 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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SummarizationSectionList other)

public SummarizationSectionList.Builder mergeFrom(SummarizationSectionList other)
Parameter
Name Description
other SummarizationSectionList
Returns
Type Description
SummarizationSectionList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SummarizationSectionList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SummarizationSectionList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SummarizationSectionList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SummarizationSectionList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SummarizationSectionList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SummarizationSectionList.Builder
Overrides

removeSummarizationSections(int index)

public SummarizationSectionList.Builder removeSummarizationSections(int index)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SummarizationSectionList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SummarizationSectionList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SummarizationSectionList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SummarizationSectionList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SummarizationSectionList.Builder
Overrides

setSummarizationSections(int index, SummarizationSection value)

public SummarizationSectionList.Builder setSummarizationSections(int index, SummarizationSection value)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SummarizationSection
Returns
Type Description
SummarizationSectionList.Builder

setSummarizationSections(int index, SummarizationSection.Builder builderForValue)

public SummarizationSectionList.Builder setSummarizationSections(int index, SummarizationSection.Builder builderForValue)

Optional. Summarization sections.

repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SummarizationSection.Builder
Returns
Type Description
SummarizationSectionList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SummarizationSectionList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SummarizationSectionList.Builder
Overrides