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.v2beta1.SuggestConversationSummaryResponse.Summary
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
protected MapField internalGetMutableMapField(int number)
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public SuggestConversationSummaryResponse.Summary.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SuggestConversationSummaryResponse.Summary build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SuggestConversationSummaryResponse.Summary buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SuggestConversationSummaryResponse.Summary.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(SuggestConversationSummaryResponse.Summary other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SuggestConversationSummaryResponse.Summary.Builder>
IOException
public String getText()
The summary content that is concatenated into one string.
string text = 1;
getText
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
public ByteString getTextBytes()
The summary content that is concatenated into one string.
string text = 1;
getTextBytes
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
public SuggestConversationSummaryResponse.Summary.Builder setText(String value)
The summary content that is concatenated into one string.
string text = 1;
value
- The text to set.public SuggestConversationSummaryResponse.Summary.Builder clearText()
The summary content that is concatenated into one string.
string text = 1;
public SuggestConversationSummaryResponse.Summary.Builder setTextBytes(ByteString value)
The summary content that is concatenated into one string.
string text = 1;
value
- The bytes for text to set.public int getTextSectionsCount()
SuggestConversationSummaryResponse.SummaryOrBuilder
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;
getTextSectionsCount
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
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;
containsTextSections
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
@Deprecated public Map<String,String> getTextSections()
getTextSectionsMap()
instead.getTextSections
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
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;
getTextSectionsMap
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
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;
getTextSectionsOrDefault
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
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;
getTextSectionsOrThrow
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
public SuggestConversationSummaryResponse.Summary.Builder clearTextSections()
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;
@Deprecated public Map<String,String> getMutableTextSections()
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;
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;
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) = { ... }
getAnswerRecord
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
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) = { ... }
getAnswerRecordBytes
in interface SuggestConversationSummaryResponse.SummaryOrBuilder
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) = { ... }
value
- The answerRecord to set.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) = { ... }
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) = { ... }
value
- The bytes for answerRecord to set.public final SuggestConversationSummaryResponse.Summary.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
public final SuggestConversationSummaryResponse.Summary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SuggestConversationSummaryResponse.Summary.Builder>
Copyright © 2022 Google LLC. All rights reserved.