- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class ConversationParticipant.Builder extends GeneratedMessageV3.Builder<ConversationParticipant.Builder> implements ConversationParticipantOrBuilder
The call participant speaking for a given utterance.
Protobuf type google.cloud.contactcenterinsights.v1.ConversationParticipant
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationParticipant.BuilderImplements
ConversationParticipantOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationParticipant.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
build()
public ConversationParticipant build()
Returns | |
---|---|
Type | Description |
ConversationParticipant |
buildPartial()
public ConversationParticipant buildPartial()
Returns | |
---|---|
Type | Description |
ConversationParticipant |
clear()
public ConversationParticipant.Builder clear()
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
clearDialogflowParticipant() (deprecated)
public ConversationParticipant.Builder clearDialogflowParticipant()
Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1464
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 |
ConversationParticipant.Builder |
This builder for chaining. |
clearDialogflowParticipantName()
public ConversationParticipant.Builder clearDialogflowParticipantName()
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 |
ConversationParticipant.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConversationParticipant.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
clearObfuscatedExternalUserId()
public ConversationParticipant.Builder clearObfuscatedExternalUserId()
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationParticipant.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
clearParticipant()
public ConversationParticipant.Builder clearParticipant()
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
clearRole()
public ConversationParticipant.Builder clearRole()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
clearUserId()
public ConversationParticipant.Builder clearUserId()
A user-specified ID representing the participant.
string user_id = 6;
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
clone()
public ConversationParticipant.Builder clone()
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
getDefaultInstanceForType()
public ConversationParticipant getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConversationParticipant |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDialogflowParticipant() (deprecated)
public String getDialogflowParticipant()
Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1464
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=1464
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ConversationParticipant other)
public ConversationParticipant.Builder mergeFrom(ConversationParticipant other)
Parameter | |
---|---|
Name | Description |
other |
ConversationParticipant |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationParticipant.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationParticipant.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationParticipant.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
setDialogflowParticipant(String value) (deprecated)
public ConversationParticipant.Builder setDialogflowParticipant(String value)
Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1464
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];
Parameter | |
---|---|
Name | Description |
value |
String The dialogflowParticipant to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setDialogflowParticipantBytes(ByteString value) (deprecated)
public ConversationParticipant.Builder setDialogflowParticipantBytes(ByteString value)
Deprecated. google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1464
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for dialogflowParticipant to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setDialogflowParticipantName(String value)
public ConversationParticipant.Builder setDialogflowParticipantName(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The dialogflowParticipantName to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setDialogflowParticipantNameBytes(ByteString value)
public ConversationParticipant.Builder setDialogflowParticipantNameBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for dialogflowParticipantName to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationParticipant.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
setObfuscatedExternalUserId(String value)
public ConversationParticipant.Builder setObfuscatedExternalUserId(String value)
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The obfuscatedExternalUserId to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setObfuscatedExternalUserIdBytes(ByteString value)
public ConversationParticipant.Builder setObfuscatedExternalUserIdBytes(ByteString value)
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for obfuscatedExternalUserId to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationParticipant.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
setRole(ConversationParticipant.Role value)
public ConversationParticipant.Builder setRole(ConversationParticipant.Role value)
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
Parameter | |
---|---|
Name | Description |
value |
ConversationParticipant.Role The role to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setRoleValue(int value)
public ConversationParticipant.Builder setRoleValue(int value)
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for role to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationParticipant.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
setUserId(String value)
public ConversationParticipant.Builder setUserId(String value)
A user-specified ID representing the participant.
string user_id = 6;
Parameter | |
---|---|
Name | Description |
value |
String The userId to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |
setUserIdBytes(ByteString value)
public ConversationParticipant.Builder setUserIdBytes(ByteString value)
A user-specified ID representing the participant.
string user_id = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userId to set. |
Returns | |
---|---|
Type | Description |
ConversationParticipant.Builder |
This builder for chaining. |