Class ConversationParticipant (2.48.0)

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

DIALOGFLOW_PARTICIPANT_FIELD_NUMBER

public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER
Field Value
Type Description
int

DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER

public static final int DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER
Field Value
Type Description
int

OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER

public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER
Field Value
Type Description
int

ROLE_FIELD_NUMBER

public static final int ROLE_FIELD_NUMBER
Field Value
Type Description
int

USER_ID_FIELD_NUMBER

public static final int USER_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConversationParticipant getDefaultInstance()
Returns
Type Description
ConversationParticipant

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ConversationParticipant.Builder newBuilder()
Returns
Type Description
ConversationParticipant.Builder

newBuilder(ConversationParticipant prototype)

public static ConversationParticipant.Builder newBuilder(ConversationParticipant prototype)
Parameter
Name Description
prototype ConversationParticipant
Returns
Type Description
ConversationParticipant.Builder

parseDelimitedFrom(InputStream input)

public static ConversationParticipant parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConversationParticipant parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationParticipant parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationParticipant parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConversationParticipant parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConversationParticipant parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationParticipant
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConversationParticipant> parser()
Returns
Type Description
Parser<ConversationParticipant>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ConversationParticipant getDefaultInstanceForType()
Returns
Type Description
ConversationParticipant

getDialogflowParticipant() (deprecated)

public String getDialogflowParticipant()

Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1256

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.

getDialogflowParticipantBytes() (deprecated)

public ByteString getDialogflowParticipantBytes()

Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1256

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.

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) = { ... }

Returns
Type Description
String

The dialogflowParticipantName.

getDialogflowParticipantNameBytes()

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.

getObfuscatedExternalUserId()

public String getObfuscatedExternalUserId()

Obfuscated user ID from Dialogflow.

string obfuscated_external_user_id = 3;

Returns
Type Description
String

The obfuscatedExternalUserId.

getObfuscatedExternalUserIdBytes()

public ByteString getObfuscatedExternalUserIdBytes()

Obfuscated user ID from Dialogflow.

string obfuscated_external_user_id = 3;

Returns
Type Description
ByteString

The bytes for obfuscatedExternalUserId.

getParserForType()

public Parser<ConversationParticipant> getParserForType()
Returns
Type Description
Parser<ConversationParticipant>
Overrides

getParticipantCase()

public ConversationParticipant.ParticipantCase getParticipantCase()
Returns
Type Description
ConversationParticipant.ParticipantCase

getRole()

public ConversationParticipant.Role getRole()

The role of the participant.

.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;

Returns
Type Description
ConversationParticipant.Role

The role.

getRoleValue()

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserId()

public String getUserId()

A user-specified ID representing the participant.

string user_id = 6;

Returns
Type Description
String

The userId.

getUserIdBytes()

public ByteString getUserIdBytes()

A user-specified ID representing the participant.

string user_id = 6;

Returns
Type Description
ByteString

The bytes for userId.

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) = { ... }

Returns
Type Description
boolean

Whether the dialogflowParticipantName field is set.

hasUserId()

public boolean hasUserId()

A user-specified ID representing the participant.

string user_id = 6;

Returns
Type Description
boolean

Whether the userId field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConversationParticipant.Builder newBuilderForType()
Returns
Type Description
ConversationParticipant.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationParticipant.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConversationParticipant.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConversationParticipant.Builder toBuilder()
Returns
Type Description
ConversationParticipant.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException