Class Conversation.Builder (2.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation>
Returns
TypeDescription
Conversation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRuntimeAnnotation
Returns
TypeDescription
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
NameDescription
builderForValueRuntimeAnnotation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRuntimeAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRuntimeAnnotation.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RuntimeAnnotation.Builder

build()

public Conversation build()
Returns
TypeDescription
Conversation

buildPartial()

public Conversation buildPartial()
Returns
TypeDescription
Conversation

clear()

public Conversation.Builder clear()
Returns
TypeDescription
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
TypeDescription
Conversation.Builder

This builder for chaining.

clearCallMetadata()

public Conversation.Builder clearCallMetadata()

Call-specific metadata.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Conversation.Builder

clearDialogflowIntents()

public Conversation.Builder clearDialogflowIntents()
Returns
TypeDescription
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
TypeDescription
Conversation.Builder

clearExpiration()

public Conversation.Builder clearExpiration()
Returns
TypeDescription
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
TypeDescription
Conversation.Builder

clearField(Descriptors.FieldDescriptor field)

public Conversation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Conversation.Builder
Overrides

clearLabels()

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

clearLanguageCode()

public Conversation.Builder clearLanguageCode()

A user-specified language code for the conversation.

string language_code = 14;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Conversation.Builder

This builder for chaining.

clearMetadata()

public Conversation.Builder clearMetadata()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Conversation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Conversation.Builder
Overrides

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
TypeDescription
Conversation.Builder

clearStartTime()

public Conversation.Builder clearStartTime()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Conversation.Builder

clone()

public Conversation.Builder clone()
Returns
TypeDescription
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
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

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.

getCallMetadataBuilder()

public Conversation.CallMetadata.Builder getCallMetadataBuilder()

Call-specific metadata.

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

Returns
TypeDescription
Conversation.CallMetadata.Builder

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.

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
TypeDescription
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
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.

getDataSourceBuilder()

public ConversationDataSource.Builder getDataSourceBuilder()

The source of the audio and transcription for the conversation.

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

Returns
TypeDescription
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
TypeDescription
ConversationDataSourceOrBuilder

getDefaultInstanceForType()

public Conversation getDefaultInstanceForType()
Returns
TypeDescription
Conversation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDialogflowIntents()

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.

getDurationBuilder()

public Duration.Builder getDurationBuilder()

Output only. The duration of the conversation.

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

Returns
TypeDescription
Builder

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.

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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getLabels()

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.

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
TypeDescription
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
TypeDescription
AnalysisOrBuilder

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

getMutableDialogflowIntents()

public Map<String,DialogflowIntent> getMutableDialogflowIntents()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,DialogflowIntent>

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
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.

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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>

getStartTime()

public Timestamp getStartTime()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which the conversation started.

.google.protobuf.Timestamp start_time = 17;

Returns
TypeDescription
Builder

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.

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
TypeDescription
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
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.

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
TypeDescription
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
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.

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
TypeDescription
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
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConversation.CallMetadata
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueConversationDataSource
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Conversation.Builder

mergeFrom(Conversation other)

public Conversation.Builder mergeFrom(Conversation other)
Parameter
NameDescription
otherConversation
Returns
TypeDescription
Conversation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Conversation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAnalysis
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueConversation.Transcript
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
Conversation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,DialogflowIntent>
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueDialogflowIntent
Returns
TypeDescription
Conversation.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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The agentId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for agentId to set.

Returns
TypeDescription
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
NameDescription
valueConversation.CallMetadata
Returns
TypeDescription
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
NameDescription
builderForValueConversation.CallMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueConversationDataSource
Returns
TypeDescription
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
NameDescription
builderForValueConversationDataSource.Builder
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Conversation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueAnalysis
Returns
TypeDescription
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
NameDescription
builderForValueAnalysis.Builder
Returns
TypeDescription
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
NameDescription
valueConversation.Medium

The medium to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The obfuscatedUserId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for obfuscatedUserId to set.

Returns
TypeDescription
Conversation.Builder

This builder for chaining.

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

public Conversation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRuntimeAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRuntimeAnnotation.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueConversation.Transcript
Returns
TypeDescription
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
NameDescription
builderForValueConversation.Transcript.Builder
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueint

The turnCount to set.

Returns
TypeDescription
Conversation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Conversation.Builder