Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit fcc06cd

Browse files
Merge c813e71 into 4bec269
2 parents 4bec269 + c813e71 commit fcc06cd

25 files changed

+697
-5
lines changed

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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
*

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@ public interface HadoopJobOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.HadoopJob)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The HCFS URI of the jar file containing the main class.
31+
* Examples:
32+
* 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
33+
* 'hdfs:/tmp/test-samples/custom-wordcount.jar'
34+
* 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
35+
* </pre>
36+
*
37+
* <code>string main_jar_file_uri = 1;</code>
38+
*
39+
* @return Whether the mainJarFileUri field is set.
40+
*/
41+
boolean hasMainJarFileUri();
2642
/**
2743
*
2844
*
@@ -56,6 +72,19 @@ public interface HadoopJobOrBuilder
5672
*/
5773
com.google.protobuf.ByteString getMainJarFileUriBytes();
5874

75+
/**
76+
*
77+
*
78+
* <pre>
79+
* The name of the driver's main class. The jar file containing the class
80+
* must be in the default CLASSPATH or specified in `jar_file_uris`.
81+
* </pre>
82+
*
83+
* <code>string main_class = 2;</code>
84+
*
85+
* @return Whether the mainClass field is set.
86+
*/
87+
boolean hasMainClass();
5988
/**
6089
*
6190
*

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,20 @@ public QueriesCase getQueriesCase() {
240240
}
241241

242242
public static final int QUERY_FILE_URI_FIELD_NUMBER = 1;
243+
/**
244+
*
245+
*
246+
* <pre>
247+
* The HCFS URI of the script that contains Hive queries.
248+
* </pre>
249+
*
250+
* <code>string query_file_uri = 1;</code>
251+
*
252+
* @return Whether the queryFileUri field is set.
253+
*/
254+
public boolean hasQueryFileUri() {
255+
return queriesCase_ == 1;
256+
}
243257
/**
244258
*
245259
*
@@ -1156,6 +1170,21 @@ public Builder clearQueries() {
11561170

11571171
private int bitField0_;
11581172

1173+
/**
1174+
*
1175+
*
1176+
* <pre>
1177+
* The HCFS URI of the script that contains Hive queries.
1178+
* </pre>
1179+
*
1180+
* <code>string query_file_uri = 1;</code>
1181+
*
1182+
* @return Whether the queryFileUri field is set.
1183+
*/
1184+
@java.lang.Override
1185+
public boolean hasQueryFileUri() {
1186+
return queriesCase_ == 1;
1187+
}
11591188
/**
11601189
*
11611190
*

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface HiveJobOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.HiveJob)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The HCFS URI of the script that contains Hive queries.
31+
* </pre>
32+
*
33+
* <code>string query_file_uri = 1;</code>
34+
*
35+
* @return Whether the queryFileUri field is set.
36+
*/
37+
boolean hasQueryFileUri();
2638
/**
2739
*
2840
*

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,20 @@ public QueriesCase getQueriesCase() {
256256
}
257257

258258
public static final int QUERY_FILE_URI_FIELD_NUMBER = 1;
259+
/**
260+
*
261+
*
262+
* <pre>
263+
* The HCFS URI of the script that contains the Pig queries.
264+
* </pre>
265+
*
266+
* <code>string query_file_uri = 1;</code>
267+
*
268+
* @return Whether the queryFileUri field is set.
269+
*/
270+
public boolean hasQueryFileUri() {
271+
return queriesCase_ == 1;
272+
}
259273
/**
260274
*
261275
*
@@ -1250,6 +1264,21 @@ public Builder clearQueries() {
12501264

12511265
private int bitField0_;
12521266

1267+
/**
1268+
*
1269+
*
1270+
* <pre>
1271+
* The HCFS URI of the script that contains the Pig queries.
1272+
* </pre>
1273+
*
1274+
* <code>string query_file_uri = 1;</code>
1275+
*
1276+
* @return Whether the queryFileUri field is set.
1277+
*/
1278+
@java.lang.Override
1279+
public boolean hasQueryFileUri() {
1280+
return queriesCase_ == 1;
1281+
}
12531282
/**
12541283
*
12551284
*

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface PigJobOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.PigJob)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The HCFS URI of the script that contains the Pig queries.
31+
* </pre>
32+
*
33+
* <code>string query_file_uri = 1;</code>
34+
*
35+
* @return Whether the queryFileUri field is set.
36+
*/
37+
boolean hasQueryFileUri();
2638
/**
2739
*
2840
*

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJob.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,20 @@ public QueriesCase getQueriesCase() {
248248
}
249249

250250
public static final int QUERY_FILE_URI_FIELD_NUMBER = 1;
251+
/**
252+
*
253+
*
254+
* <pre>
255+
* The HCFS URI of the script that contains SQL queries.
256+
* </pre>
257+
*
258+
* <code>string query_file_uri = 1;</code>
259+
*
260+
* @return Whether the queryFileUri field is set.
261+
*/
262+
public boolean hasQueryFileUri() {
263+
return queriesCase_ == 1;
264+
}
251265
/**
252266
*
253267
*
@@ -1172,6 +1186,21 @@ public Builder clearQueries() {
11721186

11731187
private int bitField0_;
11741188

1189+
/**
1190+
*
1191+
*
1192+
* <pre>
1193+
* The HCFS URI of the script that contains SQL queries.
1194+
* </pre>
1195+
*
1196+
* <code>string query_file_uri = 1;</code>
1197+
*
1198+
* @return Whether the queryFileUri field is set.
1199+
*/
1200+
@java.lang.Override
1201+
public boolean hasQueryFileUri() {
1202+
return queriesCase_ == 1;
1203+
}
11751204
/**
11761205
*
11771206
*

proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJobOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface PrestoJobOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.PrestoJob)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* The HCFS URI of the script that contains SQL queries.
31+
* </pre>
32+
*
33+
* <code>string query_file_uri = 1;</code>
34+
*
35+
* @return Whether the queryFileUri field is set.
36+
*/
37+
boolean hasQueryFileUri();
2638
/**
2739
*
2840
*

0 commit comments

Comments
 (0)