Class Conversation.Builder (2.49.0)

public static final class Conversation.Builder extends GeneratedMessageV3.Builder<Conversation.Builder> implements ConversationOrBuilder

The conversation resource.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRuntimeAnnotations(Iterable<? extends RuntimeAnnotation> values)

public Conversation.Builder addAllRuntimeAnnotations(Iterable<? extends RuntimeAnnotation> values)

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
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation>
Returns
Type Description
Conversation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.Builder
Overrides

addRuntimeAnnotations(RuntimeAnnotation value)

public Conversation.Builder addRuntimeAnnotations(RuntimeAnnotation value)

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
Name Description
value RuntimeAnnotation
Returns
Type Description
Conversation.Builder

addRuntimeAnnotations(RuntimeAnnotation.Builder builderForValue)

public Conversation.Builder addRuntimeAnnotations(RuntimeAnnotation.Builder builderForValue)

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
Name Description
builderForValue RuntimeAnnotation.Builder
Returns
Type Description
Conversation.Builder

addRuntimeAnnotations(int index, RuntimeAnnotation value)

public Conversation.Builder addRuntimeAnnotations(int index, RuntimeAnnotation value)

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

Parameters
Name Description
index int
value RuntimeAnnotation
Returns
Type Description
Conversation.Builder

addRuntimeAnnotations(int index, RuntimeAnnotation.Builder builderForValue)

public Conversation.Builder addRuntimeAnnotations(int index, RuntimeAnnotation.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue RuntimeAnnotation.Builder
Returns
Type Description
Conversation.Builder

addRuntimeAnnotationsBuilder()

public RuntimeAnnotation.Builder addRuntimeAnnotationsBuilder()

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
Type Description
RuntimeAnnotation.Builder

addRuntimeAnnotationsBuilder(int index)

public RuntimeAnnotation.Builder addRuntimeAnnotationsBuilder(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
Name Description
index int
Returns
Type Description
RuntimeAnnotation.Builder

build()

public Conversation build()
Returns
Type Description
Conversation

buildPartial()

public Conversation buildPartial()
Returns
Type Description
Conversation

clear()

public Conversation.Builder clear()
Returns
Type Description
Conversation.Builder
Overrides

clearAgentId()

public Conversation.Builder clearAgentId()

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

string agent_id = 5;

Returns
Type Description
Conversation.Builder

This builder for chaining.

clearCallMetadata()

public Conversation.Builder clearCallMetadata()

Call-specific metadata.

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

Returns
Type Description
Conversation.Builder

clearCreateTime()

public Conversation.Builder clearCreateTime()

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

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

Returns
Type Description
Conversation.Builder

clearDataSource()

public Conversation.Builder clearDataSource()

The source of the audio and transcription for the conversation.

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

Returns
Type Description
Conversation.Builder

clearDialogflowIntents()

public Conversation.Builder clearDialogflowIntents()
Returns
Type Description
Conversation.Builder

clearDuration()

public Conversation.Builder clearDuration()

Output only. The duration of the conversation.

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

Returns
Type Description
Conversation.Builder

clearExpiration()

public Conversation.Builder clearExpiration()
Returns
Type Description
Conversation.Builder

clearExpireTime()

public Conversation.Builder clearExpireTime()

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
Type Description
Conversation.Builder

clearField(Descriptors.FieldDescriptor field)

public Conversation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Conversation.Builder
Overrides

clearLabels()

public Conversation.Builder clearLabels()
Returns
Type Description
Conversation.Builder

clearLanguageCode()

public Conversation.Builder clearLanguageCode()

A user-specified language code for the conversation.

string language_code = 14;

Returns
Type Description
Conversation.Builder

This builder for chaining.

clearLatestAnalysis()

public Conversation.Builder clearLatestAnalysis()

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
Type Description
Conversation.Builder

clearLatestSummary()

public Conversation.Builder clearLatestSummary()

Output only. Latest summary of the conversation.

.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Conversation.Builder

clearMedium()

public Conversation.Builder clearMedium()

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
Type Description
Conversation.Builder

This builder for chaining.

clearMetadata()

public Conversation.Builder clearMetadata()
Returns
Type Description
Conversation.Builder

clearName()

public Conversation.Builder clearName()

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

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

Returns
Type Description
Conversation.Builder

This builder for chaining.

clearObfuscatedUserId()

public Conversation.Builder clearObfuscatedUserId()

Obfuscated user ID which the customer sent to us.

string obfuscated_user_id = 21;

Returns
Type Description
Conversation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Conversation.Builder
Overrides

clearQualityMetadata()

public Conversation.Builder clearQualityMetadata()

Conversation metadata related to quality management.

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

Returns
Type Description
Conversation.Builder

clearRuntimeAnnotations()

public Conversation.Builder clearRuntimeAnnotations()

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
Type Description
Conversation.Builder

clearStartTime()

public Conversation.Builder clearStartTime()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
Type Description
Conversation.Builder

clearTranscript()

public Conversation.Builder clearTranscript()

Output only. The conversation transcript.

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

Returns
Type Description
Conversation.Builder

clearTtl()

public Conversation.Builder clearTtl()

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
Type Description
Conversation.Builder

clearTurnCount()

public Conversation.Builder clearTurnCount()

Output only. The number of turns in the conversation.

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

Returns
Type Description
Conversation.Builder

This builder for chaining.

clearUpdateTime()

public Conversation.Builder clearUpdateTime()

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
Type Description
Conversation.Builder

clone()

public Conversation.Builder clone()
Returns
Type Description
Conversation.Builder
Overrides

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
Name Description
key String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getAgentId()

public String getAgentId()

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

string agent_id = 5;

Returns
Type Description
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
Type Description
ByteString

The bytes for agentId.

getCallMetadata()

public Conversation.CallMetadata getCallMetadata()

Call-specific metadata.

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

Returns
Type Description
Conversation.CallMetadata

The callMetadata.

getCallMetadataBuilder()

public Conversation.CallMetadata.Builder getCallMetadataBuilder()

Call-specific metadata.

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

Returns
Type Description
Conversation.CallMetadata.Builder

getCallMetadataOrBuilder()

public Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder()

Call-specific metadata.

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

Returns
Type Description
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
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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

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

Returns
Type Description
Builder

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
Type Description
TimestampOrBuilder

getDataSource()

public ConversationDataSource getDataSource()

The source of the audio and transcription for the conversation.

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

Returns
Type Description
ConversationDataSource

The dataSource.

getDataSourceBuilder()

public ConversationDataSource.Builder getDataSourceBuilder()

The source of the audio and transcription for the conversation.

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

Returns
Type Description
ConversationDataSource.Builder

getDataSourceOrBuilder()

public ConversationDataSourceOrBuilder getDataSourceOrBuilder()

The source of the audio and transcription for the conversation.

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

Returns
Type Description
ConversationDataSourceOrBuilder

getDefaultInstanceForType()

public Conversation getDefaultInstanceForType()
Returns
Type Description
Conversation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDialogflowIntents() (deprecated)

public Map<String,DialogflowIntent> getDialogflowIntents()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue DialogflowIntent
Returns
Type Description
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
Name Description
key String
Returns
Type Description
DialogflowIntent

getDuration()

public Duration getDuration()

Output only. The duration of the conversation.

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

Returns
Type Description
Duration

The duration.

getDurationBuilder()

public Duration.Builder getDurationBuilder()

Output only. The duration of the conversation.

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

Returns
Type Description
Builder

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

Output only. The duration of the conversation.

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

Returns
Type Description
DurationOrBuilder

getExpirationCase()

public Conversation.ExpirationCase getExpirationCase()
Returns
Type Description
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
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

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
Type Description
Builder

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
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getLanguageCode()

public String getLanguageCode()

A user-specified language code for the conversation.

string language_code = 14;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

A user-specified language code for the conversation.

string language_code = 14;

Returns
Type Description
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
Type Description
Analysis

The latestAnalysis.

getLatestAnalysisBuilder()

public Analysis.Builder getLatestAnalysisBuilder()

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
Type Description
Analysis.Builder

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
Type Description
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
Type Description
ConversationSummarizationSuggestionData

The latestSummary.

getLatestSummaryBuilder()

public ConversationSummarizationSuggestionData.Builder getLatestSummaryBuilder()

Output only. Latest summary of the conversation.

.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ConversationSummarizationSuggestionData.Builder

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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for medium.

getMetadataCase()

public Conversation.MetadataCase getMetadataCase()
Returns
Type Description
Conversation.MetadataCase

getMutableDialogflowIntents() (deprecated)

public Map<String,DialogflowIntent> getMutableDialogflowIntents()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,DialogflowIntent>

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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
Type Description
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
Type Description
ByteString

The bytes for name.

getObfuscatedUserId()

public String getObfuscatedUserId()

Obfuscated user ID which the customer sent to us.

string obfuscated_user_id = 21;

Returns
Type Description
String

The obfuscatedUserId.

getObfuscatedUserIdBytes()

public ByteString getObfuscatedUserIdBytes()

Obfuscated user ID which the customer sent to us.

string obfuscated_user_id = 21;

Returns
Type Description
ByteString

The bytes for obfuscatedUserId.

getQualityMetadata()

public Conversation.QualityMetadata getQualityMetadata()

Conversation metadata related to quality management.

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

Returns
Type Description
Conversation.QualityMetadata

The qualityMetadata.

getQualityMetadataBuilder()

public Conversation.QualityMetadata.Builder getQualityMetadataBuilder()

Conversation metadata related to quality management.

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

Returns
Type Description
Conversation.QualityMetadata.Builder

getQualityMetadataOrBuilder()

public Conversation.QualityMetadataOrBuilder getQualityMetadataOrBuilder()

Conversation metadata related to quality management.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
RuntimeAnnotation

getRuntimeAnnotationsBuilder(int index)

public RuntimeAnnotation.Builder getRuntimeAnnotationsBuilder(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
Name Description
index int
Returns
Type Description
RuntimeAnnotation.Builder

getRuntimeAnnotationsBuilderList()

public List<RuntimeAnnotation.Builder> getRuntimeAnnotationsBuilderList()

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
Type Description
List<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder>

getStartTime()

public Timestamp getStartTime()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
Type Description
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
Type Description
Conversation.Transcript

The transcript.

getTranscriptBuilder()

public Conversation.Transcript.Builder getTranscriptBuilder()

Output only. The conversation transcript.

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

Returns
Type Description
Conversation.Transcript.Builder

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
Type Description
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
Type Description
Duration

The ttl.

getTtlBuilder()

public Duration.Builder getTtlBuilder()

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
Type Description
Builder

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
Type Description
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
Type Description
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
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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
Type Description
Builder

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
Type Description
TimestampOrBuilder

hasCallMetadata()

public boolean hasCallMetadata()

Call-specific metadata.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCallMetadata(Conversation.CallMetadata value)

public Conversation.Builder mergeCallMetadata(Conversation.CallMetadata value)

Call-specific metadata.

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

Parameter
Name Description
value Conversation.CallMetadata
Returns
Type Description
Conversation.Builder

mergeCreateTime(Timestamp value)

public Conversation.Builder mergeCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

mergeDataSource(ConversationDataSource value)

public Conversation.Builder mergeDataSource(ConversationDataSource value)

The source of the audio and transcription for the conversation.

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

Parameter
Name Description
value ConversationDataSource
Returns
Type Description
Conversation.Builder

mergeDuration(Duration value)

public Conversation.Builder mergeDuration(Duration value)

Output only. The duration of the conversation.

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

Parameter
Name Description
value Duration
Returns
Type Description
Conversation.Builder

mergeExpireTime(Timestamp value)

public Conversation.Builder mergeExpireTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

mergeFrom(Conversation other)

public Conversation.Builder mergeFrom(Conversation other)
Parameter
Name Description
other Conversation
Returns
Type Description
Conversation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Conversation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Conversation.Builder
Overrides

mergeLatestAnalysis(Analysis value)

public Conversation.Builder mergeLatestAnalysis(Analysis value)

Output only. The conversation's latest analysis, if one exists.

.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Analysis
Returns
Type Description
Conversation.Builder

mergeLatestSummary(ConversationSummarizationSuggestionData value)

public Conversation.Builder mergeLatestSummary(ConversationSummarizationSuggestionData value)

Output only. Latest summary of the conversation.

.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ConversationSummarizationSuggestionData
Returns
Type Description
Conversation.Builder

mergeQualityMetadata(Conversation.QualityMetadata value)

public Conversation.Builder mergeQualityMetadata(Conversation.QualityMetadata value)

Conversation metadata related to quality management.

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

Parameter
Name Description
value Conversation.QualityMetadata
Returns
Type Description
Conversation.Builder

mergeStartTime(Timestamp value)

public Conversation.Builder mergeStartTime(Timestamp value)

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

mergeTranscript(Conversation.Transcript value)

public Conversation.Builder mergeTranscript(Conversation.Transcript value)

Output only. The conversation transcript.

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

Parameter
Name Description
value Conversation.Transcript
Returns
Type Description
Conversation.Builder

mergeTtl(Duration value)

public Conversation.Builder mergeTtl(Duration value)

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

Parameter
Name Description
value Duration
Returns
Type Description
Conversation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Conversation.Builder mergeUpdateTime(Timestamp value)

Output only. The most recent time at which the conversation was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

putAllDialogflowIntents(Map<String,DialogflowIntent> values)

public Conversation.Builder putAllDialogflowIntents(Map<String,DialogflowIntent> values)

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
Name Description
values Map<String,DialogflowIntent>
Returns
Type Description
Conversation.Builder

putAllLabels(Map<String,String> values)

public Conversation.Builder putAllLabels(Map<String,String> values)

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
Name Description
values Map<String,String>
Returns
Type Description
Conversation.Builder

putDialogflowIntents(String key, DialogflowIntent value)

public Conversation.Builder putDialogflowIntents(String key, DialogflowIntent value)

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
Name Description
key String
value DialogflowIntent
Returns
Type Description
Conversation.Builder

putDialogflowIntentsBuilderIfAbsent(String key)

public DialogflowIntent.Builder putDialogflowIntentsBuilderIfAbsent(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
Name Description
key String
Returns
Type Description
DialogflowIntent.Builder

putLabels(String key, String value)

public Conversation.Builder putLabels(String key, String value)

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
Name Description
key String
value String
Returns
Type Description
Conversation.Builder

removeDialogflowIntents(String key)

public Conversation.Builder removeDialogflowIntents(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
Name Description
key String
Returns
Type Description
Conversation.Builder

removeLabels(String key)

public Conversation.Builder removeLabels(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
Name Description
key String
Returns
Type Description
Conversation.Builder

removeRuntimeAnnotations(int index)

public Conversation.Builder removeRuntimeAnnotations(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
Name Description
index int
Returns
Type Description
Conversation.Builder

setAgentId(String value)

public Conversation.Builder setAgentId(String value)

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

string agent_id = 5;

Parameter
Name Description
value String

The agentId to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setAgentIdBytes(ByteString value)

public Conversation.Builder setAgentIdBytes(ByteString value)

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

string agent_id = 5;

Parameter
Name Description
value ByteString

The bytes for agentId to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setCallMetadata(Conversation.CallMetadata value)

public Conversation.Builder setCallMetadata(Conversation.CallMetadata value)

Call-specific metadata.

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

Parameter
Name Description
value Conversation.CallMetadata
Returns
Type Description
Conversation.Builder

setCallMetadata(Conversation.CallMetadata.Builder builderForValue)

public Conversation.Builder setCallMetadata(Conversation.CallMetadata.Builder builderForValue)

Call-specific metadata.

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

Parameter
Name Description
builderForValue Conversation.CallMetadata.Builder
Returns
Type Description
Conversation.Builder

setCreateTime(Timestamp value)

public Conversation.Builder setCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Conversation.Builder setCreateTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder

setDataSource(ConversationDataSource value)

public Conversation.Builder setDataSource(ConversationDataSource value)

The source of the audio and transcription for the conversation.

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

Parameter
Name Description
value ConversationDataSource
Returns
Type Description
Conversation.Builder

setDataSource(ConversationDataSource.Builder builderForValue)

public Conversation.Builder setDataSource(ConversationDataSource.Builder builderForValue)

The source of the audio and transcription for the conversation.

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

Parameter
Name Description
builderForValue ConversationDataSource.Builder
Returns
Type Description
Conversation.Builder

setDuration(Duration value)

public Conversation.Builder setDuration(Duration value)

Output only. The duration of the conversation.

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

Parameter
Name Description
value Duration
Returns
Type Description
Conversation.Builder

setDuration(Duration.Builder builderForValue)

public Conversation.Builder setDuration(Duration.Builder builderForValue)

Output only. The duration of the conversation.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder

setExpireTime(Timestamp value)

public Conversation.Builder setExpireTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

setExpireTime(Timestamp.Builder builderForValue)

public Conversation.Builder setExpireTime(Timestamp.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.Builder
Overrides

setLanguageCode(String value)

public Conversation.Builder setLanguageCode(String value)

A user-specified language code for the conversation.

string language_code = 14;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public Conversation.Builder setLanguageCodeBytes(ByteString value)

A user-specified language code for the conversation.

string language_code = 14;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setLatestAnalysis(Analysis value)

public Conversation.Builder setLatestAnalysis(Analysis value)

Output only. The conversation's latest analysis, if one exists.

.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Analysis
Returns
Type Description
Conversation.Builder

setLatestAnalysis(Analysis.Builder builderForValue)

public Conversation.Builder setLatestAnalysis(Analysis.Builder builderForValue)

Output only. The conversation's latest analysis, if one exists.

.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Analysis.Builder
Returns
Type Description
Conversation.Builder

setLatestSummary(ConversationSummarizationSuggestionData value)

public Conversation.Builder setLatestSummary(ConversationSummarizationSuggestionData value)

Output only. Latest summary of the conversation.

.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ConversationSummarizationSuggestionData
Returns
Type Description
Conversation.Builder

setLatestSummary(ConversationSummarizationSuggestionData.Builder builderForValue)

public Conversation.Builder setLatestSummary(ConversationSummarizationSuggestionData.Builder builderForValue)

Output only. Latest summary of the conversation.

.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ConversationSummarizationSuggestionData.Builder
Returns
Type Description
Conversation.Builder

setMedium(Conversation.Medium value)

public Conversation.Builder setMedium(Conversation.Medium value)

Immutable. The conversation medium, if unspecified will default to PHONE_CALL.

.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value Conversation.Medium

The medium to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setMediumValue(int value)

public Conversation.Builder setMediumValue(int value)

Immutable. The conversation medium, if unspecified will default to PHONE_CALL.

.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value int

The enum numeric value on the wire for medium to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setName(String value)

public Conversation.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Conversation.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setObfuscatedUserId(String value)

public Conversation.Builder setObfuscatedUserId(String value)

Obfuscated user ID which the customer sent to us.

string obfuscated_user_id = 21;

Parameter
Name Description
value String

The obfuscatedUserId to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setObfuscatedUserIdBytes(ByteString value)

public Conversation.Builder setObfuscatedUserIdBytes(ByteString value)

Obfuscated user ID which the customer sent to us.

string obfuscated_user_id = 21;

Parameter
Name Description
value ByteString

The bytes for obfuscatedUserId to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setQualityMetadata(Conversation.QualityMetadata value)

public Conversation.Builder setQualityMetadata(Conversation.QualityMetadata value)

Conversation metadata related to quality management.

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

Parameter
Name Description
value Conversation.QualityMetadata
Returns
Type Description
Conversation.Builder

setQualityMetadata(Conversation.QualityMetadata.Builder builderForValue)

public Conversation.Builder setQualityMetadata(Conversation.QualityMetadata.Builder builderForValue)

Conversation metadata related to quality management.

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

Parameter
Name Description
builderForValue Conversation.QualityMetadata.Builder
Returns
Type Description
Conversation.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Conversation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Conversation.Builder
Overrides

setRuntimeAnnotations(int index, RuntimeAnnotation value)

public Conversation.Builder setRuntimeAnnotations(int index, RuntimeAnnotation value)

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

Parameters
Name Description
index int
value RuntimeAnnotation
Returns
Type Description
Conversation.Builder

setRuntimeAnnotations(int index, RuntimeAnnotation.Builder builderForValue)

public Conversation.Builder setRuntimeAnnotations(int index, RuntimeAnnotation.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue RuntimeAnnotation.Builder
Returns
Type Description
Conversation.Builder

setStartTime(Timestamp value)

public Conversation.Builder setStartTime(Timestamp value)

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

setStartTime(Timestamp.Builder builderForValue)

public Conversation.Builder setStartTime(Timestamp.Builder builderForValue)

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder

setTranscript(Conversation.Transcript value)

public Conversation.Builder setTranscript(Conversation.Transcript value)

Output only. The conversation transcript.

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

Parameter
Name Description
value Conversation.Transcript
Returns
Type Description
Conversation.Builder

setTranscript(Conversation.Transcript.Builder builderForValue)

public Conversation.Builder setTranscript(Conversation.Transcript.Builder builderForValue)

Output only. The conversation transcript.

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

Parameter
Name Description
builderForValue Conversation.Transcript.Builder
Returns
Type Description
Conversation.Builder

setTtl(Duration value)

public Conversation.Builder setTtl(Duration value)

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

Parameter
Name Description
value Duration
Returns
Type Description
Conversation.Builder

setTtl(Duration.Builder builderForValue)

public Conversation.Builder setTtl(Duration.Builder builderForValue)

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder

setTurnCount(int value)

public Conversation.Builder setTurnCount(int value)

Output only. The number of turns in the conversation.

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

Parameter
Name Description
value int

The turnCount to set.

Returns
Type Description
Conversation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.Builder
Overrides

setUpdateTime(Timestamp value)

public Conversation.Builder setUpdateTime(Timestamp value)

Output only. The most recent time at which the conversation was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Conversation.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Conversation.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The most recent time at which the conversation was updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Conversation.Builder