Class Conversation (2.40.0)

public final class Conversation extends GeneratedMessageV3 implements ConversationOrBuilder

The conversation resource.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation

Static Fields

AGENT_ID_FIELD_NUMBER

public static final int AGENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

CALL_METADATA_FIELD_NUMBER

public static final int CALL_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_SOURCE_FIELD_NUMBER

public static final int DATA_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

DIALOGFLOW_INTENTS_FIELD_NUMBER

public static final int DIALOGFLOW_INTENTS_FIELD_NUMBER
Field Value
TypeDescription
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

LATEST_ANALYSIS_FIELD_NUMBER

public static final int LATEST_ANALYSIS_FIELD_NUMBER
Field Value
TypeDescription
int

LATEST_SUMMARY_FIELD_NUMBER

public static final int LATEST_SUMMARY_FIELD_NUMBER
Field Value
TypeDescription
int

MEDIUM_FIELD_NUMBER

public static final int MEDIUM_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OBFUSCATED_USER_ID_FIELD_NUMBER

public static final int OBFUSCATED_USER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

QUALITY_METADATA_FIELD_NUMBER

public static final int QUALITY_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

RUNTIME_ANNOTATIONS_FIELD_NUMBER

public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSCRIPT_FIELD_NUMBER

public static final int TRANSCRIPT_FIELD_NUMBER
Field Value
TypeDescription
int

TTL_FIELD_NUMBER

public static final int TTL_FIELD_NUMBER
Field Value
TypeDescription
int

TURN_COUNT_FIELD_NUMBER

public static final int TURN_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Conversation getDefaultInstance()
Returns
TypeDescription
Conversation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Conversation.Builder newBuilder()
Returns
TypeDescription
Conversation.Builder

newBuilder(Conversation prototype)

public static Conversation.Builder newBuilder(Conversation prototype)
Parameter
NameDescription
prototypeConversation
Returns
TypeDescription
Conversation.Builder

parseDelimitedFrom(InputStream input)

public static Conversation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Conversation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Conversation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Conversation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Conversation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Conversation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Conversation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Conversation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Conversation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Conversation> parser()
Returns
TypeDescription
Parser<Conversation>

Methods

containsDialogflowIntents(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAgentId()

public String getAgentId()

An opaque, user-specified string representing the human agent who handled the conversation.

string agent_id = 5;

Returns
TypeDescription
String

The agentId.

getAgentIdBytes()

public ByteString getAgentIdBytes()

An opaque, user-specified string representing the human agent who handled the conversation.

string agent_id = 5;

Returns
TypeDescription
ByteString

The bytes for agentId.

getCallMetadata()

public Conversation.CallMetadata getCallMetadata()

Call-specific metadata.

.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;

Returns
TypeDescription
Conversation.CallMetadata

The callMetadata.

getCallMetadataOrBuilder()

public Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder()

Call-specific metadata.

.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;

Returns
TypeDescription
Conversation.CallMetadataOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which the conversation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the conversation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDataSource()

public ConversationDataSource getDataSource()

The source of the audio and transcription for the conversation.

.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;

Returns
TypeDescription
ConversationDataSource

The dataSource.

getDataSourceOrBuilder()

public ConversationDataSourceOrBuilder getDataSourceOrBuilder()

The source of the audio and transcription for the conversation.

.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;

Returns
TypeDescription
ConversationDataSourceOrBuilder

getDefaultInstanceForType()

public Conversation getDefaultInstanceForType()
Returns
TypeDescription
Conversation

getDialogflowIntents() (deprecated)

public Map<String,DialogflowIntent> getDialogflowIntents()
Returns
TypeDescription
Map<String,DialogflowIntent>

getDialogflowIntentsCount()

public int getDialogflowIntentsCount()

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
Map<String,DialogflowIntent>

getDialogflowIntentsOrDefault(String key, DialogflowIntent defaultValue)

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];

Parameters
NameDescription
keyString
defaultValueDialogflowIntent
Returns
TypeDescription
DialogflowIntent

getDialogflowIntentsOrThrow(String key)

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
DialogflowIntent

getDuration()

public Duration getDuration()

Output only. The duration of the conversation.

.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

Output only. The duration of the conversation.

.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DurationOrBuilder

getExpirationCase()

public Conversation.ExpirationCase getExpirationCase()
Returns
TypeDescription
Conversation.ExpirationCase

getExpireTime()

public 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;

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public 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;

Returns
TypeDescription
TimestampOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLanguageCode()

public String getLanguageCode()

A user-specified language code for the conversation.

string language_code = 14;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

A user-specified language code for the conversation.

string language_code = 14;

Returns
TypeDescription
ByteString

The bytes for languageCode.

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];

Returns
TypeDescription
Analysis

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];

Returns
TypeDescription
AnalysisOrBuilder

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];

Returns
TypeDescription
ConversationSummarizationSuggestionData

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];

Returns
TypeDescription
ConversationSummarizationSuggestionDataOrBuilder

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];

Returns
TypeDescription
Conversation.Medium

The medium.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for medium.

getMetadataCase()

public Conversation.MetadataCase getMetadataCase()
Returns
TypeDescription
Conversation.MetadataCase

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];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for name.

getObfuscatedUserId()

public String getObfuscatedUserId()

Obfuscated user ID which the customer sent to us.

string obfuscated_user_id = 21;

Returns
TypeDescription
String

The obfuscatedUserId.

getObfuscatedUserIdBytes()

public ByteString getObfuscatedUserIdBytes()

Obfuscated user ID which the customer sent to us.

string obfuscated_user_id = 21;

Returns
TypeDescription
ByteString

The bytes for obfuscatedUserId.

getParserForType()

public Parser<Conversation> getParserForType()
Returns
TypeDescription
Parser<Conversation>
Overrides

getQualityMetadata()

public Conversation.QualityMetadata getQualityMetadata()

Conversation metadata related to quality management.

.google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata quality_metadata = 24;

Returns
TypeDescription
Conversation.QualityMetadata

The qualityMetadata.

getQualityMetadataOrBuilder()

public Conversation.QualityMetadataOrBuilder getQualityMetadataOrBuilder()

Conversation metadata related to quality management.

.google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata quality_metadata = 24;

Returns
TypeDescription
Conversation.QualityMetadataOrBuilder

getRuntimeAnnotations(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
RuntimeAnnotation

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
List<RuntimeAnnotation>

getRuntimeAnnotationsOrBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
RuntimeAnnotationOrBuilder

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];

Returns
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
TypeDescription
TimestampOrBuilder

getTranscript()

public Conversation.Transcript getTranscript()

Output only. The conversation transcript.

.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Conversation.Transcript

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];

Returns
TypeDescription
Conversation.TranscriptOrBuilder

getTtl()

public 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];

Returns
TypeDescription
Duration

The ttl.

getTtlOrBuilder()

public 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];

Returns
TypeDescription
DurationOrBuilder

getTurnCount()

public int getTurnCount()

Output only. The number of turns in the conversation.

int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The turnCount.

getUpdateTime()

public 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];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

hasCallMetadata()

public boolean hasCallMetadata()

Call-specific metadata.

.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;

Returns
TypeDescription
boolean

Whether the callMetadata field is set.

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];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDataSource()

public boolean hasDataSource()

The source of the audio and transcription for the conversation.

.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;

Returns
TypeDescription
boolean

Whether the dataSource field is set.

hasDuration()

public boolean hasDuration()

Output only. The duration of the conversation.

.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the duration field is set.

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;

Returns
TypeDescription
boolean

Whether the expireTime field is set.

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];

Returns
TypeDescription
boolean

Whether the latestAnalysis field is set.

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];

Returns
TypeDescription
boolean

Whether the latestSummary field is set.

hasQualityMetadata()

public boolean hasQualityMetadata()

Conversation metadata related to quality management.

.google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata quality_metadata = 24;

Returns
TypeDescription
boolean

Whether the qualityMetadata field is set.

hasStartTime()

public boolean hasStartTime()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasTranscript()

public boolean hasTranscript()

Output only. The conversation transcript.

.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the transcript field is set.

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];

Returns
TypeDescription
boolean

Whether the ttl field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Conversation.Builder newBuilderForType()
Returns
TypeDescription
Conversation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Conversation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Conversation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Conversation.Builder toBuilder()
Returns
TypeDescription
Conversation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException