Class SummarySuggestion.SummarySection.Builder (4.57.0)

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

A component of the generated summary.

Protobuf type google.cloud.dialogflow.v2beta1.SummarySuggestion.SummarySection

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SummarySuggestion.SummarySection build()
Returns
Type Description
SummarySuggestion.SummarySection

buildPartial()

public SummarySuggestion.SummarySection buildPartial()
Returns
Type Description
SummarySuggestion.SummarySection

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSection()

public SummarySuggestion.SummarySection.Builder clearSection()

Required. Name of the section.

string section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarySuggestion.SummarySection.Builder

This builder for chaining.

clearSummary()

public SummarySuggestion.SummarySection.Builder clearSummary()

Required. Summary text for the section.

string summary = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SummarySuggestion.SummarySection.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SummarySuggestion.SummarySection getDefaultInstanceForType()
Returns
Type Description
SummarySuggestion.SummarySection

getDescriptorForType()

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

getSection()

public String getSection()

Required. Name of the section.

string section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The section.

getSectionBytes()

public ByteString getSectionBytes()

Required. Name of the section.

string section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for section.

getSummary()

public String getSummary()

Required. Summary text for the section.

string summary = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The summary.

getSummaryBytes()

public ByteString getSummaryBytes()

Required. Summary text for the section.

string summary = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for summary.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SummarySuggestion.SummarySection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSection(String value)

public SummarySuggestion.SummarySection.Builder setSection(String value)

Required. Name of the section.

string section = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The section to set.

Returns
Type Description
SummarySuggestion.SummarySection.Builder

This builder for chaining.

setSectionBytes(ByteString value)

public SummarySuggestion.SummarySection.Builder setSectionBytes(ByteString value)

Required. Name of the section.

string section = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for section to set.

Returns
Type Description
SummarySuggestion.SummarySection.Builder

This builder for chaining.

setSummary(String value)

public SummarySuggestion.SummarySection.Builder setSummary(String value)

Required. Summary text for the section.

string summary = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The summary to set.

Returns
Type Description
SummarySuggestion.SummarySection.Builder

This builder for chaining.

setSummaryBytes(ByteString value)

public SummarySuggestion.SummarySection.Builder setSummaryBytes(ByteString value)

Required. Summary text for the section.

string summary = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for summary to set.

Returns
Type Description
SummarySuggestion.SummarySection.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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