public final class ConversationParticipant extends GeneratedMessageV3 implements ConversationParticipantOrBuilder
The call participant speaking for a given utterance.
Protobuf type google.cloud.contactcenterinsights.v1.ConversationParticipant
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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=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.
|
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.
|
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 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)
Overrides
public ConversationParticipant.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides