Interface Task.SparkTaskConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Task.SparkTaskConfig, Task.SparkTaskConfig.Builder
Enclosing class:
Task

public static interface Task.SparkTaskConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasMainJarFileUri

      boolean hasMainJarFileUri()
       The Cloud Storage URI of the jar file that contains the main class.
       The execution args are passed in as a sequence of named process
       arguments (`--key=value`).
       
      string main_jar_file_uri = 100;
      Returns:
      Whether the mainJarFileUri field is set.
    • getMainJarFileUri

      String getMainJarFileUri()
       The Cloud Storage URI of the jar file that contains the main class.
       The execution args are passed in as a sequence of named process
       arguments (`--key=value`).
       
      string main_jar_file_uri = 100;
      Returns:
      The mainJarFileUri.
    • getMainJarFileUriBytes

      com.google.protobuf.ByteString getMainJarFileUriBytes()
       The Cloud Storage URI of the jar file that contains the main class.
       The execution args are passed in as a sequence of named process
       arguments (`--key=value`).
       
      string main_jar_file_uri = 100;
      Returns:
      The bytes for mainJarFileUri.
    • hasMainClass

      boolean hasMainClass()
       The name of the driver's main class. The jar file that contains the
       class must be in the default CLASSPATH or specified in
       `jar_file_uris`.
       The execution args are passed in as a sequence of named process
       arguments (`--key=value`).
       
      string main_class = 101;
      Returns:
      Whether the mainClass field is set.
    • getMainClass

      String getMainClass()
       The name of the driver's main class. The jar file that contains the
       class must be in the default CLASSPATH or specified in
       `jar_file_uris`.
       The execution args are passed in as a sequence of named process
       arguments (`--key=value`).
       
      string main_class = 101;
      Returns:
      The mainClass.
    • getMainClassBytes

      com.google.protobuf.ByteString getMainClassBytes()
       The name of the driver's main class. The jar file that contains the
       class must be in the default CLASSPATH or specified in
       `jar_file_uris`.
       The execution args are passed in as a sequence of named process
       arguments (`--key=value`).
       
      string main_class = 101;
      Returns:
      The bytes for mainClass.
    • hasPythonScriptFile

      boolean hasPythonScriptFile()
       The Gcloud Storage URI of the main Python file to use as the driver.
       Must be a .py file. The execution args are passed in as a sequence of
       named process arguments (`--key=value`).
       
      string python_script_file = 102;
      Returns:
      Whether the pythonScriptFile field is set.
    • getPythonScriptFile

      String getPythonScriptFile()
       The Gcloud Storage URI of the main Python file to use as the driver.
       Must be a .py file. The execution args are passed in as a sequence of
       named process arguments (`--key=value`).
       
      string python_script_file = 102;
      Returns:
      The pythonScriptFile.
    • getPythonScriptFileBytes

      com.google.protobuf.ByteString getPythonScriptFileBytes()
       The Gcloud Storage URI of the main Python file to use as the driver.
       Must be a .py file. The execution args are passed in as a sequence of
       named process arguments (`--key=value`).
       
      string python_script_file = 102;
      Returns:
      The bytes for pythonScriptFile.
    • hasSqlScriptFile

      boolean hasSqlScriptFile()
       A reference to a query file. This should be the Cloud Storage URI of
       the query file. The execution args are used to declare a set of script
       variables (`set key="value";`).
       
      string sql_script_file = 104;
      Returns:
      Whether the sqlScriptFile field is set.
    • getSqlScriptFile

      String getSqlScriptFile()
       A reference to a query file. This should be the Cloud Storage URI of
       the query file. The execution args are used to declare a set of script
       variables (`set key="value";`).
       
      string sql_script_file = 104;
      Returns:
      The sqlScriptFile.
    • getSqlScriptFileBytes

      com.google.protobuf.ByteString getSqlScriptFileBytes()
       A reference to a query file. This should be the Cloud Storage URI of
       the query file. The execution args are used to declare a set of script
       variables (`set key="value";`).
       
      string sql_script_file = 104;
      Returns:
      The bytes for sqlScriptFile.
    • hasSqlScript

      boolean hasSqlScript()
       The query text.
       The execution args are used to declare a set of script variables
       (`set key="value";`).
       
      string sql_script = 105;
      Returns:
      Whether the sqlScript field is set.
    • getSqlScript

      String getSqlScript()
       The query text.
       The execution args are used to declare a set of script variables
       (`set key="value";`).
       
      string sql_script = 105;
      Returns:
      The sqlScript.
    • getSqlScriptBytes

      com.google.protobuf.ByteString getSqlScriptBytes()
       The query text.
       The execution args are used to declare a set of script variables
       (`set key="value";`).
       
      string sql_script = 105;
      Returns:
      The bytes for sqlScript.
    • getFileUrisList

      List<String> getFileUrisList()
       Optional. Cloud Storage URIs of files to be placed in the working
       directory of each executor.
       
      repeated string file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the fileUris.
    • getFileUrisCount

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

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

      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 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fileUris at the given index.
    • getArchiveUrisList

      List<String> 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the archiveUris.
    • getArchiveUrisCount

      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of archiveUris.
    • getArchiveUris

      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The archiveUris at the given index.
    • getArchiveUrisBytes

      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the archiveUris at the given index.
    • hasInfrastructureSpec

      boolean hasInfrastructureSpec()
       Optional. Infrastructure specification for the execution.
       
      .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the infrastructureSpec field is set.
    • getInfrastructureSpec

      Task.InfrastructureSpec getInfrastructureSpec()
       Optional. Infrastructure specification for the execution.
       
      .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The infrastructureSpec.
    • getInfrastructureSpecOrBuilder

      Task.InfrastructureSpecOrBuilder getInfrastructureSpecOrBuilder()
       Optional. Infrastructure specification for the execution.
       
      .google.cloud.dataplex.v1.Task.InfrastructureSpec infrastructure_spec = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getDriverCase