Class ConversationParticipant (2.3.5)

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
TypeDescription
int

DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER

public static final int DIALOGFLOW_PARTICIPANT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER

public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ROLE_FIELD_NUMBER

public static final int ROLE_FIELD_NUMBER
Field Value
TypeDescription
int

USER_ID_FIELD_NUMBER

public static final int USER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConversationParticipant getDefaultInstance()
Returns
TypeDescription
ConversationParticipant

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConversationParticipant.Builder newBuilder()
Returns
TypeDescription
ConversationParticipant.Builder

newBuilder(ConversationParticipant prototype)

public static ConversationParticipant.Builder newBuilder(ConversationParticipant prototype)
Parameter
NameDescription
prototypeConversationParticipant
Returns
TypeDescription
ConversationParticipant.Builder

parseDelimitedFrom(InputStream input)

public static ConversationParticipant parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConversationParticipant parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationParticipant parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationParticipant parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConversationParticipant parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConversationParticipant parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationParticipant parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationParticipant
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConversationParticipant> parser()
Returns
TypeDescription
Parser<ConversationParticipant>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ConversationParticipant getDefaultInstanceForType()
Returns
TypeDescription
ConversationParticipant

getDialogflowParticipant() (deprecated)

public String getDialogflowParticipant()

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

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
TypeDescription
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=1083

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dialogflowParticipantName.

getObfuscatedExternalUserId()

public String getObfuscatedExternalUserId()

Obfuscated user ID from Dialogflow.

string obfuscated_external_user_id = 3;

Returns
TypeDescription
String

The obfuscatedExternalUserId.

getObfuscatedExternalUserIdBytes()

public ByteString getObfuscatedExternalUserIdBytes()

Obfuscated user ID from Dialogflow.

string obfuscated_external_user_id = 3;

Returns
TypeDescription
ByteString

The bytes for obfuscatedExternalUserId.

getParserForType()

public Parser<ConversationParticipant> getParserForType()
Returns
TypeDescription
Parser<ConversationParticipant>
Overrides

getParticipantCase()

public ConversationParticipant.ParticipantCase getParticipantCase()
Returns
TypeDescription
ConversationParticipant.ParticipantCase

getRole()

public ConversationParticipant.Role getRole()

The role of the participant.

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

Returns
TypeDescription
ConversationParticipant.Role

The role.

getRoleValue()

public int getRoleValue()

The role of the participant.

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

Returns
TypeDescription
int

The enum numeric value on the wire for role.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUserId()

public String getUserId()

A user-specified ID representing the participant.

string user_id = 6;

Returns
TypeDescription
String

The userId.

getUserIdBytes()

public ByteString getUserIdBytes()

A user-specified ID representing the participant.

string user_id = 6;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the dialogflowParticipantName field is set.

hasUserId()

public boolean hasUserId()

A user-specified ID representing the participant.

string user_id = 6;

Returns
TypeDescription
boolean

Whether the userId field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConversationParticipant.Builder newBuilderForType()
Returns
TypeDescription
ConversationParticipant.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationParticipant.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConversationParticipant.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConversationParticipant.Builder toBuilder()
Returns
TypeDescription
ConversationParticipant.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException