Class SummarySuggestion.Builder (4.57.0)

public static final class SummarySuggestion.Builder extends GeneratedMessageV3.Builder<SummarySuggestion.Builder> implements SummarySuggestionOrBuilder

Suggested summary of the conversation.

Protobuf type google.cloud.dialogflow.v2.SummarySuggestion

Static Methods

getDescriptor()

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

Methods

addAllSummarySections(Iterable<? extends SummarySuggestion.SummarySection> values)

public SummarySuggestion.Builder addAllSummarySections(Iterable<? extends SummarySuggestion.SummarySection> values)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSummarySections(SummarySuggestion.SummarySection value)

public SummarySuggestion.Builder addSummarySections(SummarySuggestion.SummarySection value)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SummarySuggestion.SummarySection
Returns
Type Description
SummarySuggestion.Builder

addSummarySections(SummarySuggestion.SummarySection.Builder builderForValue)

public SummarySuggestion.Builder addSummarySections(SummarySuggestion.SummarySection.Builder builderForValue)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SummarySuggestion.SummarySection.Builder
Returns
Type Description
SummarySuggestion.Builder

addSummarySections(int index, SummarySuggestion.SummarySection value)

public SummarySuggestion.Builder addSummarySections(int index, SummarySuggestion.SummarySection value)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SummarySuggestion.SummarySection
Returns
Type Description
SummarySuggestion.Builder

addSummarySections(int index, SummarySuggestion.SummarySection.Builder builderForValue)

public SummarySuggestion.Builder addSummarySections(int index, SummarySuggestion.SummarySection.Builder builderForValue)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SummarySuggestion.SummarySection.Builder
Returns
Type Description
SummarySuggestion.Builder

addSummarySectionsBuilder()

public SummarySuggestion.SummarySection.Builder addSummarySectionsBuilder()

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarySuggestion.SummarySection.Builder

addSummarySectionsBuilder(int index)

public SummarySuggestion.SummarySection.Builder addSummarySectionsBuilder(int index)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SummarySuggestion.SummarySection.Builder

build()

public SummarySuggestion build()
Returns
Type Description
SummarySuggestion

buildPartial()

public SummarySuggestion buildPartial()
Returns
Type Description
SummarySuggestion

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSummarySections()

public SummarySuggestion.Builder clearSummarySections()

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarySuggestion.Builder

clone()

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

getDefaultInstanceForType()

public SummarySuggestion getDefaultInstanceForType()
Returns
Type Description
SummarySuggestion

getDescriptorForType()

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

getSummarySections(int index)

public SummarySuggestion.SummarySection getSummarySections(int index)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SummarySuggestion.SummarySection

getSummarySectionsBuilder(int index)

public SummarySuggestion.SummarySection.Builder getSummarySectionsBuilder(int index)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SummarySuggestion.SummarySection.Builder

getSummarySectionsBuilderList()

public List<SummarySuggestion.SummarySection.Builder> getSummarySectionsBuilderList()

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getSummarySectionsCount()

public int getSummarySectionsCount()

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getSummarySectionsList()

public List<SummarySuggestion.SummarySection> getSummarySectionsList()

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SummarySection>

getSummarySectionsOrBuilder(int index)

public SummarySuggestion.SummarySectionOrBuilder getSummarySectionsOrBuilder(int index)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SummarySuggestion.SummarySectionOrBuilder

getSummarySectionsOrBuilderList()

public List<? extends SummarySuggestion.SummarySectionOrBuilder> getSummarySectionsOrBuilderList()

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SummarySuggestion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSummarySections(int index)

public SummarySuggestion.Builder removeSummarySections(int index)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
SummarySuggestion.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSummarySections(int index, SummarySuggestion.SummarySection value)

public SummarySuggestion.Builder setSummarySections(int index, SummarySuggestion.SummarySection value)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value SummarySuggestion.SummarySection
Returns
Type Description
SummarySuggestion.Builder

setSummarySections(int index, SummarySuggestion.SummarySection.Builder builderForValue)

public SummarySuggestion.Builder setSummarySections(int index, SummarySuggestion.SummarySection.Builder builderForValue)

Required. All the parts of generated summary.

repeated .google.cloud.dialogflow.v2.SummarySuggestion.SummarySection summary_sections = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue SummarySuggestion.SummarySection.Builder
Returns
Type Description
SummarySuggestion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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