Class Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.Builder>
      • clear

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

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

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

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

        public Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.Builder>
      • clearField

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

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

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

        public Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.Builder>
      • isInitialized

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

        public Task.NotebookTaskConfig.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<Task.NotebookTaskConfig.Builder>
        Throws:
        IOException
      • getNotebook

        public String getNotebook()
         Required. Path to input notebook. This can be the Cloud Storage URI of
         the notebook file or the path to a Notebook Content. The execution args
         are accessible as environment variables
         (`TASK_key=value`).
         
        string notebook = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNotebook in interface Task.NotebookTaskConfigOrBuilder
        Returns:
        The notebook.
      • getNotebookBytes

        public com.google.protobuf.ByteString getNotebookBytes()
         Required. Path to input notebook. This can be the Cloud Storage URI of
         the notebook file or the path to a Notebook Content. The execution args
         are accessible as environment variables
         (`TASK_key=value`).
         
        string notebook = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNotebookBytes in interface Task.NotebookTaskConfigOrBuilder
        Returns:
        The bytes for notebook.
      • setNotebook

        public Task.NotebookTaskConfig.Builder setNotebook​(String value)
         Required. Path to input notebook. This can be the Cloud Storage URI of
         the notebook file or the path to a Notebook Content. The execution args
         are accessible as environment variables
         (`TASK_key=value`).
         
        string notebook = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The notebook to set.
        Returns:
        This builder for chaining.
      • clearNotebook

        public Task.NotebookTaskConfig.Builder clearNotebook()
         Required. Path to input notebook. This can be the Cloud Storage URI of
         the notebook file or the path to a Notebook Content. The execution args
         are accessible as environment variables
         (`TASK_key=value`).
         
        string notebook = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNotebookBytes

        public Task.NotebookTaskConfig.Builder setNotebookBytes​(com.google.protobuf.ByteString value)
         Required. Path to input notebook. This can be the Cloud Storage URI of
         the notebook file or the path to a Notebook Content. The execution args
         are accessible as environment variables
         (`TASK_key=value`).
         
        string notebook = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for notebook to set.
        Returns:
        This builder for chaining.
      • hasInfrastructureSpec

        public boolean hasInfrastructureSpec()
         Optional. Infrastructure specification for the execution.
         
        .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasInfrastructureSpec in interface Task.NotebookTaskConfigOrBuilder
        Returns:
        Whether the infrastructureSpec field is set.
      • setInfrastructureSpec

        public Task.NotebookTaskConfig.Builder setInfrastructureSpec​(Task.InfrastructureSpec value)
         Optional. Infrastructure specification for the execution.
         
        .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      • setInfrastructureSpec

        public Task.NotebookTaskConfig.Builder setInfrastructureSpec​(Task.InfrastructureSpec.Builder builderForValue)
         Optional. Infrastructure specification for the execution.
         
        .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      • mergeInfrastructureSpec

        public Task.NotebookTaskConfig.Builder mergeInfrastructureSpec​(Task.InfrastructureSpec value)
         Optional. Infrastructure specification for the execution.
         
        .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      • clearInfrastructureSpec

        public Task.NotebookTaskConfig.Builder clearInfrastructureSpec()
         Optional. Infrastructure specification for the execution.
         
        .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getInfrastructureSpecBuilder

        public Task.InfrastructureSpec.Builder getInfrastructureSpecBuilder()
         Optional. Infrastructure specification for the execution.
         
        .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getFileUrisList

        public com.google.protobuf.ProtocolStringList getFileUrisList()
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFileUrisList in interface Task.NotebookTaskConfigOrBuilder
        Returns:
        A list containing the fileUris.
      • getFileUrisCount

        public int getFileUrisCount()
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFileUrisCount in interface Task.NotebookTaskConfigOrBuilder
        Returns:
        The count of fileUris.
      • getFileUris

        public String getFileUris​(int index)
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFileUris in interface Task.NotebookTaskConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The fileUris at the given index.
      • getFileUrisBytes

        public com.google.protobuf.ByteString getFileUrisBytes​(int index)
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFileUrisBytes in interface Task.NotebookTaskConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the fileUris at the given index.
      • setFileUris

        public Task.NotebookTaskConfig.Builder setFileUris​(int index,
                                                           String value)
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index to set the value at.
        value - The fileUris to set.
        Returns:
        This builder for chaining.
      • addFileUris

        public Task.NotebookTaskConfig.Builder addFileUris​(String value)
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The fileUris to add.
        Returns:
        This builder for chaining.
      • addAllFileUris

        public Task.NotebookTaskConfig.Builder addAllFileUris​(Iterable<String> values)
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        values - The fileUris to add.
        Returns:
        This builder for chaining.
      • clearFileUris

        public Task.NotebookTaskConfig.Builder clearFileUris()
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • addFileUrisBytes

        public Task.NotebookTaskConfig.Builder addFileUrisBytes​(com.google.protobuf.ByteString value)
         Optional. Cloud Storage URIs of files to be placed in the working
         directory of each executor.
         
        repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes of the fileUris to add.
        Returns:
        This builder for chaining.
      • getArchiveUrisList

        public com.google.protobuf.ProtocolStringList getArchiveUrisList()
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getArchiveUrisList in interface Task.NotebookTaskConfigOrBuilder
        Returns:
        A list containing the archiveUris.
      • getArchiveUrisCount

        public int getArchiveUrisCount()
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getArchiveUrisCount in interface Task.NotebookTaskConfigOrBuilder
        Returns:
        The count of archiveUris.
      • getArchiveUris

        public String getArchiveUris​(int index)
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getArchiveUris in interface Task.NotebookTaskConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The archiveUris at the given index.
      • getArchiveUrisBytes

        public com.google.protobuf.ByteString getArchiveUrisBytes​(int index)
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getArchiveUrisBytes in interface Task.NotebookTaskConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the archiveUris at the given index.
      • setArchiveUris

        public Task.NotebookTaskConfig.Builder setArchiveUris​(int index,
                                                              String value)
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index to set the value at.
        value - The archiveUris to set.
        Returns:
        This builder for chaining.
      • addArchiveUris

        public Task.NotebookTaskConfig.Builder addArchiveUris​(String value)
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The archiveUris to add.
        Returns:
        This builder for chaining.
      • addAllArchiveUris

        public Task.NotebookTaskConfig.Builder addAllArchiveUris​(Iterable<String> values)
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        values - The archiveUris to add.
        Returns:
        This builder for chaining.
      • clearArchiveUris

        public Task.NotebookTaskConfig.Builder clearArchiveUris()
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • addArchiveUrisBytes

        public Task.NotebookTaskConfig.Builder addArchiveUrisBytes​(com.google.protobuf.ByteString value)
         Optional. Cloud Storage URIs of archives to be extracted into the working
         directory of each executor. Supported file types: .jar, .tar, .tar.gz,
         .tgz, and .zip.
         
        repeated string archive_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes of the archiveUris to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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