Class Conversation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
- com.google.cloud.contactcenterinsights.v1.Conversation.Builder
-
- All Implemented Interfaces:
ConversationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Conversation
public static final class Conversation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder> implements ConversationOrBuilder
The conversation resource.
Protobuf typegoogle.cloud.contactcenterinsights.v1.Conversation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Conversation.Builder
addAllRuntimeAnnotations(Iterable<? extends RuntimeAnnotation> values)
Output only.Conversation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Conversation.Builder
addRuntimeAnnotations(int index, RuntimeAnnotation value)
Output only.Conversation.Builder
addRuntimeAnnotations(int index, RuntimeAnnotation.Builder builderForValue)
Output only.Conversation.Builder
addRuntimeAnnotations(RuntimeAnnotation value)
Output only.Conversation.Builder
addRuntimeAnnotations(RuntimeAnnotation.Builder builderForValue)
Output only.RuntimeAnnotation.Builder
addRuntimeAnnotationsBuilder()
Output only.RuntimeAnnotation.Builder
addRuntimeAnnotationsBuilder(int index)
Output only.Conversation
build()
Conversation
buildPartial()
Conversation.Builder
clear()
Conversation.Builder
clearAgentId()
An opaque, user-specified string representing the human agent who handled the conversation.Conversation.Builder
clearCallMetadata()
Call-specific metadata.Conversation.Builder
clearCreateTime()
Output only.Conversation.Builder
clearDataSource()
The source of the audio and transcription for the conversation.Conversation.Builder
clearDialogflowIntents()
Conversation.Builder
clearDuration()
Output only.Conversation.Builder
clearExpiration()
Conversation.Builder
clearExpireTime()
The time at which this conversation should expire.Conversation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Conversation.Builder
clearLabels()
Conversation.Builder
clearLanguageCode()
A user-specified language code for the conversation.Conversation.Builder
clearLatestAnalysis()
Output only.Conversation.Builder
clearLatestSummary()
Output only.Conversation.Builder
clearMedium()
Immutable.Conversation.Builder
clearMetadata()
Conversation.Builder
clearName()
Immutable.Conversation.Builder
clearObfuscatedUserId()
Obfuscated user ID which the customer sent to us.Conversation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Conversation.Builder
clearRuntimeAnnotations()
Output only.Conversation.Builder
clearStartTime()
The time at which the conversation started.Conversation.Builder
clearTranscript()
Output only.Conversation.Builder
clearTtl()
Input only.Conversation.Builder
clearTurnCount()
Output only.Conversation.Builder
clearUpdateTime()
Output only.Conversation.Builder
clone()
boolean
containsDialogflowIntents(String key)
Output only.boolean
containsLabels(String key)
A map for the user to specify any custom fields.String
getAgentId()
An opaque, user-specified string representing the human agent who handled the conversation.com.google.protobuf.ByteString
getAgentIdBytes()
An opaque, user-specified string representing the human agent who handled the conversation.Conversation.CallMetadata
getCallMetadata()
Call-specific metadata.Conversation.CallMetadata.Builder
getCallMetadataBuilder()
Call-specific metadata.Conversation.CallMetadataOrBuilder
getCallMetadataOrBuilder()
Call-specific metadata.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.ConversationDataSource
getDataSource()
The source of the audio and transcription for the conversation.ConversationDataSource.Builder
getDataSourceBuilder()
The source of the audio and transcription for the conversation.ConversationDataSourceOrBuilder
getDataSourceOrBuilder()
The source of the audio and transcription for the conversation.Conversation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,DialogflowIntent>
getDialogflowIntents()
Deprecated.int
getDialogflowIntentsCount()
Output only.Map<String,DialogflowIntent>
getDialogflowIntentsMap()
Output only.DialogflowIntent
getDialogflowIntentsOrDefault(String key, DialogflowIntent defaultValue)
Output only.DialogflowIntent
getDialogflowIntentsOrThrow(String key)
Output only.com.google.protobuf.Duration
getDuration()
Output only.com.google.protobuf.Duration.Builder
getDurationBuilder()
Output only.com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
Output only.Conversation.ExpirationCase
getExpirationCase()
com.google.protobuf.Timestamp
getExpireTime()
The time at which this conversation should expire.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
The time at which this conversation should expire.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
The time at which this conversation should expire.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
A map for the user to specify any custom fields.Map<String,String>
getLabelsMap()
A map for the user to specify any custom fields.String
getLabelsOrDefault(String key, String defaultValue)
A map for the user to specify any custom fields.String
getLabelsOrThrow(String key)
A map for the user to specify any custom fields.String
getLanguageCode()
A user-specified language code for the conversation.com.google.protobuf.ByteString
getLanguageCodeBytes()
A user-specified language code for the conversation.Analysis
getLatestAnalysis()
Output only.Analysis.Builder
getLatestAnalysisBuilder()
Output only.AnalysisOrBuilder
getLatestAnalysisOrBuilder()
Output only.ConversationSummarizationSuggestionData
getLatestSummary()
Output only.ConversationSummarizationSuggestionData.Builder
getLatestSummaryBuilder()
Output only.ConversationSummarizationSuggestionDataOrBuilder
getLatestSummaryOrBuilder()
Output only.Conversation.Medium
getMedium()
Immutable.int
getMediumValue()
Immutable.Conversation.MetadataCase
getMetadataCase()
Map<String,DialogflowIntent>
getMutableDialogflowIntents()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.String
getObfuscatedUserId()
Obfuscated user ID which the customer sent to us.com.google.protobuf.ByteString
getObfuscatedUserIdBytes()
Obfuscated user ID which the customer sent to us.RuntimeAnnotation
getRuntimeAnnotations(int index)
Output only.RuntimeAnnotation.Builder
getRuntimeAnnotationsBuilder(int index)
Output only.List<RuntimeAnnotation.Builder>
getRuntimeAnnotationsBuilderList()
Output only.int
getRuntimeAnnotationsCount()
Output only.List<RuntimeAnnotation>
getRuntimeAnnotationsList()
Output only.RuntimeAnnotationOrBuilder
getRuntimeAnnotationsOrBuilder(int index)
Output only.List<? extends RuntimeAnnotationOrBuilder>
getRuntimeAnnotationsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getStartTime()
The time at which the conversation started.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
The time at which the conversation started.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The time at which the conversation started.Conversation.Transcript
getTranscript()
Output only.Conversation.Transcript.Builder
getTranscriptBuilder()
Output only.Conversation.TranscriptOrBuilder
getTranscriptOrBuilder()
Output only.com.google.protobuf.Duration
getTtl()
Input only.com.google.protobuf.Duration.Builder
getTtlBuilder()
Input only.com.google.protobuf.DurationOrBuilder
getTtlOrBuilder()
Input only.int
getTurnCount()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCallMetadata()
Call-specific metadata.boolean
hasCreateTime()
Output only.boolean
hasDataSource()
The source of the audio and transcription for the conversation.boolean
hasDuration()
Output only.boolean
hasExpireTime()
The time at which this conversation should expire.boolean
hasLatestAnalysis()
Output only.boolean
hasLatestSummary()
Output only.boolean
hasStartTime()
The time at which the conversation started.boolean
hasTranscript()
Output only.boolean
hasTtl()
Input only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Conversation.Builder
mergeCallMetadata(Conversation.CallMetadata value)
Call-specific metadata.Conversation.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Conversation.Builder
mergeDataSource(ConversationDataSource value)
The source of the audio and transcription for the conversation.Conversation.Builder
mergeDuration(com.google.protobuf.Duration value)
Output only.Conversation.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
The time at which this conversation should expire.Conversation.Builder
mergeFrom(Conversation other)
Conversation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Conversation.Builder
mergeFrom(com.google.protobuf.Message other)
Conversation.Builder
mergeLatestAnalysis(Analysis value)
Output only.Conversation.Builder
mergeLatestSummary(ConversationSummarizationSuggestionData value)
Output only.Conversation.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
The time at which the conversation started.Conversation.Builder
mergeTranscript(Conversation.Transcript value)
Output only.Conversation.Builder
mergeTtl(com.google.protobuf.Duration value)
Input only.Conversation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Conversation.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Conversation.Builder
putAllDialogflowIntents(Map<String,DialogflowIntent> values)
Output only.Conversation.Builder
putAllLabels(Map<String,String> values)
A map for the user to specify any custom fields.Conversation.Builder
putDialogflowIntents(String key, DialogflowIntent value)
Output only.Conversation.Builder
putLabels(String key, String value)
A map for the user to specify any custom fields.Conversation.Builder
removeDialogflowIntents(String key)
Output only.Conversation.Builder
removeLabels(String key)
A map for the user to specify any custom fields.Conversation.Builder
removeRuntimeAnnotations(int index)
Output only.Conversation.Builder
setAgentId(String value)
An opaque, user-specified string representing the human agent who handled the conversation.Conversation.Builder
setAgentIdBytes(com.google.protobuf.ByteString value)
An opaque, user-specified string representing the human agent who handled the conversation.Conversation.Builder
setCallMetadata(Conversation.CallMetadata value)
Call-specific metadata.Conversation.Builder
setCallMetadata(Conversation.CallMetadata.Builder builderForValue)
Call-specific metadata.Conversation.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Conversation.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Conversation.Builder
setDataSource(ConversationDataSource value)
The source of the audio and transcription for the conversation.Conversation.Builder
setDataSource(ConversationDataSource.Builder builderForValue)
The source of the audio and transcription for the conversation.Conversation.Builder
setDuration(com.google.protobuf.Duration value)
Output only.Conversation.Builder
setDuration(com.google.protobuf.Duration.Builder builderForValue)
Output only.Conversation.Builder
setExpireTime(com.google.protobuf.Timestamp value)
The time at which this conversation should expire.Conversation.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which this conversation should expire.Conversation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Conversation.Builder
setLanguageCode(String value)
A user-specified language code for the conversation.Conversation.Builder
setLanguageCodeBytes(com.google.protobuf.ByteString value)
A user-specified language code for the conversation.Conversation.Builder
setLatestAnalysis(Analysis value)
Output only.Conversation.Builder
setLatestAnalysis(Analysis.Builder builderForValue)
Output only.Conversation.Builder
setLatestSummary(ConversationSummarizationSuggestionData value)
Output only.Conversation.Builder
setLatestSummary(ConversationSummarizationSuggestionData.Builder builderForValue)
Output only.Conversation.Builder
setMedium(Conversation.Medium value)
Immutable.Conversation.Builder
setMediumValue(int value)
Immutable.Conversation.Builder
setName(String value)
Immutable.Conversation.Builder
setNameBytes(com.google.protobuf.ByteString value)
Immutable.Conversation.Builder
setObfuscatedUserId(String value)
Obfuscated user ID which the customer sent to us.Conversation.Builder
setObfuscatedUserIdBytes(com.google.protobuf.ByteString value)
Obfuscated user ID which the customer sent to us.Conversation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Conversation.Builder
setRuntimeAnnotations(int index, RuntimeAnnotation value)
Output only.Conversation.Builder
setRuntimeAnnotations(int index, RuntimeAnnotation.Builder builderForValue)
Output only.Conversation.Builder
setStartTime(com.google.protobuf.Timestamp value)
The time at which the conversation started.Conversation.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the conversation started.Conversation.Builder
setTranscript(Conversation.Transcript value)
Output only.Conversation.Builder
setTranscript(Conversation.Transcript.Builder builderForValue)
Output only.Conversation.Builder
setTtl(com.google.protobuf.Duration value)
Input only.Conversation.Builder
setTtl(com.google.protobuf.Duration.Builder builderForValue)
Input only.Conversation.Builder
setTurnCount(int value)
Output only.Conversation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Conversation.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Conversation.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
clear
public Conversation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
getDefaultInstanceForType
public Conversation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Conversation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Conversation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Conversation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
setField
public Conversation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
clearField
public Conversation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
clearOneof
public Conversation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
setRepeatedField
public Conversation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
addRepeatedField
public Conversation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
mergeFrom
public Conversation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Conversation.Builder>
-
mergeFrom
public Conversation.Builder mergeFrom(Conversation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
mergeFrom
public Conversation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Conversation.Builder>
- Throws:
IOException
-
getMetadataCase
public Conversation.MetadataCase getMetadataCase()
- Specified by:
getMetadataCase
in interfaceConversationOrBuilder
-
clearMetadata
public Conversation.Builder clearMetadata()
-
getExpirationCase
public Conversation.ExpirationCase getExpirationCase()
- Specified by:
getExpirationCase
in interfaceConversationOrBuilder
-
clearExpiration
public Conversation.Builder clearExpiration()
-
hasCallMetadata
public boolean hasCallMetadata()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
- Specified by:
hasCallMetadata
in interfaceConversationOrBuilder
- Returns:
- Whether the callMetadata field is set.
-
getCallMetadata
public Conversation.CallMetadata getCallMetadata()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
- Specified by:
getCallMetadata
in interfaceConversationOrBuilder
- Returns:
- The callMetadata.
-
setCallMetadata
public Conversation.Builder setCallMetadata(Conversation.CallMetadata value)
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
-
setCallMetadata
public Conversation.Builder setCallMetadata(Conversation.CallMetadata.Builder builderForValue)
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
-
mergeCallMetadata
public Conversation.Builder mergeCallMetadata(Conversation.CallMetadata value)
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
-
clearCallMetadata
public Conversation.Builder clearCallMetadata()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
-
getCallMetadataBuilder
public Conversation.CallMetadata.Builder getCallMetadataBuilder()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
-
getCallMetadataOrBuilder
public Conversation.CallMetadataOrBuilder getCallMetadataOrBuilder()
Call-specific metadata.
.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata call_metadata = 7;
- Specified by:
getCallMetadataOrBuilder
in interfaceConversationOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
.google.protobuf.Timestamp expire_time = 15;
- Specified by:
hasExpireTime
in interfaceConversationOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
.google.protobuf.Timestamp expire_time = 15;
- Specified by:
getExpireTime
in interfaceConversationOrBuilder
- Returns:
- The expireTime.
-
setExpireTime
public Conversation.Builder setExpireTime(com.google.protobuf.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;
-
setExpireTime
public Conversation.Builder setExpireTime(com.google.protobuf.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;
-
mergeExpireTime
public Conversation.Builder mergeExpireTime(com.google.protobuf.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;
-
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;
-
getExpireTimeBuilder
public com.google.protobuf.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;
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
.google.protobuf.Timestamp expire_time = 15;
- Specified by:
getExpireTimeOrBuilder
in interfaceConversationOrBuilder
-
hasTtl
public boolean hasTtl()
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
.google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
hasTtl
in interfaceConversationOrBuilder
- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
.google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getTtl
in interfaceConversationOrBuilder
- Returns:
- The ttl.
-
setTtl
public Conversation.Builder setTtl(com.google.protobuf.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];
-
setTtl
public Conversation.Builder setTtl(com.google.protobuf.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];
-
mergeTtl
public Conversation.Builder mergeTtl(com.google.protobuf.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];
-
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];
-
getTtlBuilder
public com.google.protobuf.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];
-
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
.google.protobuf.Duration ttl = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getTtlOrBuilder
in interfaceConversationOrBuilder
-
getName
public String getName()
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getName
in interfaceConversationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getNameBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for name.
-
setName
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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public Conversation.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDataSource
public boolean hasDataSource()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
- Specified by:
hasDataSource
in interfaceConversationOrBuilder
- Returns:
- Whether the dataSource field is set.
-
getDataSource
public ConversationDataSource getDataSource()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
- Specified by:
getDataSource
in interfaceConversationOrBuilder
- Returns:
- The dataSource.
-
setDataSource
public Conversation.Builder setDataSource(ConversationDataSource value)
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
-
setDataSource
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;
-
mergeDataSource
public Conversation.Builder mergeDataSource(ConversationDataSource value)
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
-
clearDataSource
public Conversation.Builder clearDataSource()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
-
getDataSourceBuilder
public ConversationDataSource.Builder getDataSourceBuilder()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
-
getDataSourceOrBuilder
public ConversationDataSourceOrBuilder getDataSourceOrBuilder()
The source of the audio and transcription for the conversation.
.google.cloud.contactcenterinsights.v1.ConversationDataSource data_source = 2;
- Specified by:
getDataSourceOrBuilder
in interfaceConversationOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceConversationOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceConversationOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Conversation.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Conversation.Builder setCreateTime(com.google.protobuf.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];
-
mergeCreateTime
public Conversation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.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];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the conversation was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceConversationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The most recent time at which the conversation was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceConversationOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The most recent time at which the conversation was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceConversationOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Conversation.Builder setUpdateTime(com.google.protobuf.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];
-
setUpdateTime
public Conversation.Builder setUpdateTime(com.google.protobuf.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];
-
mergeUpdateTime
public Conversation.Builder mergeUpdateTime(com.google.protobuf.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];
-
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];
-
getUpdateTimeBuilder
public com.google.protobuf.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];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time at which the conversation was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceConversationOrBuilder
-
hasStartTime
public boolean hasStartTime()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
- Specified by:
hasStartTime
in interfaceConversationOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
- Specified by:
getStartTime
in interfaceConversationOrBuilder
- Returns:
- The startTime.
-
setStartTime
public Conversation.Builder setStartTime(com.google.protobuf.Timestamp value)
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
-
setStartTime
public Conversation.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
-
mergeStartTime
public Conversation.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
-
clearStartTime
public Conversation.Builder clearStartTime()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time at which the conversation started.
.google.protobuf.Timestamp start_time = 17;
- Specified by:
getStartTimeOrBuilder
in interfaceConversationOrBuilder
-
getLanguageCode
public String getLanguageCode()
A user-specified language code for the conversation.
string language_code = 14;
- Specified by:
getLanguageCode
in interfaceConversationOrBuilder
- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
A user-specified language code for the conversation.
string language_code = 14;
- Specified by:
getLanguageCodeBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for languageCode.
-
setLanguageCode
public Conversation.Builder setLanguageCode(String value)
A user-specified language code for the conversation.
string language_code = 14;
- Parameters:
value
- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public Conversation.Builder clearLanguageCode()
A user-specified language code for the conversation.
string language_code = 14;
- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public Conversation.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
A user-specified language code for the conversation.
string language_code = 14;
- Parameters:
value
- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getAgentId
public String getAgentId()
An opaque, user-specified string representing the human agent who handled the conversation.
string agent_id = 5;
- Specified by:
getAgentId
in interfaceConversationOrBuilder
- Returns:
- The agentId.
-
getAgentIdBytes
public com.google.protobuf.ByteString getAgentIdBytes()
An opaque, user-specified string representing the human agent who handled the conversation.
string agent_id = 5;
- Specified by:
getAgentIdBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for agentId.
-
setAgentId
public Conversation.Builder setAgentId(String value)
An opaque, user-specified string representing the human agent who handled the conversation.
string agent_id = 5;
- Parameters:
value
- The agentId to set.- Returns:
- This builder for chaining.
-
clearAgentId
public Conversation.Builder clearAgentId()
An opaque, user-specified string representing the human agent who handled the conversation.
string agent_id = 5;
- Returns:
- This builder for chaining.
-
setAgentIdBytes
public Conversation.Builder setAgentIdBytes(com.google.protobuf.ByteString value)
An opaque, user-specified string representing the human agent who handled the conversation.
string agent_id = 5;
- Parameters:
value
- The bytes for agentId to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ConversationOrBuilder
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsCount
in interfaceConversationOrBuilder
-
containsLabels
public boolean containsLabels(String key)
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
containsLabels
in interfaceConversationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceConversationOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsMap
in interfaceConversationOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsOrDefault
in interfaceConversationOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
map<string, string> labels = 6;
- Specified by:
getLabelsOrThrow
in interfaceConversationOrBuilder
-
clearLabels
public Conversation.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
hasTranscript
public boolean hasTranscript()
Output only. The conversation transcript.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTranscript
in interfaceConversationOrBuilder
- Returns:
- Whether the transcript field is set.
-
getTranscript
public Conversation.Transcript getTranscript()
Output only. The conversation transcript.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTranscript
in interfaceConversationOrBuilder
- Returns:
- The transcript.
-
setTranscript
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];
-
setTranscript
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];
-
mergeTranscript
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];
-
clearTranscript
public Conversation.Builder clearTranscript()
Output only. The conversation transcript.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getTranscriptOrBuilder
public Conversation.TranscriptOrBuilder getTranscriptOrBuilder()
Output only. The conversation transcript.
.google.cloud.contactcenterinsights.v1.Conversation.Transcript transcript = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTranscriptOrBuilder
in interfaceConversationOrBuilder
-
getMediumValue
public int getMediumValue()
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getMediumValue
in interfaceConversationOrBuilder
- Returns:
- The enum numeric value on the wire for medium.
-
setMediumValue
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];
- Parameters:
value
- The enum numeric value on the wire for medium to set.- Returns:
- This builder for chaining.
-
getMedium
public Conversation.Medium getMedium()
Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
.google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getMedium
in interfaceConversationOrBuilder
- Returns:
- The medium.
-
setMedium
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];
- Parameters:
value
- The medium to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasDuration
public boolean hasDuration()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDuration
in interfaceConversationOrBuilder
- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDuration
in interfaceConversationOrBuilder
- Returns:
- The duration.
-
setDuration
public Conversation.Builder setDuration(com.google.protobuf.Duration value)
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDuration
public Conversation.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDuration
public Conversation.Builder mergeDuration(com.google.protobuf.Duration value)
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDuration
public Conversation.Builder clearDuration()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Output only. The duration of the conversation.
.google.protobuf.Duration duration = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDurationOrBuilder
in interfaceConversationOrBuilder
-
getTurnCount
public int getTurnCount()
Output only. The number of turns in the conversation.
int32 turn_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTurnCount
in interfaceConversationOrBuilder
- Returns:
- The turnCount.
-
setTurnCount
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];
- Parameters:
value
- The turnCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasLatestAnalysis
public boolean hasLatestAnalysis()
Output only. The conversation's latest analysis, if one exists.
.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasLatestAnalysis
in interfaceConversationOrBuilder
- Returns:
- Whether the latestAnalysis field is set.
-
getLatestAnalysis
public Analysis getLatestAnalysis()
Output only. The conversation's latest analysis, if one exists.
.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestAnalysis
in interfaceConversationOrBuilder
- Returns:
- The latestAnalysis.
-
setLatestAnalysis
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];
-
setLatestAnalysis
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];
-
mergeLatestAnalysis
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];
-
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];
-
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];
-
getLatestAnalysisOrBuilder
public AnalysisOrBuilder getLatestAnalysisOrBuilder()
Output only. The conversation's latest analysis, if one exists.
.google.cloud.contactcenterinsights.v1.Analysis latest_analysis = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestAnalysisOrBuilder
in interfaceConversationOrBuilder
-
hasLatestSummary
public boolean hasLatestSummary()
Output only. Latest summary of the conversation.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasLatestSummary
in interfaceConversationOrBuilder
- Returns:
- Whether the latestSummary field is set.
-
getLatestSummary
public ConversationSummarizationSuggestionData getLatestSummary()
Output only. Latest summary of the conversation.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestSummary
in interfaceConversationOrBuilder
- Returns:
- The latestSummary.
-
setLatestSummary
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];
-
setLatestSummary
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];
-
mergeLatestSummary
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];
-
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];
-
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];
-
getLatestSummaryOrBuilder
public ConversationSummarizationSuggestionDataOrBuilder getLatestSummaryOrBuilder()
Output only. Latest summary of the conversation.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData latest_summary = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestSummaryOrBuilder
in interfaceConversationOrBuilder
-
getRuntimeAnnotationsList
public List<RuntimeAnnotation> getRuntimeAnnotationsList()
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsList
in interfaceConversationOrBuilder
-
getRuntimeAnnotationsCount
public int getRuntimeAnnotationsCount()
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsCount
in interfaceConversationOrBuilder
-
getRuntimeAnnotations
public RuntimeAnnotation getRuntimeAnnotations(int index)
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotations
in interfaceConversationOrBuilder
-
setRuntimeAnnotations
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];
-
setRuntimeAnnotations
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];
-
addRuntimeAnnotations
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];
-
addRuntimeAnnotations
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];
-
addRuntimeAnnotations
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];
-
addRuntimeAnnotations
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];
-
addAllRuntimeAnnotations
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];
-
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];
-
removeRuntimeAnnotations
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];
-
getRuntimeAnnotationsBuilder
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];
-
getRuntimeAnnotationsOrBuilder
public RuntimeAnnotationOrBuilder getRuntimeAnnotationsOrBuilder(int index)
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsOrBuilder
in interfaceConversationOrBuilder
-
getRuntimeAnnotationsOrBuilderList
public List<? extends RuntimeAnnotationOrBuilder> getRuntimeAnnotationsOrBuilderList()
Output only. The annotations that were generated during the customer and agent interaction.
repeated .google.cloud.contactcenterinsights.v1.RuntimeAnnotation runtime_annotations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRuntimeAnnotationsOrBuilderList
in interfaceConversationOrBuilder
-
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];
-
addRuntimeAnnotationsBuilder
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];
-
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];
-
getDialogflowIntentsCount
public int getDialogflowIntentsCount()
Description copied from interface:ConversationOrBuilder
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsCount
in interfaceConversationOrBuilder
-
containsDialogflowIntents
public boolean containsDialogflowIntents(String key)
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsDialogflowIntents
in interfaceConversationOrBuilder
-
getDialogflowIntents
@Deprecated public Map<String,DialogflowIntent> getDialogflowIntents()
Deprecated.UsegetDialogflowIntentsMap()
instead.- Specified by:
getDialogflowIntents
in interfaceConversationOrBuilder
-
getDialogflowIntentsMap
public Map<String,DialogflowIntent> getDialogflowIntentsMap()
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsMap
in interfaceConversationOrBuilder
-
getDialogflowIntentsOrDefault
public DialogflowIntent getDialogflowIntentsOrDefault(String key, DialogflowIntent defaultValue)
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsOrDefault
in interfaceConversationOrBuilder
-
getDialogflowIntentsOrThrow
public DialogflowIntent getDialogflowIntentsOrThrow(String key)
Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}
map<string, .google.cloud.contactcenterinsights.v1.DialogflowIntent> dialogflow_intents = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDialogflowIntentsOrThrow
in interfaceConversationOrBuilder
-
clearDialogflowIntents
public Conversation.Builder clearDialogflowIntents()
-
removeDialogflowIntents
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];
-
getMutableDialogflowIntents
@Deprecated public Map<String,DialogflowIntent> getMutableDialogflowIntents()
Deprecated.Use alternate mutation accessors instead.
-
putDialogflowIntents
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];
-
putAllDialogflowIntents
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];
-
getObfuscatedUserId
public String getObfuscatedUserId()
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;
- Specified by:
getObfuscatedUserId
in interfaceConversationOrBuilder
- Returns:
- The obfuscatedUserId.
-
getObfuscatedUserIdBytes
public com.google.protobuf.ByteString getObfuscatedUserIdBytes()
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;
- Specified by:
getObfuscatedUserIdBytes
in interfaceConversationOrBuilder
- Returns:
- The bytes for obfuscatedUserId.
-
setObfuscatedUserId
public Conversation.Builder setObfuscatedUserId(String value)
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;
- Parameters:
value
- The obfuscatedUserId to set.- Returns:
- This builder for chaining.
-
clearObfuscatedUserId
public Conversation.Builder clearObfuscatedUserId()
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;
- Returns:
- This builder for chaining.
-
setObfuscatedUserIdBytes
public Conversation.Builder setObfuscatedUserIdBytes(com.google.protobuf.ByteString value)
Obfuscated user ID which the customer sent to us.
string obfuscated_user_id = 21;
- Parameters:
value
- The bytes for obfuscatedUserId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Conversation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
mergeUnknownFields
public final Conversation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.Builder>
-
-