public static final class SummarySuggestion.SummarySection.Builder extends GeneratedMessage.Builder<SummarySuggestion.SummarySection.Builder> implements SummarySuggestion.SummarySectionOrBuilderA component of the generated summary.
Protobuf type google.cloud.dialogflow.v2beta1.SummarySuggestion.SummarySection
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SummarySuggestion.SummarySection.BuilderImplements
SummarySuggestion.SummarySectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public SummarySuggestion.SummarySection getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SummarySuggestion.SummarySection |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for summary to set. |
| Returns | |
|---|---|
| Type | Description |
SummarySuggestion.SummarySection.Builder |
This builder for chaining. |