Class ConversationParticipant.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • clear

        public ConversationParticipant.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • getDefaultInstanceForType

        public ConversationParticipant getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ConversationParticipant build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ConversationParticipant buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ConversationParticipant.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • clearField

        public ConversationParticipant.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • clearOneof

        public ConversationParticipant.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • addRepeatedField

        public ConversationParticipant.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConversationParticipant.Builder>
        Throws:
        IOException
      • 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 interface ConversationParticipantOrBuilder
        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 interface ConversationParticipantOrBuilder
        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 interface ConversationParticipantOrBuilder
        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 interface ConversationParticipantOrBuilder
        Returns:
        Whether the userId field is set.
      • getUserIdBytes

        public com.google.protobuf.ByteString getUserIdBytes()
         A user-specified ID representing the participant.
         
        string user_id = 6;
        Specified by:
        getUserIdBytes in interface ConversationParticipantOrBuilder
        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=1208
         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];
        Specified by:
        getDialogflowParticipant in interface ConversationParticipantOrBuilder
        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=1208
         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];
        Specified by:
        getDialogflowParticipantBytes in interface ConversationParticipantOrBuilder
        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=1208
         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];
        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=1208
         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:
        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=1208
         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];
        Parameters:
        value - The bytes for dialogflowParticipant to set.
        Returns:
        This builder for chaining.
      • getObfuscatedExternalUserIdBytes

        public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes()
         Obfuscated user ID from Dialogflow.
         
        string obfuscated_external_user_id = 3;
        Specified by:
        getObfuscatedExternalUserIdBytes in interface ConversationParticipantOrBuilder
        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 interface ConversationParticipantOrBuilder
        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.
      • 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>
      • mergeUnknownFields

        public final ConversationParticipant.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConversationParticipant.Builder>