- 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 SmartComposeSuggestionData.Builder extends GeneratedMessageV3.Builder<SmartComposeSuggestionData.Builder> implements SmartComposeSuggestionDataOrBuilder
Agent Assist Smart Compose suggestion data.
Protobuf type google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SmartComposeSuggestionData.BuilderImplements
SmartComposeSuggestionDataOrBuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SmartComposeSuggestionData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
build()
public SmartComposeSuggestionData build()
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData |
buildPartial()
public SmartComposeSuggestionData buildPartial()
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData |
clear()
public SmartComposeSuggestionData.Builder clear()
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
clearConfidenceScore()
public SmartComposeSuggestionData.Builder clearConfidenceScore()
The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
double confidence_score = 2;
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SmartComposeSuggestionData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
clearMetadata()
public SmartComposeSuggestionData.Builder clearMetadata()
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SmartComposeSuggestionData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
clearQueryRecord()
public SmartComposeSuggestionData.Builder clearQueryRecord()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
clearSuggestion()
public SmartComposeSuggestionData.Builder clearSuggestion()
The content of the suggestion.
string suggestion = 1;
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
clone()
public SmartComposeSuggestionData.Builder clone()
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
containsMetadata(String key)
public boolean containsMetadata(String key)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getConfidenceScore()
public double getConfidenceScore()
The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
double confidence_score = 2;
Returns | |
---|---|
Type | Description |
double |
The confidenceScore. |
getDefaultInstanceForType()
public SmartComposeSuggestionData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetadata() (deprecated)
public Map<String,String> getMetadata()
Use #getMetadataMap() instead.
getMetadataCount()
public int getMetadataCount()
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;
Returns | |
---|---|
Type | Description |
int |
getMetadataMap()
public Map<String,String> getMetadataMap()
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;
getMetadataOrDefault(String key, String defaultValue)
public String getMetadataOrDefault(String key, String defaultValue)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;
Returns | |
---|---|
Type | Description |
String |
getMetadataOrThrow(String key)
public String getMetadataOrThrow(String key)
Map that contains metadata about the Smart Compose suggestion 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.
getQueryRecord()
public String getQueryRecord()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;
Returns | |
---|---|
Type | Description |
String |
The queryRecord. |
getQueryRecordBytes()
public ByteString getQueryRecordBytes()
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for queryRecord. |
getSuggestion()
public String getSuggestion()
The content of the suggestion.
string suggestion = 1;
Returns | |
---|---|
Type | Description |
String |
The suggestion. |
getSuggestionBytes()
public ByteString getSuggestionBytes()
The content of the suggestion.
string suggestion = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for suggestion. |
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(SmartComposeSuggestionData other)
public SmartComposeSuggestionData.Builder mergeFrom(SmartComposeSuggestionData other)
Parameter | |
---|---|
Name | Description |
other |
SmartComposeSuggestionData |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SmartComposeSuggestionData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SmartComposeSuggestionData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SmartComposeSuggestionData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
putAllMetadata(Map<String,String> values)
public SmartComposeSuggestionData.Builder putAllMetadata(Map<String,String> values)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
putMetadata(String key, String value)
public SmartComposeSuggestionData.Builder putMetadata(String key, String value)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
removeMetadata(String key)
public SmartComposeSuggestionData.Builder removeMetadata(String key)
Map that contains metadata about the Smart Compose suggestion and the document from which it originates.
map<string, string> metadata = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
setConfidenceScore(double value)
public SmartComposeSuggestionData.Builder setConfidenceScore(double value)
The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
double confidence_score = 2;
Parameter | |
---|---|
Name | Description |
value |
double The confidenceScore to set. |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SmartComposeSuggestionData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
setQueryRecord(String value)
public SmartComposeSuggestionData.Builder setQueryRecord(String value)
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;
Parameter | |
---|---|
Name | Description |
value |
String The queryRecord to set. |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
setQueryRecordBytes(ByteString value)
public SmartComposeSuggestionData.Builder setQueryRecordBytes(ByteString value)
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
string query_record = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for queryRecord to set. |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SmartComposeSuggestionData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
setSuggestion(String value)
public SmartComposeSuggestionData.Builder setSuggestion(String value)
The content of the suggestion.
string suggestion = 1;
Parameter | |
---|---|
Name | Description |
value |
String The suggestion to set. |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
setSuggestionBytes(ByteString value)
public SmartComposeSuggestionData.Builder setSuggestionBytes(ByteString value)
The content of the suggestion.
string suggestion = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for suggestion to set. |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SmartComposeSuggestionData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SmartComposeSuggestionData.Builder |