
com.google.cloud.dataproc.v1.PySparkBatchOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
PROTO library for proto-google-cloud-dataproc-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataproc/v1/batches.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;
public interface PySparkBatchOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.PySparkBatch)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The HCFS URI of the main Python file to use as the Spark driver.
* Must be a .py file.
*
*
* string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The mainPythonFileUri.
*/
java.lang.String getMainPythonFileUri();
/**
*
*
*
* Required. The HCFS URI of the main Python file to use as the Spark driver.
* Must be a .py file.
*
*
* string main_python_file_uri = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for mainPythonFileUri.
*/
com.google.protobuf.ByteString getMainPythonFileUriBytes();
/**
*
*
*
* Optional. The arguments to pass to the driver. Do not include arguments
* that can be set as batch properties, such as `--conf`, since a collision
* can occur that causes an incorrect batch submission.
*
*
* repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the args.
*/
java.util.List getArgsList();
/**
*
*
*
* Optional. The arguments to pass to the driver. Do not include arguments
* that can be set as batch properties, such as `--conf`, since a collision
* can occur that causes an incorrect batch submission.
*
*
* repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of args.
*/
int getArgsCount();
/**
*
*
*
* Optional. The arguments to pass to the driver. Do not include arguments
* that can be set as batch properties, such as `--conf`, since a collision
* can occur that causes an incorrect batch submission.
*
*
* repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The args at the given index.
*/
java.lang.String getArgs(int index);
/**
*
*
*
* Optional. The arguments to pass to the driver. Do not include arguments
* that can be set as batch properties, such as `--conf`, since a collision
* can occur that causes an incorrect batch submission.
*
*
* repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the args at the given index.
*/
com.google.protobuf.ByteString getArgsBytes(int index);
/**
*
*
*
* Optional. HCFS file URIs of Python files to pass to the PySpark
* framework. Supported file types: `.py`, `.egg`, and `.zip`.
*
*
* repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the pythonFileUris.
*/
java.util.List getPythonFileUrisList();
/**
*
*
*
* Optional. HCFS file URIs of Python files to pass to the PySpark
* framework. Supported file types: `.py`, `.egg`, and `.zip`.
*
*
* repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of pythonFileUris.
*/
int getPythonFileUrisCount();
/**
*
*
*
* Optional. HCFS file URIs of Python files to pass to the PySpark
* framework. Supported file types: `.py`, `.egg`, and `.zip`.
*
*
* repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The pythonFileUris at the given index.
*/
java.lang.String getPythonFileUris(int index);
/**
*
*
*
* Optional. HCFS file URIs of Python files to pass to the PySpark
* framework. Supported file types: `.py`, `.egg`, and `.zip`.
*
*
* repeated string python_file_uris = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the pythonFileUris at the given index.
*/
com.google.protobuf.ByteString getPythonFileUrisBytes(int index);
/**
*
*
*
* Optional. HCFS URIs of jar files to add to the classpath of the
* Spark driver and tasks.
*
*
* repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the jarFileUris.
*/
java.util.List getJarFileUrisList();
/**
*
*
*
* Optional. HCFS URIs of jar files to add to the classpath of the
* Spark driver and tasks.
*
*
* repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of jarFileUris.
*/
int getJarFileUrisCount();
/**
*
*
*
* Optional. HCFS URIs of jar files to add to the classpath of the
* Spark driver and tasks.
*
*
* repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The jarFileUris at the given index.
*/
java.lang.String getJarFileUris(int index);
/**
*
*
*
* Optional. HCFS URIs of jar files to add to the classpath of the
* Spark driver and tasks.
*
*
* repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the jarFileUris at the given index.
*/
com.google.protobuf.ByteString getJarFileUrisBytes(int index);
/**
*
*
*
* Optional. HCFS URIs of files to be placed in the working directory of
* each executor.
*
*
* repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the fileUris.
*/
java.util.List getFileUrisList();
/**
*
*
*
* Optional. HCFS URIs of files to be placed in the working directory of
* each executor.
*
*
* repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of fileUris.
*/
int getFileUrisCount();
/**
*
*
*
* Optional. HCFS URIs of files to be placed in the working directory of
* each executor.
*
*
* repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the element to return.
* @return The fileUris at the given index.
*/
java.lang.String getFileUris(int index);
/**
*
*
*
* Optional. HCFS URIs of files to be placed in the working directory of
* each executor.
*
*
* repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @param index The index of the value to return.
* @return The bytes of the fileUris at the given index.
*/
com.google.protobuf.ByteString getFileUrisBytes(int index);
/**
*
*
*
* Optional. HCFS 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];
*
* @return A list containing the archiveUris.
*/
java.util.List getArchiveUrisList();
/**
*
*
*
* Optional. HCFS 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];
*
* @return The count of archiveUris.
*/
int getArchiveUrisCount();
/**
*
*
*
* Optional. HCFS 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];
*
* @param index The index of the element to return.
* @return The archiveUris at the given index.
*/
java.lang.String getArchiveUris(int index);
/**
*
*
*
* Optional. HCFS 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];
*
* @param index The index of the value to return.
* @return The bytes of the archiveUris at the given index.
*/
com.google.protobuf.ByteString getArchiveUrisBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy