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.v2.SummarySuggestion.SummarySection
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SummarySuggestion.SummarySection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SummarySuggestion.SummarySection build()
buildPartial()
public SummarySuggestion.SummarySection buildPartial()
clear()
public SummarySuggestion.SummarySection.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SummarySuggestion.SummarySection.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SummarySuggestion.SummarySection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSection()
public SummarySuggestion.SummarySection.Builder clearSection()
Required. Name of the section.
string section = 1 [(.google.api.field_behavior) = REQUIRED];
clearSummary()
public SummarySuggestion.SummarySection.Builder clearSummary()
Required. Summary text for the section.
string summary = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public SummarySuggestion.SummarySection.Builder clone()
Overrides
getDefaultInstanceForType()
public SummarySuggestion.SummarySection getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SummarySuggestion.SummarySection other)
public SummarySuggestion.SummarySection.Builder mergeFrom(SummarySuggestion.SummarySection other)
public SummarySuggestion.SummarySection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SummarySuggestion.SummarySection.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SummarySuggestion.SummarySection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SummarySuggestion.SummarySection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SummarySuggestion.SummarySection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SummarySuggestion.SummarySection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides