
com.google.cloud.dataproc.v1.HadoopJobOrBuilder 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/jobs.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;
public interface HadoopJobOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.HadoopJob)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The HCFS URI of the jar file containing the main class.
* Examples:
* 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
* 'hdfs:/tmp/test-samples/custom-wordcount.jar'
* 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
*
*
* string main_jar_file_uri = 1;
*
* @return Whether the mainJarFileUri field is set.
*/
boolean hasMainJarFileUri();
/**
*
*
*
* The HCFS URI of the jar file containing the main class.
* Examples:
* 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
* 'hdfs:/tmp/test-samples/custom-wordcount.jar'
* 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
*
*
* string main_jar_file_uri = 1;
*
* @return The mainJarFileUri.
*/
java.lang.String getMainJarFileUri();
/**
*
*
*
* The HCFS URI of the jar file containing the main class.
* Examples:
* 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
* 'hdfs:/tmp/test-samples/custom-wordcount.jar'
* 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
*
*
* string main_jar_file_uri = 1;
*
* @return The bytes for mainJarFileUri.
*/
com.google.protobuf.ByteString getMainJarFileUriBytes();
/**
*
*
*
* The name of the driver's main class. The jar file containing the class
* must be in the default CLASSPATH or specified in `jar_file_uris`.
*
*
* string main_class = 2;
*
* @return Whether the mainClass field is set.
*/
boolean hasMainClass();
/**
*
*
*
* The name of the driver's main class. The jar file containing the class
* must be in the default CLASSPATH or specified in `jar_file_uris`.
*
*
* string main_class = 2;
*
* @return The mainClass.
*/
java.lang.String getMainClass();
/**
*
*
*
* The name of the driver's main class. The jar file containing the class
* must be in the default CLASSPATH or specified in `jar_file_uris`.
*
*
* string main_class = 2;
*
* @return The bytes for mainClass.
*/
com.google.protobuf.ByteString getMainClassBytes();
/**
*
*
*
* Optional. The arguments to pass to the driver. Do not
* include arguments, such as `-libjars` or `-Dfoo=bar`, that can be set as
* job properties, since a collision might occur that causes an incorrect job
* submission.
*
*
* repeated string args = 3 [(.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, such as `-libjars` or `-Dfoo=bar`, that can be set as
* job properties, since a collision might occur that causes an incorrect job
* submission.
*
*
* repeated string args = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of args.
*/
int getArgsCount();
/**
*
*
*
* Optional. The arguments to pass to the driver. Do not
* include arguments, such as `-libjars` or `-Dfoo=bar`, that can be set as
* job properties, since a collision might occur that causes an incorrect job
* submission.
*
*
* repeated string args = 3 [(.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, such as `-libjars` or `-Dfoo=bar`, that can be set as
* job properties, since a collision might occur that causes an incorrect job
* submission.
*
*
* repeated string args = 3 [(.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. Jar file URIs to add to the CLASSPATHs of the
* Hadoop 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. Jar file URIs to add to the CLASSPATHs of the
* Hadoop driver and tasks.
*
*
* repeated string jar_file_uris = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of jarFileUris.
*/
int getJarFileUrisCount();
/**
*
*
*
* Optional. Jar file URIs to add to the CLASSPATHs of the
* Hadoop 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. Jar file URIs to add to the CLASSPATHs of the
* Hadoop 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 (Hadoop Compatible Filesystem) URIs of files to be copied
* to the working directory of Hadoop drivers and distributed tasks. Useful
* for naively parallel tasks.
*
*
* repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return A list containing the fileUris.
*/
java.util.List getFileUrisList();
/**
*
*
*
* Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied
* to the working directory of Hadoop drivers and distributed tasks. Useful
* for naively parallel tasks.
*
*
* repeated string file_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The count of fileUris.
*/
int getFileUrisCount();
/**
*
*
*
* Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied
* to the working directory of Hadoop drivers and distributed tasks. Useful
* for naively parallel tasks.
*
*
* 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 (Hadoop Compatible Filesystem) URIs of files to be copied
* to the working directory of Hadoop drivers and distributed tasks. Useful
* for naively parallel tasks.
*
*
* 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 in the working directory of
* Hadoop drivers and tasks. Supported file types:
* .jar, .tar, .tar.gz, .tgz, or .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 in the working directory of
* Hadoop drivers and tasks. Supported file types:
* .jar, .tar, .tar.gz, .tgz, or .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 in the working directory of
* Hadoop drivers and tasks. Supported file types:
* .jar, .tar, .tar.gz, .tgz, or .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 in the working directory of
* Hadoop drivers and tasks. Supported file types:
* .jar, .tar, .tar.gz, .tgz, or .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);
/**
*
*
*
* Optional. A mapping of property names to values, used to configure Hadoop.
* Properties that conflict with values set by the Dataproc API might be
* overwritten. Can include properties set in `/etc/hadoop/conf/*-site` and
* classes in user code.
*
*
* map<string, string> properties = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*/
int getPropertiesCount();
/**
*
*
*
* Optional. A mapping of property names to values, used to configure Hadoop.
* Properties that conflict with values set by the Dataproc API might be
* overwritten. Can include properties set in `/etc/hadoop/conf/*-site` and
* classes in user code.
*
*
* map<string, string> properties = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*/
boolean containsProperties(java.lang.String key);
/** Use {@link #getPropertiesMap()} instead. */
@java.lang.Deprecated
java.util.Map getProperties();
/**
*
*
*
* Optional. A mapping of property names to values, used to configure Hadoop.
* Properties that conflict with values set by the Dataproc API might be
* overwritten. Can include properties set in `/etc/hadoop/conf/*-site` and
* classes in user code.
*
*
* map<string, string> properties = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.Map getPropertiesMap();
/**
*
*
*
* Optional. A mapping of property names to values, used to configure Hadoop.
* Properties that conflict with values set by the Dataproc API might be
* overwritten. Can include properties set in `/etc/hadoop/conf/*-site` and
* classes in user code.
*
*
* map<string, string> properties = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*/
/* nullable */
java.lang.String getPropertiesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Optional. A mapping of property names to values, used to configure Hadoop.
* Properties that conflict with values set by the Dataproc API might be
* overwritten. Can include properties set in `/etc/hadoop/conf/*-site` and
* classes in user code.
*
*
* map<string, string> properties = 7 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.lang.String getPropertiesOrThrow(java.lang.String key);
/**
*
*
*
* Optional. The runtime log config for job execution.
*
*
*
* .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the loggingConfig field is set.
*/
boolean hasLoggingConfig();
/**
*
*
*
* Optional. The runtime log config for job execution.
*
*
*
* .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The loggingConfig.
*/
com.google.cloud.dataproc.v1.LoggingConfig getLoggingConfig();
/**
*
*
*
* Optional. The runtime log config for job execution.
*
*
*
* .google.cloud.dataproc.v1.LoggingConfig logging_config = 8 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.dataproc.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder();
com.google.cloud.dataproc.v1.HadoopJob.DriverCase getDriverCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy