Class Conversation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.contactcenterinsights.v1.Conversation
-
- All Implemented Interfaces:
ConversationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Conversation extends com.google.protobuf.GeneratedMessageV3 implements ConversationOrBuilder
The conversation resource.
Protobuf typegoogle.cloud.contactcenterinsights.v1.Conversation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Conversation.Builder
The conversation resource.static class
Conversation.CallMetadata
Call-specific metadata.static interface
Conversation.CallMetadataOrBuilder
static class
Conversation.ExpirationCase
static class
Conversation.Medium
Possible media for the conversation.static class
Conversation.MetadataCase
static class
Conversation.Transcript
A message representing the transcript of a conversation.static interface
Conversation.TranscriptOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AGENT_ID_FIELD_NUMBER
static int
CALL_METADATA_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DATA_SOURCE_FIELD_NUMBER
static int
DIALOGFLOW_INTENTS_FIELD_NUMBER
static int
DURATION_FIELD_NUMBER
static int
EXPIRE_TIME_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LANGUAGE_CODE_FIELD_NUMBER
static int
LATEST_ANALYSIS_FIELD_NUMBER
static int
LATEST_SUMMARY_FIELD_NUMBER
static int
MEDIUM_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OBFUSCATED_USER_ID_FIELD_NUMBER
static int
RUNTIME_ANNOTATIONS_FIELD_NUMBER
static int
START_TIME_FIELD_NUMBER
static int
TRANSCRIPT_FIELD_NUMBER
static int
TTL_FIELD_NUMBER
static int
TURN_COUNT_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsDialogflowIntents(String key)
Output only.boolean
containsLabels(String key)
A map for the user to specify any custom fields.boolean
equals(Object obj)
String
getAgentId()
An opaque, user-specified string representing the human agent who handled the conversation.com.google.protobuf.ByteString
getAgentIdBytes()
An opaque, user-specified string representing the human agent who handled the conversation.Conversation.CallMetadata
getCallMetadata()
Call-specific metadata.Conversation.CallMetadataOrBuilder
getCallMetadataOrBuilder()
Call-specific metadata.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.ConversationDataSource
getDataSource()
The source of the audio and transcription for the conversation.ConversationDataSourceOrBuilder
getDataSourceOrBuilder()
The source of the audio and transcription for the conversation.static Conversation
getDefaultInstance()
Conversation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,DialogflowIntent>
getDialogflowIntents()
Deprecated.int
getDialogflowIntentsCount()
Output only.Map<String,DialogflowIntent>
getDialogflowIntentsMap()
Output only.DialogflowIntent
getDialogflowIntentsOrDefault(String key, DialogflowIntent defaultValue)
Output only.DialogflowIntent
getDialogflowIntentsOrThrow(String key)
Output only.com.google.protobuf.Duration
getDuration()
Output only.com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
Output only.Conversation.ExpirationCase
getExpirationCase()
com.google.protobuf.Timestamp
getExpireTime()
The time at which this conversation should expire.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
The time at which this conversation should expire.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
A map for the user to specify any custom fields.Map<String,String>
getLabelsMap()
A map for the user to specify any custom fields.String
getLabelsOrDefault(String key, String defaultValue)
A map for the user to specify any custom fields.String
getLabelsOrThrow(String key)
A map for the user to specify any custom fields.String
getLanguageCode()
A user-specified language code for the conversation.com.google.protobuf.ByteString
getLanguageCodeBytes()
A user-specified language code for the conversation.Analysis
getLatestAnalysis()
Output only.AnalysisOrBuilder
getLatestAnalysisOrBuilder()
Output only.ConversationSummarizationSuggestionData
getLatestSummary()
Output only.ConversationSummarizationSuggestionDataOrBuilder
getLatestSummaryOrBuilder()
Output only.Conversation.Medium
getMedium()
Immutable.int
getMediumValue()
Immutable.Conversation.MetadataCase
getMetadataCase()
String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.String
getObfuscatedUserId()
Obfuscated user ID which the customer sent to us.com.google.protobuf.ByteString
getObfuscatedUserIdBytes()
Obfuscated user ID which the customer sent to us.com.google.protobuf.Parser<Conversation>
getParserForType()
RuntimeAnnotation
getRuntimeAnnotations(int index)
Output only.int
getRuntimeAnnotationsCount()
Output only.List<RuntimeAnnotation>
getRuntimeAnnotationsList()
Output only.RuntimeAnnotationOrBuilder
getRuntimeAnnotationsOrBuilder(int index)
Output only.List<? extends RuntimeAnnotationOrBuilder>
getRuntimeAnnotationsOrBuilderList()
Output only.int
getSerializedSize()
com.google.protobuf.Timestamp
getStartTime()
The time at which the conversation started.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The time at which the conversation started.Conversation.Transcript
getTranscript()
Output only.Conversation.TranscriptOrBuilder
getTranscriptOrBuilder()
Output only.com.google.protobuf.Duration
getTtl()
Input only.com.google.protobuf.DurationOrBuilder
getTtlOrBuilder()
Input only.int
getTurnCount()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCallMetadata()
Call-specific metadata.boolean
hasCreateTime()
Output only.boolean
hasDataSource()
The source of the audio and transcription for the conversation.boolean
hasDuration()
Output only.boolean
hasExpireTime()
The time at which this conversation should expire.int
hashCode()
boolean
hasLatestAnalysis()
Output only.boolean
hasLatestSummary()
Output only.boolean
hasStartTime()
The time at which the conversation started.boolean
hasTranscript()
Output only.boolean
hasTtl()
Input only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Conversation.Builder
newBuilder()
static Conversation.Builder
newBuilder(Conversation prototype)
Conversation.Builder
newBuilderForType()
protected Conversation.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Conversation
parseDelimitedFrom(InputStream input)
static Conversation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Conversation
parseFrom(byte[] data)
static Conversation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Conversation
parseFrom(com.google.protobuf.ByteString data)
static Conversation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Conversation
parseFrom(com.google.protobuf.CodedInputStream input)
static Conversation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Conversation
parseFrom(InputStream input)
static Conversation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Conversation
parseFrom(ByteBuffer data)
static Conversation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Conversation>
parser()
Conversation.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CALL_METADATA_FIELD_NUMBER
public static final int CALL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AGENT_ID_FIELD_NUMBER
public static final int AGENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSCRIPT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEDIUM_FIELD_NUMBER
public static final int MEDIUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TURN_COUNT_FIELD_NUMBER
public static final int TURN_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LATEST_ANALYSIS_FIELD_NUMBER
public static final int LATEST_ANALYSIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LATEST_SUMMARY_FIELD_NUMBER
public static final int LATEST_SUMMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_ANNOTATIONS_FIELD_NUMBER
public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIALOGFLOW_INTENTS_FIELD_NUMBER
public static final int DIALOGFLOW_INTENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBFUSCATED_USER_ID_FIELD_NUMBER
public static final int OBFUSCATED_USER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getMetadataCase
public Conversation.MetadataCase getMetadataCase()
- Specified by:
getMetadataCase
in interfaceConversationOrBuilder
-
getExpirationCase
public Conversation.ExpirationCase getExpirationCase()
- Specified by:
getExpirationCase
in interfaceConversationOrBuilder
-
hasCallMetadata
public boolean hasCallMetadata()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
- Specified by:
hasCallMetadata
in interfaceConversationOrBuilder
- Returns:
- Whether the callMetadata field is set.
-
getCallMetadata
public Conversation.CallMetadata getCallMetadata()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
- Specified by:
getCallMetadata
in interfaceConversationOrBuilder
- Returns:
- The callMetadata.
-
getCallMetadataOrBuilder
public Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
- Specified by:
getCallMetadataOrBuilder
in interfaceConversationOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
.google.protobuf.Timestamp expire_time = 15;
- Specified by:
hasExpireTime
in interfaceConversationOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
.google.protobuf.Timestamp expire_time = 15;
- Specified by:
getExpireTime
in interfaceConversationOrBuilder
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
.google.protobuf.Timestamp expire_time = 15;
- Specified by:
getExpireTimeOrBuilder
in interfaceConversationOrBuilder
-
hasTtl
public boolean hasTtl()
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
.google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
hasTtl
in interfaceConversationOrBuilder
- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
.google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getTtl
in interfaceConversationOrBuilder
- Returns:
- The ttl.
-
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
.google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getTtlOrBuilder
in interfaceConversationOrBuilder
-
getName
public String getName()
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getName
in interfaceConversationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getNameBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for name.
-
hasDataSource
public boolean hasDataSource()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
- Specified by:
hasDataSource
in interfaceConversationOrBuilder
- Returns:
- Whether the dataSource field is set.
-
getDataSource
public ConversationDataSource getDataSource()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
- Specified by:
getDataSource
in interfaceConversationOrBuilder
- Returns:
- The dataSource.
-
getDataSourceOrBuilder
public ConversationDataSourceOrBuilder getDataSourceOrBuilder()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
- Specified by:
getDataSourceOrBuilder
in interfaceConversationOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceConversationOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceConversationOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceConversationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The most recent time at which the conversation was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceConversationOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The most recent time at which the conversation was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceConversationOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time at which the conversation was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceConversationOrBuilder
-
hasStartTime
public boolean hasStartTime()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
- Specified by:
hasStartTime
in interfaceConversationOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
- Specified by:
getStartTime
in interfaceConversationOrBuilder
- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
- Specified by:
getStartTimeOrBuilder
in interfaceConversationOrBuilder
-
getLanguageCode
public String getLanguageCode()
A user-specified language code for the conversation.
string language_code = 14;
- Specified by:
getLanguageCode
in interfaceConversationOrBuilder
- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
A user-specified language code for the conversation.
string language_code = 14;
- Specified by:
getLanguageCodeBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for languageCode.
-
getAgentId
public String getAgentId()
An opaque, user-specified string representing the human agent who handled the conversation.
string agent_id = 5;
- Specified by:
getAgentId
in interfaceConversationOrBuilder
- Returns:
- The agentId.
-
getAgentIdBytes
public com.google.protobuf.ByteString getAgentIdBytes()
An opaque, user-specified string representing the human agent who handled the conversation.
string agent_id = 5;
- Specified by:
getAgentIdBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for agentId.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ConversationOrBuilder
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsCount
in interfaceConversationOrBuilder
-
containsLabels
public boolean containsLabels(String key)
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
containsLabels
in interfaceConversationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceConversationOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsMap
in interfaceConversationOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsOrDefault
in interfaceConversationOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsOrThrow
in interfaceConversationOrBuilder
-
hasTranscript
public boolean hasTranscript()
Output only. The conversation transcript.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTranscript
in interfaceConversationOrBuilder
- Returns:
- Whether the transcript field is set.
-
getTranscript
public Conversation.Transcript getTranscript()
Output only. The conversation transcript.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTranscript
in interfaceConversationOrBuilder
- Returns:
- The transcript.
-
getTranscriptOrBuilder
public Conversation.TranscriptOrBuilder getTranscriptOrBuilder()
Output only. The conversation transcript.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTranscriptOrBuilder
in interfaceConversationOrBuilder
-
getMediumValue
public int getMediumValue()
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getMediumValue
in interfaceConversationOrBuilder
- Returns:
- The enum numeric value on the wire for medium.
-
getMedium
public Conversation.Medium getMedium()
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getMedium
in interfaceConversationOrBuilder
- Returns:
- The medium.
-
hasDuration
public boolean hasDuration()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDuration
in interfaceConversationOrBuilder
- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDuration
in interfaceConversationOrBuilder
- Returns:
- The duration.
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDurationOrBuilder
in interfaceConversationOrBuilder
-
getTurnCount
public int getTurnCount()
Output only. The number of turns in the conversation.
int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTurnCount
in interfaceConversationOrBuilder
- Returns:
- The turnCount.
-
hasLatestAnalysis
public boolean hasLatestAnalysis()
Output only. The conversation's latest analysis, if one exists.
.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasLatestAnalysis
in interfaceConversationOrBuilder
- Returns:
- Whether the latestAnalysis field is set.
-
getLatestAnalysis
public Analysis getLatestAnalysis()
Output only. The conversation's latest analysis, if one exists.
.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestAnalysis
in interfaceConversationOrBuilder
- Returns:
- The latestAnalysis.
-
getLatestAnalysisOrBuilder
public AnalysisOrBuilder getLatestAnalysisOrBuilder()
Output only. The conversation's latest analysis, if one exists.
.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestAnalysisOrBuilder
in interfaceConversationOrBuilder
-
hasLatestSummary
public boolean hasLatestSummary()
Output only. Latest summary of the conversation.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasLatestSummary
in interfaceConversationOrBuilder
- Returns:
- Whether the latestSummary field is set.
-
getLatestSummary
public ConversationSummarizationSuggestionData getLatestSummary()
Output only. Latest summary of the conversation.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestSummary
in interfaceConversationOrBuilder
- Returns:
- The latestSummary.
-
getLatestSummaryOrBuilder
public ConversationSummarizationSuggestionDataOrBuilder getLatestSummaryOrBuilder()
Output only. Latest summary of the conversation.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestSummaryOrBuilder
in interfaceConversationOrBuilder
-
getRuntimeAnnotationsList
public List<RuntimeAnnotation> getRuntimeAnnotationsList()
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsList
in interfaceConversationOrBuilder
-
getRuntimeAnnotationsOrBuilderList
public List<? extends RuntimeAnnotationOrBuilder> getRuntimeAnnotationsOrBuilderList()
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsOrBuilderList
in interfaceConversationOrBuilder
-
getRuntimeAnnotationsCount
public int getRuntimeAnnotationsCount()
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsCount
in interfaceConversationOrBuilder
-
getRuntimeAnnotations
public RuntimeAnnotation getRuntimeAnnotations(int index)
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotations
in interfaceConversationOrBuilder
-
getRuntimeAnnotationsOrBuilder
public RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder(int index)
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsOrBuilder
in interfaceConversationOrBuilder
-
getDialogflowIntentsCount
public int getDialogflowIntentsCount()
Description copied from interface:ConversationOrBuilder
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsCount
in interfaceConversationOrBuilder
-
containsDialogflowIntents
public boolean containsDialogflowIntents(String key)
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsDialogflowIntents
in interfaceConversationOrBuilder
-
getDialogflowIntents
@Deprecated public Map<String,DialogflowIntent> getDialogflowIntents()
Deprecated.UsegetDialogflowIntentsMap()
instead.- Specified by:
getDialogflowIntents
in interfaceConversationOrBuilder
-
getDialogflowIntentsMap
public Map<String,DialogflowIntent> getDialogflowIntentsMap()
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsMap
in interfaceConversationOrBuilder
-
getDialogflowIntentsOrDefault
public DialogflowIntent getDialogflowIntentsOrDefault(String key, DialogflowIntent defaultValue)
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsOrDefault
in interfaceConversationOrBuilder
-
getDialogflowIntentsOrThrow
public DialogflowIntent getDialogflowIntentsOrThrow(String key)
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsOrThrow
in interfaceConversationOrBuilder
-
getObfuscatedUserId
public String getObfuscatedUserId()
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;
- Specified by:
getObfuscatedUserId
in interfaceConversationOrBuilder
- Returns:
- The obfuscatedUserId.
-
getObfuscatedUserIdBytes
public com.google.protobuf.ByteString getObfuscatedUserIdBytes()
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;
- Specified by:
getObfuscatedUserIdBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for obfuscatedUserId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Conversation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Conversation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Conversation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Conversation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Conversation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Conversation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Conversation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Conversation.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Conversation.Builder newBuilder()
-
newBuilder
public static Conversation.Builder newBuilder(Conversation prototype)
-
toBuilder
public Conversation.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Conversation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Conversation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Conversation> parser()
-
getParserForType
public com.google.protobuf.Parser<Conversation> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Conversation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-