Send feedback
Class GenerateStatelessSummaryResponse.Summary.Builder (4.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.28.0 keyboard_arrow_down
public static final class GenerateStatelessSummaryResponse . Summary . Builder extends GeneratedMessageV3 . Builder<GenerateStatelessSummaryResponse . Summary . Builder > implements GenerateStatelessSummaryResponse . SummaryOrBuilder
Generated summary for a conversation.
Protobuf type
google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryResponse.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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSummaryResponse . Summary . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GenerateStatelessSummaryResponse . Summary build ()
buildPartial()
public GenerateStatelessSummaryResponse . Summary buildPartial ()
clear()
public GenerateStatelessSummaryResponse . Summary . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GenerateStatelessSummaryResponse . Summary . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateStatelessSummaryResponse . Summary . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearText()
public GenerateStatelessSummaryResponse . Summary . Builder clearText ()
The summary content that is concatenated into one string.
string text = 1;
clearTextSections()
public GenerateStatelessSummaryResponse . Summary . Builder clearTextSections ()
clone()
public GenerateStatelessSummaryResponse . Summary . Builder clone ()
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 = 2;
Parameter
Name
Description
key
String
getDefaultInstanceForType()
public GenerateStatelessSummaryResponse . Summary getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getMutableTextSections()
public Map<String , String > getMutableTextSections ()
Use alternate mutation accessors instead.
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
Type
Description
ByteString
The bytes for text.
getTextSections()
public Map<String , String > getTextSections ()
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 = 2;
Returns
Type
Description
int
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 = 2;
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 = 2;
Returns
Type
Description
String
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 = 2;
Parameter
Name
Description
key
String
Returns
Type
Description
String
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Name
Description
number
int
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField ( int number )
Parameter
Name
Description
number
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GenerateStatelessSummaryResponse.Summary other)
public GenerateStatelessSummaryResponse . Summary . Builder mergeFrom ( GenerateStatelessSummaryResponse . Summary other )
public GenerateStatelessSummaryResponse . Summary . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GenerateStatelessSummaryResponse . Summary . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSummaryResponse . Summary . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
putAllTextSections(Map<String,String> values)
public GenerateStatelessSummaryResponse . 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 = 2;
putTextSections(String key, String value)
public GenerateStatelessSummaryResponse . 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 = 2;
removeTextSections(String key)
public GenerateStatelessSummaryResponse . 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 = 2;
Parameter
Name
Description
key
String
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateStatelessSummaryResponse . Summary . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateStatelessSummaryResponse . Summary . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setText(String value)
public GenerateStatelessSummaryResponse . 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.
setTextBytes(ByteString value)
public GenerateStatelessSummaryResponse . 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.
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateStatelessSummaryResponse . Summary . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]