- 4.61.0 (latest)
- 4.60.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SuggestConversationSummaryResponse.Summary.BuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SuggestConversationSummaryResponse.Summary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
build()
public SuggestConversationSummaryResponse.Summary build()
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary |
buildPartial()
public SuggestConversationSummaryResponse.Summary buildPartial()
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary |
clear()
public SuggestConversationSummaryResponse.Summary.Builder clear()
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
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 | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
clearBaselineModelVersion()
public SuggestConversationSummaryResponse.Summary.Builder clearBaselineModelVersion()
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 5;
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SuggestConversationSummaryResponse.Summary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SuggestConversationSummaryResponse.Summary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
clearText()
public SuggestConversationSummaryResponse.Summary.Builder clearText()
The summary content that is concatenated into one string.
string text = 1;
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
clearTextSections()
public SuggestConversationSummaryResponse.Summary.Builder clearTextSections()
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
clone()
public SuggestConversationSummaryResponse.Summary.Builder clone()
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
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 | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
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. |
getBaselineModelVersion()
public String getBaselineModelVersion()
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 5;
Returns | |
---|---|
Type | Description |
String |
The baselineModelVersion. |
getBaselineModelVersionBytes()
public ByteString getBaselineModelVersionBytes()
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for baselineModelVersion. |
getDefaultInstanceForType()
public SuggestConversationSummaryResponse.Summary getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMutableTextSections() (deprecated)
public Map<String,String> getMutableTextSections()
Use alternate mutation accessors instead.
getText()
public String 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() (deprecated)
public Map<String,String> getTextSections()
Use #getTextSectionsMap() instead.
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 | |
---|---|
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 = 4;
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;
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 = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SuggestConversationSummaryResponse.Summary other)
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(SuggestConversationSummaryResponse.Summary other)
Parameter | |
---|---|
Name | Description |
other |
SuggestConversationSummaryResponse.Summary |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SuggestConversationSummaryResponse.Summary.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SuggestConversationSummaryResponse.Summary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
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;
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
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;
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
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 | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
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 | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
setBaselineModelVersion(String value)
public SuggestConversationSummaryResponse.Summary.Builder setBaselineModelVersion(String value)
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 5;
Parameter | |
---|---|
Name | Description |
value |
String The baselineModelVersion to set. |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
setBaselineModelVersionBytes(ByteString value)
public SuggestConversationSummaryResponse.Summary.Builder setBaselineModelVersionBytes(ByteString value)
The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.
string baseline_model_version = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for baselineModelVersion to set. |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SuggestConversationSummaryResponse.Summary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SuggestConversationSummaryResponse.Summary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
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 | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SuggestConversationSummaryResponse.Summary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SuggestConversationSummaryResponse.Summary.Builder |