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
public static final int DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER
Field Value
public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER
Field Value
public static final int ROLE_FIELD_NUMBER
Field Value
public static final int USER_ID_FIELD_NUMBER
Field Value
Static Methods
public static ConversationParticipant getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ConversationParticipant.Builder newBuilder()
Returns
public static ConversationParticipant.Builder newBuilder(ConversationParticipant prototype)
Parameter
Returns
public static ConversationParticipant parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConversationParticipant parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConversationParticipant parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ConversationParticipant parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConversationParticipant parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ConversationParticipant parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConversationParticipant parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ConversationParticipant parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConversationParticipant parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConversationParticipant parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConversationParticipant parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ConversationParticipant parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ConversationParticipant> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ConversationParticipant getDefaultInstanceForType()
Returns
public String getDialogflowParticipant()
Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1125
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=1125
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()
Returns
Overrides
public ConversationParticipant.ParticipantCase getParticipantCase()
Returns
public ConversationParticipant.Role getRole()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
Returns
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
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
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
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ConversationParticipant.Builder newBuilderForType()
Returns
protected ConversationParticipant.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ConversationParticipant.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions