public static final class SuggestConversationSummaryResponse.Summary.Builder extends GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder> implements SuggestConversationSummaryResponse.SummaryOrBuilder
Generated summary for a conversation.
Protobuf type google.cloud.dialogflow.v2.SuggestConversationSummaryResponse.Summary
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SuggestConversationSummaryResponse.Summary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SuggestConversationSummaryResponse.Summary build()
Returns
buildPartial()
public SuggestConversationSummaryResponse.Summary buildPartial()
Returns
clear()
public SuggestConversationSummaryResponse.Summary.Builder clear()
Returns
Overrides
clearAnswerRecord()
public SuggestConversationSummaryResponse.Summary.Builder clearAnswerRecord()
The name of the answer record. Format:
"projects/<Project ID>/answerRecords/<Answer Record ID>"
string answer_record = 3 [(.google.api.resource_reference) = { ... }
Returns
clearField(Descriptors.FieldDescriptor field)
public SuggestConversationSummaryResponse.Summary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SuggestConversationSummaryResponse.Summary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearText()
public SuggestConversationSummaryResponse.Summary.Builder clearText()
The summary content that is concatenated into one string.
string text = 1;
Returns
clearTextSections()
public SuggestConversationSummaryResponse.Summary.Builder clearTextSections()
Returns
clone()
public SuggestConversationSummaryResponse.Summary.Builder clone()
Returns
Overrides
containsTextSections(String key)
public boolean containsTextSections(String key)
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Parameter
Returns
getAnswerRecord()
public String getAnswerRecord()
The name of the answer record. Format:
"projects/<Project ID>/answerRecords/<Answer Record ID>"
string answer_record = 3 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The answerRecord.
|
getAnswerRecordBytes()
public ByteString getAnswerRecordBytes()
The name of the answer record. Format:
"projects/<Project ID>/answerRecords/<Answer Record ID>"
string answer_record = 3 [(.google.api.resource_reference) = { ... }
Returns
Type |
Description |
ByteString |
The bytes for answerRecord.
|
getDefaultInstanceForType()
public SuggestConversationSummaryResponse.Summary getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableTextSections()
public Map<String,String> getMutableTextSections()
Use alternate mutation accessors instead.
Returns
getText()
The summary content that is concatenated into one string.
string text = 1;
Returns
Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
The summary content that is concatenated into one string.
string text = 1;
Returns
getTextSections()
public Map<String,String> getTextSections()
Returns
getTextSectionsCount()
public int getTextSectionsCount()
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Returns
getTextSectionsMap()
public Map<String,String> getTextSectionsMap()
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Returns
getTextSectionsOrDefault(String key, String defaultValue)
public String getTextSectionsOrDefault(String key, String defaultValue)
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Parameters
Returns
getTextSectionsOrThrow(String key)
public String getTextSectionsOrThrow(String key)
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Parameter
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SuggestConversationSummaryResponse.Summary other)
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(SuggestConversationSummaryResponse.Summary other)
Parameter
Returns
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SuggestConversationSummaryResponse.Summary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllTextSections(Map<String,String> values)
public SuggestConversationSummaryResponse.Summary.Builder putAllTextSections(Map<String,String> values)
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Parameter
Returns
putTextSections(String key, String value)
public SuggestConversationSummaryResponse.Summary.Builder putTextSections(String key, String value)
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Parameters
Returns
removeTextSections(String key)
public SuggestConversationSummaryResponse.Summary.Builder removeTextSections(String key)
The summary content that is divided into sections. The key is the
section's name and the value is the section's content. There is no
specific format for the key or value.
map<string, string> text_sections = 4;
Parameter
Returns
setAnswerRecord(String value)
public SuggestConversationSummaryResponse.Summary.Builder setAnswerRecord(String value)
The name of the answer record. Format:
"projects/<Project ID>/answerRecords/<Answer Record ID>"
string answer_record = 3 [(.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
String
The answerRecord to set.
|
Returns
setAnswerRecordBytes(ByteString value)
public SuggestConversationSummaryResponse.Summary.Builder setAnswerRecordBytes(ByteString value)
The name of the answer record. Format:
"projects/<Project ID>/answerRecords/<Answer Record ID>"
string answer_record = 3 [(.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
ByteString
The bytes for answerRecord to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SuggestConversationSummaryResponse.Summary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SuggestConversationSummaryResponse.Summary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setText(String value)
public SuggestConversationSummaryResponse.Summary.Builder setText(String value)
The summary content that is concatenated into one string.
string text = 1;
Parameter
Name |
Description |
value |
String
The text to set.
|
Returns
setTextBytes(ByteString value)
public SuggestConversationSummaryResponse.Summary.Builder setTextBytes(ByteString value)
The summary content that is concatenated into one string.
string text = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for text to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SuggestConversationSummaryResponse.Summary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides