public static final class SuggestConversationSummaryResponse.Summary extends GeneratedMessageV3 implements SuggestConversationSummaryResponse.SummaryOrBuilder
Generated summary for a conversation.
Protobuf type
google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary
Static Fields
ANSWER_RECORD_FIELD_NUMBER
public static final int ANSWER_RECORD_FIELD_NUMBER
Field Value
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value
TEXT_SECTIONS_FIELD_NUMBER
public static final int TEXT_SECTIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SuggestConversationSummaryResponse.Summary getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SuggestConversationSummaryResponse.Summary.Builder newBuilder()
Returns
newBuilder(SuggestConversationSummaryResponse.Summary prototype)
public static SuggestConversationSummaryResponse.Summary.Builder newBuilder(SuggestConversationSummaryResponse.Summary prototype)
Parameter
Returns
public static SuggestConversationSummaryResponse.Summary parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SuggestConversationSummaryResponse.Summary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SuggestConversationSummaryResponse.Summary parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SuggestConversationSummaryResponse.Summary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SuggestConversationSummaryResponse.Summary parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SuggestConversationSummaryResponse.Summary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SuggestConversationSummaryResponse.Summary parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SuggestConversationSummaryResponse.Summary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SuggestConversationSummaryResponse.Summary parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SuggestConversationSummaryResponse.Summary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SuggestConversationSummaryResponse.Summary parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SuggestConversationSummaryResponse.Summary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SuggestConversationSummaryResponse.Summary> parser()
Returns
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
getParserForType()
public Parser<SuggestConversationSummaryResponse.Summary> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SuggestConversationSummaryResponse.Summary.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SuggestConversationSummaryResponse.Summary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SuggestConversationSummaryResponse.Summary.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions