Class DialogflowSource.Builder

  • All Implemented Interfaces:
    DialogflowSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    DialogflowSource

    public static final class DialogflowSource.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DialogflowSource.Builder>
    implements DialogflowSourceOrBuilder
     A Dialogflow source of conversation data.
     
    Protobuf type google.cloud.contactcenterinsights.v1.DialogflowSource
    • 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<DialogflowSource.Builder>
      • clear

        public DialogflowSource.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<DialogflowSource.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<DialogflowSource.Builder>
      • getDefaultInstanceForType

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

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

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

        public DialogflowSource.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<DialogflowSource.Builder>
      • setField

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

        public DialogflowSource.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<DialogflowSource.Builder>
      • clearOneof

        public DialogflowSource.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<DialogflowSource.Builder>
      • setRepeatedField

        public DialogflowSource.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<DialogflowSource.Builder>
      • addRepeatedField

        public DialogflowSource.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<DialogflowSource.Builder>
      • mergeFrom

        public DialogflowSource.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DialogflowSource.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DialogflowSource.Builder>
      • mergeFrom

        public DialogflowSource.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<DialogflowSource.Builder>
        Throws:
        IOException
      • getDialogflowConversation

        public String getDialogflowConversation()
         Output only. The name of the Dialogflow conversation that this conversation
         resource is derived from. Format:
         projects/{project}/locations/{location}/conversations/{conversation}
         
        string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDialogflowConversation in interface DialogflowSourceOrBuilder
        Returns:
        The dialogflowConversation.
      • getDialogflowConversationBytes

        public com.google.protobuf.ByteString getDialogflowConversationBytes()
         Output only. The name of the Dialogflow conversation that this conversation
         resource is derived from. Format:
         projects/{project}/locations/{location}/conversations/{conversation}
         
        string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDialogflowConversationBytes in interface DialogflowSourceOrBuilder
        Returns:
        The bytes for dialogflowConversation.
      • setDialogflowConversation

        public DialogflowSource.Builder setDialogflowConversation​(String value)
         Output only. The name of the Dialogflow conversation that this conversation
         resource is derived from. Format:
         projects/{project}/locations/{location}/conversations/{conversation}
         
        string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The dialogflowConversation to set.
        Returns:
        This builder for chaining.
      • clearDialogflowConversation

        public DialogflowSource.Builder clearDialogflowConversation()
         Output only. The name of the Dialogflow conversation that this conversation
         resource is derived from. Format:
         projects/{project}/locations/{location}/conversations/{conversation}
         
        string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setDialogflowConversationBytes

        public DialogflowSource.Builder setDialogflowConversationBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the Dialogflow conversation that this conversation
         resource is derived from. Format:
         projects/{project}/locations/{location}/conversations/{conversation}
         
        string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for dialogflowConversation to set.
        Returns:
        This builder for chaining.
      • getAudioUri

        public String getAudioUri()
         Cloud Storage URI that points to a file that contains the conversation
         audio.
         
        string audio_uri = 3;
        Specified by:
        getAudioUri in interface DialogflowSourceOrBuilder
        Returns:
        The audioUri.
      • getAudioUriBytes

        public com.google.protobuf.ByteString getAudioUriBytes()
         Cloud Storage URI that points to a file that contains the conversation
         audio.
         
        string audio_uri = 3;
        Specified by:
        getAudioUriBytes in interface DialogflowSourceOrBuilder
        Returns:
        The bytes for audioUri.
      • setAudioUri

        public DialogflowSource.Builder setAudioUri​(String value)
         Cloud Storage URI that points to a file that contains the conversation
         audio.
         
        string audio_uri = 3;
        Parameters:
        value - The audioUri to set.
        Returns:
        This builder for chaining.
      • clearAudioUri

        public DialogflowSource.Builder clearAudioUri()
         Cloud Storage URI that points to a file that contains the conversation
         audio.
         
        string audio_uri = 3;
        Returns:
        This builder for chaining.
      • setAudioUriBytes

        public DialogflowSource.Builder setAudioUriBytes​(com.google.protobuf.ByteString value)
         Cloud Storage URI that points to a file that contains the conversation
         audio.
         
        string audio_uri = 3;
        Parameters:
        value - The bytes for audioUri to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DialogflowSource.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<DialogflowSource.Builder>
      • mergeUnknownFields

        public final DialogflowSource.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<DialogflowSource.Builder>