Class ConversationParticipant.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ConversationParticipant.Builder> implements ConversationParticipantOrBuilder
The call participant speaking for a given utterance.
Protobuf typegoogle.cloud.contactcenterinsights.v1.ConversationParticipant
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConversationParticipant.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConversationParticipantbuild()ConversationParticipantbuildPartial()ConversationParticipant.Builderclear()ConversationParticipant.BuilderclearDialogflowParticipant()Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.ConversationParticipant.BuilderclearDialogflowParticipantName()The name of the participant provided by Dialogflow.ConversationParticipant.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConversationParticipant.BuilderclearObfuscatedExternalUserId()Obfuscated user ID from Dialogflow.ConversationParticipant.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConversationParticipant.BuilderclearParticipant()ConversationParticipant.BuilderclearRole()The role of the participant.ConversationParticipant.BuilderclearUserId()A user-specified ID representing the participant.ConversationParticipant.Builderclone()ConversationParticipantgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDialogflowParticipant()Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.com.google.protobuf.ByteStringgetDialogflowParticipantBytes()Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.StringgetDialogflowParticipantName()The name of the participant provided by Dialogflow.com.google.protobuf.ByteStringgetDialogflowParticipantNameBytes()The name of the participant provided by Dialogflow.StringgetObfuscatedExternalUserId()Obfuscated user ID from Dialogflow.com.google.protobuf.ByteStringgetObfuscatedExternalUserIdBytes()Obfuscated user ID from Dialogflow.ConversationParticipant.ParticipantCasegetParticipantCase()ConversationParticipant.RolegetRole()The role of the participant.intgetRoleValue()The role of the participant.StringgetUserId()A user-specified ID representing the participant.com.google.protobuf.ByteStringgetUserIdBytes()A user-specified ID representing the participant.booleanhasDialogflowParticipantName()The name of the participant provided by Dialogflow.booleanhasUserId()A user-specified ID representing the participant.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConversationParticipant.BuildermergeFrom(ConversationParticipant other)ConversationParticipant.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConversationParticipant.BuildermergeFrom(com.google.protobuf.Message other)ConversationParticipant.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversationParticipant.BuildersetDialogflowParticipant(String value)Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.ConversationParticipant.BuildersetDialogflowParticipantBytes(com.google.protobuf.ByteString value)Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.ConversationParticipant.BuildersetDialogflowParticipantName(String value)The name of the participant provided by Dialogflow.ConversationParticipant.BuildersetDialogflowParticipantNameBytes(com.google.protobuf.ByteString value)The name of the participant provided by Dialogflow.ConversationParticipant.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConversationParticipant.BuildersetObfuscatedExternalUserId(String value)Obfuscated user ID from Dialogflow.ConversationParticipant.BuildersetObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value)Obfuscated user ID from Dialogflow.ConversationParticipant.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConversationParticipant.BuildersetRole(ConversationParticipant.Role value)The role of the participant.ConversationParticipant.BuildersetRoleValue(int value)The role of the participant.ConversationParticipant.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversationParticipant.BuildersetUserId(String value)A user-specified ID representing the participant.ConversationParticipant.BuildersetUserIdBytes(com.google.protobuf.ByteString value)A user-specified ID representing the participant.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
clear
public ConversationParticipant.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
getDefaultInstanceForType
public ConversationParticipant getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversationParticipant build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversationParticipant buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversationParticipant.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
setField
public ConversationParticipant.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
clearField
public ConversationParticipant.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
clearOneof
public ConversationParticipant.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
setRepeatedField
public ConversationParticipant.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
addRepeatedField
public ConversationParticipant.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
mergeFrom
public ConversationParticipant.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationParticipant.Builder>
-
mergeFrom
public ConversationParticipant.Builder mergeFrom(ConversationParticipant other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public ConversationParticipant.ParticipantCase getParticipantCase()
- Specified by:
getParticipantCasein interfaceConversationParticipantOrBuilder
-
clearParticipant
public ConversationParticipant.Builder 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
public String 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
public ConversationParticipant.Builder setDialogflowParticipantName(String 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 dialogflowParticipantName to set.- Returns:
- This builder for chaining.
-
clearDialogflowParticipantName
public ConversationParticipant.Builder 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
public String 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
public ConversationParticipant.Builder setUserId(String value)
A user-specified ID representing the participant.
string user_id = 6;- Parameters:
value- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
public ConversationParticipant.Builder clearUserId()
A user-specified ID representing the participant.
string user_id = 6;- Returns:
- This builder for chaining.
-
setUserIdBytes
public ConversationParticipant.Builder setUserIdBytes(com.google.protobuf.ByteString value)
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 public String getDialogflowParticipant()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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 public com.google.protobuf.ByteString getDialogflowParticipantBytes()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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 public ConversationParticipant.Builder setDialogflowParticipant(String value)
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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 public ConversationParticipant.Builder clearDialogflowParticipant()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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=1208Deprecated. 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
public String 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
public ConversationParticipant.Builder setObfuscatedExternalUserId(String value)
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;- Parameters:
value- The obfuscatedExternalUserId to set.- Returns:
- This builder for chaining.
-
clearObfuscatedExternalUserId
public ConversationParticipant.Builder 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
public ConversationParticipant.Builder setRoleValue(int value)
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
public ConversationParticipant.Role getRole()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;- Specified by:
getRolein interfaceConversationParticipantOrBuilder- Returns:
- The role.
-
setRole
public ConversationParticipant.Builder setRole(ConversationParticipant.Role value)
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
public ConversationParticipant.Builder clearRole()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConversationParticipant.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
mergeUnknownFields
public final ConversationParticipant.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
-