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 classConversation.BuilderThe conversation resource.static classConversation.CallMetadataCall-specific metadata.static interfaceConversation.CallMetadataOrBuilderstatic classConversation.ExpirationCasestatic classConversation.MediumPossible media for the conversation.static classConversation.MetadataCasestatic classConversation.TranscriptA message representing the transcript of a conversation.static interfaceConversation.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 intAGENT_ID_FIELD_NUMBERstatic intCALL_METADATA_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDATA_SOURCE_FIELD_NUMBERstatic intDIALOGFLOW_INTENTS_FIELD_NUMBERstatic intDURATION_FIELD_NUMBERstatic intEXPIRE_TIME_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLANGUAGE_CODE_FIELD_NUMBERstatic intLATEST_ANALYSIS_FIELD_NUMBERstatic intLATEST_SUMMARY_FIELD_NUMBERstatic intMEDIUM_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOBFUSCATED_USER_ID_FIELD_NUMBERstatic intRUNTIME_ANNOTATIONS_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intTRANSCRIPT_FIELD_NUMBERstatic intTTL_FIELD_NUMBERstatic intTURN_COUNT_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsDialogflowIntents(String key)Output only.booleancontainsLabels(String key)A map for the user to specify any custom fields.booleanequals(Object obj)StringgetAgentId()An opaque, user-specified string representing the human agent who handled the conversation.com.google.protobuf.ByteStringgetAgentIdBytes()An opaque, user-specified string representing the human agent who handled the conversation.Conversation.CallMetadatagetCallMetadata()Call-specific metadata.Conversation.CallMetadataOrBuildergetCallMetadataOrBuilder()Call-specific metadata.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ConversationDataSourcegetDataSource()The source of the audio and transcription for the conversation.ConversationDataSourceOrBuildergetDataSourceOrBuilder()The source of the audio and transcription for the conversation.static ConversationgetDefaultInstance()ConversationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,DialogflowIntent>getDialogflowIntents()Deprecated.intgetDialogflowIntentsCount()Output only.Map<String,DialogflowIntent>getDialogflowIntentsMap()Output only.DialogflowIntentgetDialogflowIntentsOrDefault(String key, DialogflowIntent defaultValue)Output only.DialogflowIntentgetDialogflowIntentsOrThrow(String key)Output only.com.google.protobuf.DurationgetDuration()Output only.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()Output only.Conversation.ExpirationCasegetExpirationCase()com.google.protobuf.TimestampgetExpireTime()The time at which this conversation should expire.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()The time at which this conversation should expire.Map<String,String>getLabels()Deprecated.intgetLabelsCount()A map for the user to specify any custom fields.Map<String,String>getLabelsMap()A map for the user to specify any custom fields.StringgetLabelsOrDefault(String key, String defaultValue)A map for the user to specify any custom fields.StringgetLabelsOrThrow(String key)A map for the user to specify any custom fields.StringgetLanguageCode()A user-specified language code for the conversation.com.google.protobuf.ByteStringgetLanguageCodeBytes()A user-specified language code for the conversation.AnalysisgetLatestAnalysis()Output only.AnalysisOrBuildergetLatestAnalysisOrBuilder()Output only.ConversationSummarizationSuggestionDatagetLatestSummary()Output only.ConversationSummarizationSuggestionDataOrBuildergetLatestSummaryOrBuilder()Output only.Conversation.MediumgetMedium()Immutable.intgetMediumValue()Immutable.Conversation.MetadataCasegetMetadataCase()StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.StringgetObfuscatedUserId()Obfuscated user ID which the customer sent to us.com.google.protobuf.ByteStringgetObfuscatedUserIdBytes()Obfuscated user ID which the customer sent to us.com.google.protobuf.Parser<Conversation>getParserForType()RuntimeAnnotationgetRuntimeAnnotations(int index)Output only.intgetRuntimeAnnotationsCount()Output only.List<RuntimeAnnotation>getRuntimeAnnotationsList()Output only.RuntimeAnnotationOrBuildergetRuntimeAnnotationsOrBuilder(int index)Output only.List<? extends RuntimeAnnotationOrBuilder>getRuntimeAnnotationsOrBuilderList()Output only.intgetSerializedSize()com.google.protobuf.TimestampgetStartTime()The time at which the conversation started.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()The time at which the conversation started.Conversation.TranscriptgetTranscript()Output only.Conversation.TranscriptOrBuildergetTranscriptOrBuilder()Output only.com.google.protobuf.DurationgetTtl()Input only.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()Input only.intgetTurnCount()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCallMetadata()Call-specific metadata.booleanhasCreateTime()Output only.booleanhasDataSource()The source of the audio and transcription for the conversation.booleanhasDuration()Output only.booleanhasExpireTime()The time at which this conversation should expire.inthashCode()booleanhasLatestAnalysis()Output only.booleanhasLatestSummary()Output only.booleanhasStartTime()The time at which the conversation started.booleanhasTranscript()Output only.booleanhasTtl()Input only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Conversation.BuildernewBuilder()static Conversation.BuildernewBuilder(Conversation prototype)Conversation.BuildernewBuilderForType()protected Conversation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ConversationparseDelimitedFrom(InputStream input)static ConversationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationparseFrom(byte[] data)static ConversationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationparseFrom(com.google.protobuf.ByteString data)static ConversationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationparseFrom(com.google.protobuf.CodedInputStream input)static ConversationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationparseFrom(InputStream input)static ConversationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ConversationparseFrom(ByteBuffer data)static ConversationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Conversation>parser()Conversation.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMetadataCase
public Conversation.MetadataCase getMetadataCase()
- Specified by:
getMetadataCasein interfaceConversationOrBuilder
-
getExpirationCase
public Conversation.ExpirationCase getExpirationCase()
- Specified by:
getExpirationCasein interfaceConversationOrBuilder
-
hasCallMetadata
public boolean hasCallMetadata()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;- Specified by:
hasCallMetadatain 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:
getCallMetadatain interfaceConversationOrBuilder- Returns:
- The callMetadata.
-
getCallMetadataOrBuilder
public Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;- Specified by:
getCallMetadataOrBuilderin 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:
hasExpireTimein 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:
getExpireTimein 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:
getExpireTimeOrBuilderin 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:
hasTtlin 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:
getTtlin 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:
getTtlOrBuilderin 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:
getNamein 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:
getNameBytesin 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:
hasDataSourcein 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:
getDataSourcein 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:
getDataSourceOrBuilderin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceConversationOrBuilder
-
hasStartTime
public boolean hasStartTime()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;- Specified by:
hasStartTimein 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:
getStartTimein 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:
getStartTimeOrBuilderin interfaceConversationOrBuilder
-
getLanguageCode
public String getLanguageCode()
A user-specified language code for the conversation.
string language_code = 14;- Specified by:
getLanguageCodein 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:
getLanguageCodeBytesin 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:
getAgentIdin 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:
getAgentIdBytesin interfaceConversationOrBuilder- Returns:
- The bytes for agentId.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ConversationOrBuilderA 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:
getLabelsCountin 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:
containsLabelsin interfaceConversationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin 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:
hasTranscriptin 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:
getTranscriptin 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:
getTranscriptOrBuilderin 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:
getMediumValuein 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:
getMediumin 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:
hasDurationin 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:
getDurationin 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:
getDurationOrBuilderin 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:
getTurnCountin 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:
hasLatestAnalysisin 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:
getLatestAnalysisin 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:
getLatestAnalysisOrBuilderin 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:
hasLatestSummaryin 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:
getLatestSummaryin 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:
getLatestSummaryOrBuilderin 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:
getRuntimeAnnotationsListin 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:
getRuntimeAnnotationsOrBuilderListin 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:
getRuntimeAnnotationsCountin 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:
getRuntimeAnnotationsin 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:
getRuntimeAnnotationsOrBuilderin interfaceConversationOrBuilder
-
getDialogflowIntentsCount
public int getDialogflowIntentsCount()
Description copied from interface:ConversationOrBuilderOutput 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:
getDialogflowIntentsCountin 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:
containsDialogflowIntentsin interfaceConversationOrBuilder
-
getDialogflowIntents
@Deprecated public Map<String,DialogflowIntent> getDialogflowIntents()
Deprecated.UsegetDialogflowIntentsMap()instead.- Specified by:
getDialogflowIntentsin 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:
getDialogflowIntentsMapin 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:
getDialogflowIntentsOrDefaultin 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:
getDialogflowIntentsOrThrowin interfaceConversationOrBuilder
-
getObfuscatedUserId
public String getObfuscatedUserId()
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;- Specified by:
getObfuscatedUserIdin 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:
getObfuscatedUserIdBytesin interfaceConversationOrBuilder- Returns:
- The bytes for obfuscatedUserId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Conversation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Conversation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-