@@ -268,6 +268,24 @@ public DriverCase getDriverCase() {
268268 }
269269
270270 public static final int MAIN_JAR_FILE_URI_FIELD_NUMBER = 1 ;
271+ /**
272+ *
273+ *
274+ * <pre>
275+ * The HCFS URI of the jar file containing the main class.
276+ * Examples:
277+ * 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
278+ * 'hdfs:/tmp/test-samples/custom-wordcount.jar'
279+ * 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
280+ * </pre>
281+ *
282+ * <code>string main_jar_file_uri = 1;</code>
283+ *
284+ * @return Whether the mainJarFileUri field is set.
285+ */
286+ public boolean hasMainJarFileUri () {
287+ return driverCase_ == 1 ;
288+ }
271289 /**
272290 *
273291 *
@@ -332,6 +350,21 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() {
332350 }
333351
334352 public static final int MAIN_CLASS_FIELD_NUMBER = 2 ;
353+ /**
354+ *
355+ *
356+ * <pre>
357+ * The name of the driver's main class. The jar file containing the class
358+ * must be in the default CLASSPATH or specified in `jar_file_uris`.
359+ * </pre>
360+ *
361+ * <code>string main_class = 2;</code>
362+ *
363+ * @return Whether the mainClass field is set.
364+ */
365+ public boolean hasMainClass () {
366+ return driverCase_ == 2 ;
367+ }
335368 /**
336369 *
337370 *
@@ -1419,6 +1452,25 @@ public Builder clearDriver() {
14191452
14201453 private int bitField0_ ;
14211454
1455+ /**
1456+ *
1457+ *
1458+ * <pre>
1459+ * The HCFS URI of the jar file containing the main class.
1460+ * Examples:
1461+ * 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
1462+ * 'hdfs:/tmp/test-samples/custom-wordcount.jar'
1463+ * 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
1464+ * </pre>
1465+ *
1466+ * <code>string main_jar_file_uri = 1;</code>
1467+ *
1468+ * @return Whether the mainJarFileUri field is set.
1469+ */
1470+ @ java .lang .Override
1471+ public boolean hasMainJarFileUri () {
1472+ return driverCase_ == 1 ;
1473+ }
14221474 /**
14231475 *
14241476 *
@@ -1558,6 +1610,22 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) {
15581610 return this ;
15591611 }
15601612
1613+ /**
1614+ *
1615+ *
1616+ * <pre>
1617+ * The name of the driver's main class. The jar file containing the class
1618+ * must be in the default CLASSPATH or specified in `jar_file_uris`.
1619+ * </pre>
1620+ *
1621+ * <code>string main_class = 2;</code>
1622+ *
1623+ * @return Whether the mainClass field is set.
1624+ */
1625+ @ java .lang .Override
1626+ public boolean hasMainClass () {
1627+ return driverCase_ == 2 ;
1628+ }
15611629 /**
15621630 *
15631631 *
0 commit comments