- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class ConversationSummarizationSuggestionData.Builder extends GeneratedMessageV3.Builder<ConversationSummarizationSuggestionData.Builder> implements ConversationSummarizationSuggestionDataOrBuilder
Conversation summarization suggestion data.
Protobuf type
google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationSummarizationSuggestionData.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationSummarizationSuggestionData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
build()
public ConversationSummarizationSuggestionData build()
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData |
buildPartial()
public ConversationSummarizationSuggestionData buildPartial()
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData |
clear()
public ConversationSummarizationSuggestionData.Builder clear()
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
clearAnswerRecord()
public ConversationSummarizationSuggestionData.Builder clearAnswerRecord()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
clearConfidence()
public ConversationSummarizationSuggestionData.Builder clearConfidence()
The confidence score of the summarization.
float confidence = 2;
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
clearConversationModel()
public ConversationSummarizationSuggestionData.Builder clearConversationModel()
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConversationSummarizationSuggestionData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
clearMetadata()
public ConversationSummarizationSuggestionData.Builder clearMetadata()
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationSummarizationSuggestionData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
clearText()
public ConversationSummarizationSuggestionData.Builder clearText()
The summarization content that is concatenated into one string.
string text = 1;
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
clearTextSections()
public ConversationSummarizationSuggestionData.Builder clearTextSections()
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
clone()
public ConversationSummarizationSuggestionData.Builder clone()
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
containsMetadata(String key)
public boolean containsMetadata(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsTextSections(String key)
public boolean containsTextSections(String key)
The summarization 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 = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAnswerRecord()
public String getAnswerRecord()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;
Returns | |
---|---|
Type | Description |
String | The answerRecord. |
getAnswerRecordBytes()
public ByteString getAnswerRecordBytes()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for answerRecord. |
getConfidence()
public float getConfidence()
The confidence score of the summarization.
float confidence = 2;
Returns | |
---|---|
Type | Description |
float | The confidence. |
getConversationModel()
public String getConversationModel()
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;
Returns | |
---|---|
Type | Description |
String | The conversationModel. |
getConversationModelBytes()
public ByteString getConversationModelBytes()
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for conversationModel. |
getDefaultInstanceForType()
public ConversationSummarizationSuggestionData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetadata() (deprecated)
public Map<String,String> getMetadata()
Use #getMetadataMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMetadataCount()
public int getMetadataCount()
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Returns | |
---|---|
Type | Description |
int |
getMetadataMap()
public Map<String,String> getMetadataMap()
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMetadataOrDefault(String key, String defaultValue)
public String getMetadataOrDefault(String key, String defaultValue)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getMetadataOrThrow(String key)
public String getMetadataOrThrow(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableMetadata() (deprecated)
public Map<String,String> getMutableMetadata()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableTextSections() (deprecated)
public Map<String,String> getMutableTextSections()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getText()
public String getText()
The summarization content that is concatenated into one string.
string text = 1;
Returns | |
---|---|
Type | Description |
String | The text. |
getTextBytes()
public ByteString getTextBytes()
The summarization 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.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getTextSectionsCount()
public int getTextSectionsCount()
The summarization 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 = 5;
Returns | |
---|---|
Type | Description |
int |
getTextSectionsMap()
public Map<String,String> getTextSectionsMap()
The summarization 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 = 5;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getTextSectionsOrDefault(String key, String defaultValue)
public String getTextSectionsOrDefault(String key, String defaultValue)
The summarization 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 = 5;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getTextSectionsOrThrow(String key)
public String getTextSectionsOrThrow(String key)
The summarization 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 = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ConversationSummarizationSuggestionData other)
public ConversationSummarizationSuggestionData.Builder mergeFrom(ConversationSummarizationSuggestionData other)
Parameter | |
---|---|
Name | Description |
other | ConversationSummarizationSuggestionData |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationSummarizationSuggestionData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationSummarizationSuggestionData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationSummarizationSuggestionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
putAllMetadata(Map<String,String> values)
public ConversationSummarizationSuggestionData.Builder putAllMetadata(Map<String,String> values)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
putAllTextSections(Map<String,String> values)
public ConversationSummarizationSuggestionData.Builder putAllTextSections(Map<String,String> values)
The summarization 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 = 5;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
putMetadata(String key, String value)
public ConversationSummarizationSuggestionData.Builder putMetadata(String key, String value)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
putTextSections(String key, String value)
public ConversationSummarizationSuggestionData.Builder putTextSections(String key, String value)
The summarization 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 = 5;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
removeMetadata(String key)
public ConversationSummarizationSuggestionData.Builder removeMetadata(String key)
A map that contains metadata about the summarization and the document from which it originates.
map<string, string> metadata = 3;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
removeTextSections(String key)
public ConversationSummarizationSuggestionData.Builder removeTextSections(String key)
The summarization 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 = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
setAnswerRecord(String value)
public ConversationSummarizationSuggestionData.Builder setAnswerRecord(String value)
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;
Parameter | |
---|---|
Name | Description |
value | String The answerRecord to set. |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
setAnswerRecordBytes(ByteString value)
public ConversationSummarizationSuggestionData.Builder setAnswerRecordBytes(ByteString value)
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string answer_record = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for answerRecord to set. |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
setConfidence(float value)
public ConversationSummarizationSuggestionData.Builder setConfidence(float value)
The confidence score of the summarization.
float confidence = 2;
Parameter | |
---|---|
Name | Description |
value | float The confidence to set. |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
setConversationModel(String value)
public ConversationSummarizationSuggestionData.Builder setConversationModel(String value)
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;
Parameter | |
---|---|
Name | Description |
value | String The conversationModel to set. |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
setConversationModelBytes(ByteString value)
public ConversationSummarizationSuggestionData.Builder setConversationModelBytes(ByteString value)
The name of the model that generates this summary. Format: projects/{project}/locations/{location}/conversationModels/{conversation_model}
string conversation_model = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for conversationModel to set. |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationSummarizationSuggestionData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationSummarizationSuggestionData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |
setText(String value)
public ConversationSummarizationSuggestionData.Builder setText(String value)
The summarization content that is concatenated into one string.
string text = 1;
Parameter | |
---|---|
Name | Description |
value | String The text to set. |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
setTextBytes(ByteString value)
public ConversationSummarizationSuggestionData.Builder setTextBytes(ByteString value)
The summarization content that is concatenated into one string.
string text = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for text to set. |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationSummarizationSuggestionData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationSummarizationSuggestionData.Builder |