Class ConversationParticipant.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
- com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder
-
- All Implemented Interfaces:
ConversationParticipantOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ConversationParticipant
public static final class ConversationParticipant.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder> implements ConversationParticipantOrBuilder
The call participant speaking for a given utterance.
Protobuf typegoogle.cloud.contactcenterinsights.v1.ConversationParticipant
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConversationParticipant.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConversationParticipant
build()
ConversationParticipant
buildPartial()
ConversationParticipant.Builder
clear()
ConversationParticipant.Builder
clearDialogflowParticipant()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.ConversationParticipant.Builder
clearDialogflowParticipantName()
The name of the participant provided by Dialogflow.ConversationParticipant.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConversationParticipant.Builder
clearObfuscatedExternalUserId()
Obfuscated user ID from Dialogflow.ConversationParticipant.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConversationParticipant.Builder
clearParticipant()
ConversationParticipant.Builder
clearRole()
The role of the participant.ConversationParticipant.Builder
clearUserId()
A user-specified ID representing the participant.ConversationParticipant.Builder
clone()
ConversationParticipant
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDialogflowParticipant()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.com.google.protobuf.ByteString
getDialogflowParticipantBytes()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.String
getDialogflowParticipantName()
The name of the participant provided by Dialogflow.com.google.protobuf.ByteString
getDialogflowParticipantNameBytes()
The name of the participant provided by Dialogflow.String
getObfuscatedExternalUserId()
Obfuscated user ID from Dialogflow.com.google.protobuf.ByteString
getObfuscatedExternalUserIdBytes()
Obfuscated user ID from Dialogflow.ConversationParticipant.ParticipantCase
getParticipantCase()
ConversationParticipant.Role
getRole()
The role of the participant.int
getRoleValue()
The role of the participant.String
getUserId()
A user-specified ID representing the participant.com.google.protobuf.ByteString
getUserIdBytes()
A user-specified ID representing the participant.boolean
hasDialogflowParticipantName()
The name of the participant provided by Dialogflow.boolean
hasUserId()
A user-specified ID representing the participant.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ConversationParticipant.Builder
mergeFrom(ConversationParticipant other)
ConversationParticipant.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConversationParticipant.Builder
mergeFrom(com.google.protobuf.Message other)
ConversationParticipant.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConversationParticipant.Builder
setDialogflowParticipant(String value)
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.ConversationParticipant.Builder
setDialogflowParticipantBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated.ConversationParticipant.Builder
setDialogflowParticipantName(String value)
The name of the participant provided by Dialogflow.ConversationParticipant.Builder
setDialogflowParticipantNameBytes(com.google.protobuf.ByteString value)
The name of the participant provided by Dialogflow.ConversationParticipant.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConversationParticipant.Builder
setObfuscatedExternalUserId(String value)
Obfuscated user ID from Dialogflow.ConversationParticipant.Builder
setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value)
Obfuscated user ID from Dialogflow.ConversationParticipant.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ConversationParticipant.Builder
setRole(ConversationParticipant.Role value)
The role of the participant.ConversationParticipant.Builder
setRoleValue(int value)
The role of the participant.ConversationParticipant.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConversationParticipant.Builder
setUserId(String value)
A user-specified ID representing the participant.ConversationParticipant.Builder
setUserIdBytes(com.google.protobuf.ByteString value)
A user-specified ID representing the participant.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
clear
public ConversationParticipant.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
getDefaultInstanceForType
public ConversationParticipant getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversationParticipant build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversationParticipant buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversationParticipant.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
setField
public ConversationParticipant.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
clearField
public ConversationParticipant.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
clearOneof
public ConversationParticipant.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
setRepeatedField
public ConversationParticipant.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
addRepeatedField
public ConversationParticipant.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
mergeFrom
public ConversationParticipant.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConversationParticipant.Builder>
-
mergeFrom
public ConversationParticipant.Builder mergeFrom(ConversationParticipant other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
mergeFrom
public ConversationParticipant.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConversationParticipant.Builder>
- Throws:
IOException
-
getParticipantCase
public ConversationParticipant.ParticipantCase getParticipantCase()
- Specified by:
getParticipantCase
in interfaceConversationParticipantOrBuilder
-
clearParticipant
public ConversationParticipant.Builder clearParticipant()
-
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) = { ... }
- Specified by:
hasDialogflowParticipantName
in interfaceConversationParticipantOrBuilder
- Returns:
- Whether the dialogflowParticipantName field is set.
-
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) = { ... }
- Specified by:
getDialogflowParticipantName
in interfaceConversationParticipantOrBuilder
- Returns:
- The dialogflowParticipantName.
-
getDialogflowParticipantNameBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getDialogflowParticipantNameBytes
in interfaceConversationParticipantOrBuilder
- Returns:
- The bytes for dialogflowParticipantName.
-
setDialogflowParticipantName
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) = { ... }
- Parameters:
value
- The dialogflowParticipantName to set.- Returns:
- 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:
- This builder for chaining.
-
setDialogflowParticipantNameBytes
public ConversationParticipant.Builder setDialogflowParticipantNameBytes(com.google.protobuf.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) = { ... }
- Parameters:
value
- The bytes for dialogflowParticipantName to set.- Returns:
- This builder for chaining.
-
hasUserId
public boolean hasUserId()
A user-specified ID representing the participant.
string user_id = 6;
- Specified by:
hasUserId
in interfaceConversationParticipantOrBuilder
- Returns:
- Whether the userId field is set.
-
getUserId
public String getUserId()
A user-specified ID representing the participant.
string user_id = 6;
- Specified by:
getUserId
in interfaceConversationParticipantOrBuilder
- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()
A user-specified ID representing the participant.
string user_id = 6;
- Specified by:
getUserIdBytes
in interfaceConversationParticipantOrBuilder
- Returns:
- The bytes for userId.
-
setUserId
public ConversationParticipant.Builder setUserId(String value)
A user-specified ID representing the participant.
string user_id = 6;
- Parameters:
value
- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
public ConversationParticipant.Builder clearUserId()
A user-specified ID representing the participant.
string user_id = 6;
- Returns:
- This builder for chaining.
-
setUserIdBytes
public ConversationParticipant.Builder setUserIdBytes(com.google.protobuf.ByteString value)
A user-specified ID representing the participant.
string user_id = 6;
- Parameters:
value
- The bytes for userId to set.- Returns:
- This builder for chaining.
-
getDialogflowParticipant
@Deprecated public String getDialogflowParticipant()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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];
- Specified by:
getDialogflowParticipant
in interfaceConversationParticipantOrBuilder
- Returns:
- The dialogflowParticipant.
-
getDialogflowParticipantBytes
@Deprecated public com.google.protobuf.ByteString getDialogflowParticipantBytes()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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];
- Specified by:
getDialogflowParticipantBytes
in interfaceConversationParticipantOrBuilder
- Returns:
- The bytes for dialogflowParticipant.
-
setDialogflowParticipant
@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=1208Deprecated. 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];
- Parameters:
value
- The dialogflowParticipant to set.- Returns:
- This builder for chaining.
-
clearDialogflowParticipant
@Deprecated public ConversationParticipant.Builder clearDialogflowParticipant()
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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:
- This builder for chaining.
-
setDialogflowParticipantBytes
@Deprecated public ConversationParticipant.Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1208Deprecated. 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];
- Parameters:
value
- The bytes for dialogflowParticipant to set.- Returns:
- This builder for chaining.
-
getObfuscatedExternalUserId
public String getObfuscatedExternalUserId()
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
- Specified by:
getObfuscatedExternalUserId
in interfaceConversationParticipantOrBuilder
- Returns:
- The obfuscatedExternalUserId.
-
getObfuscatedExternalUserIdBytes
public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes()
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
- Specified by:
getObfuscatedExternalUserIdBytes
in interfaceConversationParticipantOrBuilder
- Returns:
- The bytes for obfuscatedExternalUserId.
-
setObfuscatedExternalUserId
public ConversationParticipant.Builder setObfuscatedExternalUserId(String value)
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
- Parameters:
value
- The obfuscatedExternalUserId to set.- Returns:
- This builder for chaining.
-
clearObfuscatedExternalUserId
public ConversationParticipant.Builder clearObfuscatedExternalUserId()
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
- Returns:
- This builder for chaining.
-
setObfuscatedExternalUserIdBytes
public ConversationParticipant.Builder setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value)
Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;
- Parameters:
value
- The bytes for obfuscatedExternalUserId to set.- Returns:
- This builder for chaining.
-
getRoleValue
public int getRoleValue()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
- Specified by:
getRoleValue
in interfaceConversationParticipantOrBuilder
- Returns:
- The enum numeric value on the wire for role.
-
setRoleValue
public ConversationParticipant.Builder setRoleValue(int value)
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
- Parameters:
value
- The enum numeric value on the wire for role to set.- Returns:
- This builder for chaining.
-
getRole
public ConversationParticipant.Role getRole()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
- Specified by:
getRole
in interfaceConversationParticipantOrBuilder
- Returns:
- The role.
-
setRole
public ConversationParticipant.Builder setRole(ConversationParticipant.Role value)
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
- Parameters:
value
- The role to set.- Returns:
- This builder for chaining.
-
clearRole
public ConversationParticipant.Builder clearRole()
The role of the participant.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConversationParticipant.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
mergeUnknownFields
public final ConversationParticipant.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
-
-