Class ConversationParticipant (2.14.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.14.0keyboard_arrow_down
public final class ConversationParticipant extends GeneratedMessageV3 implements ConversationParticipantOrBuilder
The call participant speaking for a given utterance.
Protobuf type google.cloud.contactcenterinsights.v1.ConversationParticipant
Static Fields
public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ROLE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int USER_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ConversationParticipant getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ConversationParticipant . Builder newBuilder ()
public static ConversationParticipant . Builder newBuilder ( ConversationParticipant prototype )
public static ConversationParticipant parseDelimitedFrom ( InputStream input )
public static ConversationParticipant parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ConversationParticipant parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ConversationParticipant parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ConversationParticipant parseFrom ( ByteString data )
public static ConversationParticipant parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ConversationParticipant parseFrom ( CodedInputStream input )
public static ConversationParticipant parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ConversationParticipant parseFrom ( InputStream input )
public static ConversationParticipant parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ConversationParticipant parseFrom ( ByteBuffer data )
public static ConversationParticipant parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ConversationParticipant> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ConversationParticipant getDefaultInstanceForType ()
public String getDialogflowParticipant ()
Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1129
Deprecated. 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
Type
Description
String
The dialogflowParticipant.
public ByteString getDialogflowParticipantBytes ()
Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1129
Deprecated. 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
Type
Description
ByteString
The bytes for dialogflowParticipant.
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) = { ... }
Returns
Type
Description
String
The dialogflowParticipantName.
public 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) = { ... }
Returns
Type
Description
ByteString
The bytes for dialogflowParticipantName.
public String getObfuscatedExternalUserId ()
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
Returns
Type
Description
String
The obfuscatedExternalUserId.
public ByteString getObfuscatedExternalUserIdBytes ()
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
Returns
Type
Description
ByteString
The bytes for obfuscatedExternalUserId.
public Parser<ConversationParticipant> getParserForType ()
Overrides
public ConversationParticipant . ParticipantCase getParticipantCase ()
public ConversationParticipant . Role getRole ()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
public int getRoleValue ()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
Returns
Type
Description
int
The enum numeric value on the wire for role.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
public String getUserId ()
A user-specified ID representing the participant.
string user_id = 6;
Returns
Type
Description
String
The userId.
public ByteString getUserIdBytes ()
A user-specified ID representing the participant.
string user_id = 6;
Returns
Type
Description
ByteString
The bytes for userId.
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) = { ... }
Returns
Type
Description
boolean
Whether the dialogflowParticipantName field is set.
public boolean hasUserId ()
A user-specified ID representing the participant.
string user_id = 6;
Returns
Type
Description
boolean
Whether the userId field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ConversationParticipant . Builder newBuilderForType ()
protected ConversationParticipant . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ConversationParticipant . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,[]]