Package com.google.cloud.dataplex.v1
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 Summary
Modifier and TypeMethodDescriptiongetArchiveUris(int index) Optional.com.google.protobuf.ByteStringgetArchiveUrisBytes(int index) Optional.intOptional.Optional.getFileUris(int index) Optional.com.google.protobuf.ByteStringgetFileUrisBytes(int index) Optional.intOptional.Optional.Optional.Optional.The name of the driver's main class.com.google.protobuf.ByteStringThe name of the driver's main class.The Cloud Storage URI of the jar file that contains the main class.com.google.protobuf.ByteStringThe Cloud Storage URI of the jar file that contains the main class.The Gcloud Storage URI of the main Python file to use as the driver.com.google.protobuf.ByteStringThe Gcloud Storage URI of the main Python file to use as the driver.The query text.com.google.protobuf.ByteStringThe query text.A reference to a query file.com.google.protobuf.ByteStringA reference to a query file.booleanOptional.booleanThe name of the driver's main class.booleanThe Cloud Storage URI of the jar file that contains the main class.booleanThe Gcloud Storage URI of the main Python file to use as the driver.booleanThe query text.booleanA reference to a query file.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
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
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
Task.SparkTaskConfig.DriverCase getDriverCase()
-