Class ConversationParticipant.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversationParticipant.Builder>
com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder
- All Implemented Interfaces:
ConversationParticipantOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversationParticipant
public static final class ConversationParticipant.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConversationParticipant.Builder>
implements ConversationParticipantOrBuilder
The call participant speaking for a given utterance.Protobuf type
google.cloud.contactcenterinsights.v1.ConversationParticipant-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.The name of the participant provided by Dialogflow.Obfuscated user ID from Dialogflow.The role of the participant.A user-specified ID representing the participant.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.The name of the participant provided by Dialogflow.com.google.protobuf.ByteStringThe name of the participant provided by Dialogflow.Obfuscated user ID from Dialogflow.com.google.protobuf.ByteStringObfuscated user ID from Dialogflow.getRole()The role of the participant.intThe role of the participant.A user-specified ID representing the participant.com.google.protobuf.ByteStringA user-specified ID representing the participant.booleanThe name of the participant provided by Dialogflow.booleanA user-specified ID representing the participant.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ConversationParticipant other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDialogflowParticipant(String value) Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.setDialogflowParticipantBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.The name of the participant provided by Dialogflow.setDialogflowParticipantNameBytes(com.google.protobuf.ByteString value) The name of the participant provided by Dialogflow.Obfuscated user ID from Dialogflow.setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value) Obfuscated user ID from Dialogflow.The role of the participant.setRoleValue(int value) The role of the participant.A user-specified ID representing the participant.setUserIdBytes(com.google.protobuf.ByteString value) A user-specified ID representing the participant.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConversationParticipant.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConversationParticipant.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConversationParticipant.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationParticipant.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConversationParticipant.Builder>
-
mergeFrom
public ConversationParticipant.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationParticipant.Builder>- Throws:
IOException
-
getParticipantCase
- Specified by:
getParticipantCasein interfaceConversationParticipantOrBuilder
-
clearParticipant
-
hasDialogflowParticipantName
public boolean hasDialogflowParticipantName()The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... }- Specified by:
hasDialogflowParticipantNamein interfaceConversationParticipantOrBuilder- Returns:
- Whether the dialogflowParticipantName field is set.
-
getDialogflowParticipantName
The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... }- Specified by:
getDialogflowParticipantNamein interfaceConversationParticipantOrBuilder- Returns:
- The dialogflowParticipantName.
-
getDialogflowParticipantNameBytes
public com.google.protobuf.ByteString getDialogflowParticipantNameBytes()The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... }- Specified by:
getDialogflowParticipantNameBytesin interfaceConversationParticipantOrBuilder- Returns:
- The bytes for dialogflowParticipantName.
-
setDialogflowParticipantName
The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... }- Parameters:
value- The dialogflowParticipantName to set.- Returns:
- This builder for chaining.
-
clearDialogflowParticipantName
The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setDialogflowParticipantNameBytes
public ConversationParticipant.Builder setDialogflowParticipantNameBytes(com.google.protobuf.ByteString value) The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant_name = 5 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for dialogflowParticipantName to set.- Returns:
- This builder for chaining.
-
hasUserId
public boolean hasUserId()A user-specified ID representing the participant.
string user_id = 6;- Specified by:
hasUserIdin interfaceConversationParticipantOrBuilder- Returns:
- Whether the userId field is set.
-
getUserId
A user-specified ID representing the participant.
string user_id = 6;- Specified by:
getUserIdin interfaceConversationParticipantOrBuilder- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()A user-specified ID representing the participant.
string user_id = 6;- Specified by:
getUserIdBytesin interfaceConversationParticipantOrBuilder- Returns:
- The bytes for userId.
-
setUserId
A user-specified ID representing the participant.
string user_id = 6;- Parameters:
value- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
A user-specified ID representing the participant.
string user_id = 6;- Returns:
- This builder for chaining.
-
setUserIdBytes
A user-specified ID representing the participant.
string user_id = 6;- Parameters:
value- The bytes for userId to set.- Returns:
- This builder for chaining.
-
getDialogflowParticipant
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1470Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant = 1 [deprecated = true];- Specified by:
getDialogflowParticipantin interfaceConversationParticipantOrBuilder- Returns:
- The dialogflowParticipant.
-
getDialogflowParticipantBytes
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1470Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant = 1 [deprecated = true];- Specified by:
getDialogflowParticipantBytesin interfaceConversationParticipantOrBuilder- Returns:
- The bytes for dialogflowParticipant.
-
setDialogflowParticipant
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1470Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant = 1 [deprecated = true];- Parameters:
value- The dialogflowParticipant to set.- Returns:
- This builder for chaining.
-
clearDialogflowParticipant
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1470Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant = 1 [deprecated = true];- Returns:
- This builder for chaining.
-
setDialogflowParticipantBytes
@Deprecated public ConversationParticipant.Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1470Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}string dialogflow_participant = 1 [deprecated = true];- Parameters:
value- The bytes for dialogflowParticipant to set.- Returns:
- This builder for chaining.
-
getObfuscatedExternalUserId
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;- Specified by:
getObfuscatedExternalUserIdin interfaceConversationParticipantOrBuilder- Returns:
- The obfuscatedExternalUserId.
-
getObfuscatedExternalUserIdBytes
public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes()Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;- Specified by:
getObfuscatedExternalUserIdBytesin interfaceConversationParticipantOrBuilder- Returns:
- The bytes for obfuscatedExternalUserId.
-
setObfuscatedExternalUserId
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;- Parameters:
value- The obfuscatedExternalUserId to set.- Returns:
- This builder for chaining.
-
clearObfuscatedExternalUserId
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;- Returns:
- This builder for chaining.
-
setObfuscatedExternalUserIdBytes
public ConversationParticipant.Builder setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value) Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;- Parameters:
value- The bytes for obfuscatedExternalUserId to set.- Returns:
- This builder for chaining.
-
getRoleValue
public int getRoleValue()The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;- Specified by:
getRoleValuein interfaceConversationParticipantOrBuilder- Returns:
- The enum numeric value on the wire for role.
-
setRoleValue
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;- Parameters:
value- The enum numeric value on the wire for role to set.- Returns:
- This builder for chaining.
-
getRole
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;- Specified by:
getRolein interfaceConversationParticipantOrBuilder- Returns:
- The role.
-
setRole
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;- Parameters:
value- The role to set.- Returns:
- This builder for chaining.
-
clearRole
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;- Returns:
- This builder for chaining.
-