• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/dataproc/v1/jobs.proto
18 
19 package com.google.cloud.dataproc.v1;
20 
21 public interface JobOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.Job)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Optional. The fully qualified reference to the job, which can be used to
31    * obtain the equivalent REST path of the job resource. If this property
32    * is not specified when a job is created, the server generates a
33    * &lt;code&gt;job_id&lt;/code&gt;.
34    * </pre>
35    *
36    * <code>
37    * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
38    * </code>
39    *
40    * @return Whether the reference field is set.
41    */
hasReference()42   boolean hasReference();
43   /**
44    *
45    *
46    * <pre>
47    * Optional. The fully qualified reference to the job, which can be used to
48    * obtain the equivalent REST path of the job resource. If this property
49    * is not specified when a job is created, the server generates a
50    * &lt;code&gt;job_id&lt;/code&gt;.
51    * </pre>
52    *
53    * <code>
54    * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
55    * </code>
56    *
57    * @return The reference.
58    */
getReference()59   com.google.cloud.dataproc.v1.JobReference getReference();
60   /**
61    *
62    *
63    * <pre>
64    * Optional. The fully qualified reference to the job, which can be used to
65    * obtain the equivalent REST path of the job resource. If this property
66    * is not specified when a job is created, the server generates a
67    * &lt;code&gt;job_id&lt;/code&gt;.
68    * </pre>
69    *
70    * <code>
71    * .google.cloud.dataproc.v1.JobReference reference = 1 [(.google.api.field_behavior) = OPTIONAL];
72    * </code>
73    */
getReferenceOrBuilder()74   com.google.cloud.dataproc.v1.JobReferenceOrBuilder getReferenceOrBuilder();
75 
76   /**
77    *
78    *
79    * <pre>
80    * Required. Job information, including how, when, and where to
81    * run the job.
82    * </pre>
83    *
84    * <code>
85    * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
86    * </code>
87    *
88    * @return Whether the placement field is set.
89    */
hasPlacement()90   boolean hasPlacement();
91   /**
92    *
93    *
94    * <pre>
95    * Required. Job information, including how, when, and where to
96    * run the job.
97    * </pre>
98    *
99    * <code>
100    * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
101    * </code>
102    *
103    * @return The placement.
104    */
getPlacement()105   com.google.cloud.dataproc.v1.JobPlacement getPlacement();
106   /**
107    *
108    *
109    * <pre>
110    * Required. Job information, including how, when, and where to
111    * run the job.
112    * </pre>
113    *
114    * <code>
115    * .google.cloud.dataproc.v1.JobPlacement placement = 2 [(.google.api.field_behavior) = REQUIRED];
116    * </code>
117    */
getPlacementOrBuilder()118   com.google.cloud.dataproc.v1.JobPlacementOrBuilder getPlacementOrBuilder();
119 
120   /**
121    *
122    *
123    * <pre>
124    * Optional. Job is a Hadoop job.
125    * </pre>
126    *
127    * <code>
128    * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
129    * </code>
130    *
131    * @return Whether the hadoopJob field is set.
132    */
hasHadoopJob()133   boolean hasHadoopJob();
134   /**
135    *
136    *
137    * <pre>
138    * Optional. Job is a Hadoop job.
139    * </pre>
140    *
141    * <code>
142    * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
143    * </code>
144    *
145    * @return The hadoopJob.
146    */
getHadoopJob()147   com.google.cloud.dataproc.v1.HadoopJob getHadoopJob();
148   /**
149    *
150    *
151    * <pre>
152    * Optional. Job is a Hadoop job.
153    * </pre>
154    *
155    * <code>
156    * .google.cloud.dataproc.v1.HadoopJob hadoop_job = 3 [(.google.api.field_behavior) = OPTIONAL];
157    * </code>
158    */
getHadoopJobOrBuilder()159   com.google.cloud.dataproc.v1.HadoopJobOrBuilder getHadoopJobOrBuilder();
160 
161   /**
162    *
163    *
164    * <pre>
165    * Optional. Job is a Spark job.
166    * </pre>
167    *
168    * <code>
169    * .google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
170    * </code>
171    *
172    * @return Whether the sparkJob field is set.
173    */
hasSparkJob()174   boolean hasSparkJob();
175   /**
176    *
177    *
178    * <pre>
179    * Optional. Job is a Spark job.
180    * </pre>
181    *
182    * <code>
183    * .google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
184    * </code>
185    *
186    * @return The sparkJob.
187    */
getSparkJob()188   com.google.cloud.dataproc.v1.SparkJob getSparkJob();
189   /**
190    *
191    *
192    * <pre>
193    * Optional. Job is a Spark job.
194    * </pre>
195    *
196    * <code>
197    * .google.cloud.dataproc.v1.SparkJob spark_job = 4 [(.google.api.field_behavior) = OPTIONAL];
198    * </code>
199    */
getSparkJobOrBuilder()200   com.google.cloud.dataproc.v1.SparkJobOrBuilder getSparkJobOrBuilder();
201 
202   /**
203    *
204    *
205    * <pre>
206    * Optional. Job is a PySpark job.
207    * </pre>
208    *
209    * <code>
210    * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
211    * </code>
212    *
213    * @return Whether the pysparkJob field is set.
214    */
hasPysparkJob()215   boolean hasPysparkJob();
216   /**
217    *
218    *
219    * <pre>
220    * Optional. Job is a PySpark job.
221    * </pre>
222    *
223    * <code>
224    * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
225    * </code>
226    *
227    * @return The pysparkJob.
228    */
getPysparkJob()229   com.google.cloud.dataproc.v1.PySparkJob getPysparkJob();
230   /**
231    *
232    *
233    * <pre>
234    * Optional. Job is a PySpark job.
235    * </pre>
236    *
237    * <code>
238    * .google.cloud.dataproc.v1.PySparkJob pyspark_job = 5 [(.google.api.field_behavior) = OPTIONAL];
239    * </code>
240    */
getPysparkJobOrBuilder()241   com.google.cloud.dataproc.v1.PySparkJobOrBuilder getPysparkJobOrBuilder();
242 
243   /**
244    *
245    *
246    * <pre>
247    * Optional. Job is a Hive job.
248    * </pre>
249    *
250    * <code>.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
251    * </code>
252    *
253    * @return Whether the hiveJob field is set.
254    */
hasHiveJob()255   boolean hasHiveJob();
256   /**
257    *
258    *
259    * <pre>
260    * Optional. Job is a Hive job.
261    * </pre>
262    *
263    * <code>.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
264    * </code>
265    *
266    * @return The hiveJob.
267    */
getHiveJob()268   com.google.cloud.dataproc.v1.HiveJob getHiveJob();
269   /**
270    *
271    *
272    * <pre>
273    * Optional. Job is a Hive job.
274    * </pre>
275    *
276    * <code>.google.cloud.dataproc.v1.HiveJob hive_job = 6 [(.google.api.field_behavior) = OPTIONAL];
277    * </code>
278    */
getHiveJobOrBuilder()279   com.google.cloud.dataproc.v1.HiveJobOrBuilder getHiveJobOrBuilder();
280 
281   /**
282    *
283    *
284    * <pre>
285    * Optional. Job is a Pig job.
286    * </pre>
287    *
288    * <code>.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
289    * </code>
290    *
291    * @return Whether the pigJob field is set.
292    */
hasPigJob()293   boolean hasPigJob();
294   /**
295    *
296    *
297    * <pre>
298    * Optional. Job is a Pig job.
299    * </pre>
300    *
301    * <code>.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
302    * </code>
303    *
304    * @return The pigJob.
305    */
getPigJob()306   com.google.cloud.dataproc.v1.PigJob getPigJob();
307   /**
308    *
309    *
310    * <pre>
311    * Optional. Job is a Pig job.
312    * </pre>
313    *
314    * <code>.google.cloud.dataproc.v1.PigJob pig_job = 7 [(.google.api.field_behavior) = OPTIONAL];
315    * </code>
316    */
getPigJobOrBuilder()317   com.google.cloud.dataproc.v1.PigJobOrBuilder getPigJobOrBuilder();
318 
319   /**
320    *
321    *
322    * <pre>
323    * Optional. Job is a SparkR job.
324    * </pre>
325    *
326    * <code>
327    * .google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
328    * </code>
329    *
330    * @return Whether the sparkRJob field is set.
331    */
hasSparkRJob()332   boolean hasSparkRJob();
333   /**
334    *
335    *
336    * <pre>
337    * Optional. Job is a SparkR job.
338    * </pre>
339    *
340    * <code>
341    * .google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
342    * </code>
343    *
344    * @return The sparkRJob.
345    */
getSparkRJob()346   com.google.cloud.dataproc.v1.SparkRJob getSparkRJob();
347   /**
348    *
349    *
350    * <pre>
351    * Optional. Job is a SparkR job.
352    * </pre>
353    *
354    * <code>
355    * .google.cloud.dataproc.v1.SparkRJob spark_r_job = 21 [(.google.api.field_behavior) = OPTIONAL];
356    * </code>
357    */
getSparkRJobOrBuilder()358   com.google.cloud.dataproc.v1.SparkRJobOrBuilder getSparkRJobOrBuilder();
359 
360   /**
361    *
362    *
363    * <pre>
364    * Optional. Job is a SparkSql job.
365    * </pre>
366    *
367    * <code>
368    * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
369    * </code>
370    *
371    * @return Whether the sparkSqlJob field is set.
372    */
hasSparkSqlJob()373   boolean hasSparkSqlJob();
374   /**
375    *
376    *
377    * <pre>
378    * Optional. Job is a SparkSql job.
379    * </pre>
380    *
381    * <code>
382    * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
383    * </code>
384    *
385    * @return The sparkSqlJob.
386    */
getSparkSqlJob()387   com.google.cloud.dataproc.v1.SparkSqlJob getSparkSqlJob();
388   /**
389    *
390    *
391    * <pre>
392    * Optional. Job is a SparkSql job.
393    * </pre>
394    *
395    * <code>
396    * .google.cloud.dataproc.v1.SparkSqlJob spark_sql_job = 12 [(.google.api.field_behavior) = OPTIONAL];
397    * </code>
398    */
getSparkSqlJobOrBuilder()399   com.google.cloud.dataproc.v1.SparkSqlJobOrBuilder getSparkSqlJobOrBuilder();
400 
401   /**
402    *
403    *
404    * <pre>
405    * Optional. Job is a Presto job.
406    * </pre>
407    *
408    * <code>
409    * .google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
410    * </code>
411    *
412    * @return Whether the prestoJob field is set.
413    */
hasPrestoJob()414   boolean hasPrestoJob();
415   /**
416    *
417    *
418    * <pre>
419    * Optional. Job is a Presto job.
420    * </pre>
421    *
422    * <code>
423    * .google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
424    * </code>
425    *
426    * @return The prestoJob.
427    */
getPrestoJob()428   com.google.cloud.dataproc.v1.PrestoJob getPrestoJob();
429   /**
430    *
431    *
432    * <pre>
433    * Optional. Job is a Presto job.
434    * </pre>
435    *
436    * <code>
437    * .google.cloud.dataproc.v1.PrestoJob presto_job = 23 [(.google.api.field_behavior) = OPTIONAL];
438    * </code>
439    */
getPrestoJobOrBuilder()440   com.google.cloud.dataproc.v1.PrestoJobOrBuilder getPrestoJobOrBuilder();
441 
442   /**
443    *
444    *
445    * <pre>
446    * Optional. Job is a Trino job.
447    * </pre>
448    *
449    * <code>
450    * .google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
451    * </code>
452    *
453    * @return Whether the trinoJob field is set.
454    */
hasTrinoJob()455   boolean hasTrinoJob();
456   /**
457    *
458    *
459    * <pre>
460    * Optional. Job is a Trino job.
461    * </pre>
462    *
463    * <code>
464    * .google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
465    * </code>
466    *
467    * @return The trinoJob.
468    */
getTrinoJob()469   com.google.cloud.dataproc.v1.TrinoJob getTrinoJob();
470   /**
471    *
472    *
473    * <pre>
474    * Optional. Job is a Trino job.
475    * </pre>
476    *
477    * <code>
478    * .google.cloud.dataproc.v1.TrinoJob trino_job = 28 [(.google.api.field_behavior) = OPTIONAL];
479    * </code>
480    */
getTrinoJobOrBuilder()481   com.google.cloud.dataproc.v1.TrinoJobOrBuilder getTrinoJobOrBuilder();
482 
483   /**
484    *
485    *
486    * <pre>
487    * Output only. The job status. Additional application-specific
488    * status information may be contained in the &lt;code&gt;type_job&lt;/code&gt;
489    * and &lt;code&gt;yarn_applications&lt;/code&gt; fields.
490    * </pre>
491    *
492    * <code>
493    * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
494    * </code>
495    *
496    * @return Whether the status field is set.
497    */
hasStatus()498   boolean hasStatus();
499   /**
500    *
501    *
502    * <pre>
503    * Output only. The job status. Additional application-specific
504    * status information may be contained in the &lt;code&gt;type_job&lt;/code&gt;
505    * and &lt;code&gt;yarn_applications&lt;/code&gt; fields.
506    * </pre>
507    *
508    * <code>
509    * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
510    * </code>
511    *
512    * @return The status.
513    */
getStatus()514   com.google.cloud.dataproc.v1.JobStatus getStatus();
515   /**
516    *
517    *
518    * <pre>
519    * Output only. The job status. Additional application-specific
520    * status information may be contained in the &lt;code&gt;type_job&lt;/code&gt;
521    * and &lt;code&gt;yarn_applications&lt;/code&gt; fields.
522    * </pre>
523    *
524    * <code>
525    * .google.cloud.dataproc.v1.JobStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
526    * </code>
527    */
getStatusOrBuilder()528   com.google.cloud.dataproc.v1.JobStatusOrBuilder getStatusOrBuilder();
529 
530   /**
531    *
532    *
533    * <pre>
534    * Output only. The previous job status.
535    * </pre>
536    *
537    * <code>
538    * repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
539    * </code>
540    */
getStatusHistoryList()541   java.util.List<com.google.cloud.dataproc.v1.JobStatus> getStatusHistoryList();
542   /**
543    *
544    *
545    * <pre>
546    * Output only. The previous job status.
547    * </pre>
548    *
549    * <code>
550    * repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
551    * </code>
552    */
getStatusHistory(int index)553   com.google.cloud.dataproc.v1.JobStatus getStatusHistory(int index);
554   /**
555    *
556    *
557    * <pre>
558    * Output only. The previous job status.
559    * </pre>
560    *
561    * <code>
562    * repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
563    * </code>
564    */
getStatusHistoryCount()565   int getStatusHistoryCount();
566   /**
567    *
568    *
569    * <pre>
570    * Output only. The previous job status.
571    * </pre>
572    *
573    * <code>
574    * repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
575    * </code>
576    */
577   java.util.List<? extends com.google.cloud.dataproc.v1.JobStatusOrBuilder>
getStatusHistoryOrBuilderList()578       getStatusHistoryOrBuilderList();
579   /**
580    *
581    *
582    * <pre>
583    * Output only. The previous job status.
584    * </pre>
585    *
586    * <code>
587    * repeated .google.cloud.dataproc.v1.JobStatus status_history = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
588    * </code>
589    */
getStatusHistoryOrBuilder(int index)590   com.google.cloud.dataproc.v1.JobStatusOrBuilder getStatusHistoryOrBuilder(int index);
591 
592   /**
593    *
594    *
595    * <pre>
596    * Output only. The collection of YARN applications spun up by this job.
597    * **Beta** Feature: This report is available for testing purposes only. It
598    * may be changed before final release.
599    * </pre>
600    *
601    * <code>
602    * repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
603    * </code>
604    */
getYarnApplicationsList()605   java.util.List<com.google.cloud.dataproc.v1.YarnApplication> getYarnApplicationsList();
606   /**
607    *
608    *
609    * <pre>
610    * Output only. The collection of YARN applications spun up by this job.
611    * **Beta** Feature: This report is available for testing purposes only. It
612    * may be changed before final release.
613    * </pre>
614    *
615    * <code>
616    * repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
617    * </code>
618    */
getYarnApplications(int index)619   com.google.cloud.dataproc.v1.YarnApplication getYarnApplications(int index);
620   /**
621    *
622    *
623    * <pre>
624    * Output only. The collection of YARN applications spun up by this job.
625    * **Beta** Feature: This report is available for testing purposes only. It
626    * may be changed before final release.
627    * </pre>
628    *
629    * <code>
630    * repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
631    * </code>
632    */
getYarnApplicationsCount()633   int getYarnApplicationsCount();
634   /**
635    *
636    *
637    * <pre>
638    * Output only. The collection of YARN applications spun up by this job.
639    * **Beta** Feature: This report is available for testing purposes only. It
640    * may be changed before final release.
641    * </pre>
642    *
643    * <code>
644    * repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
645    * </code>
646    */
647   java.util.List<? extends com.google.cloud.dataproc.v1.YarnApplicationOrBuilder>
getYarnApplicationsOrBuilderList()648       getYarnApplicationsOrBuilderList();
649   /**
650    *
651    *
652    * <pre>
653    * Output only. The collection of YARN applications spun up by this job.
654    * **Beta** Feature: This report is available for testing purposes only. It
655    * may be changed before final release.
656    * </pre>
657    *
658    * <code>
659    * repeated .google.cloud.dataproc.v1.YarnApplication yarn_applications = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
660    * </code>
661    */
getYarnApplicationsOrBuilder(int index)662   com.google.cloud.dataproc.v1.YarnApplicationOrBuilder getYarnApplicationsOrBuilder(int index);
663 
664   /**
665    *
666    *
667    * <pre>
668    * Output only. A URI pointing to the location of the stdout of the job's
669    * driver program.
670    * </pre>
671    *
672    * <code>string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
673    * </code>
674    *
675    * @return The driverOutputResourceUri.
676    */
getDriverOutputResourceUri()677   java.lang.String getDriverOutputResourceUri();
678   /**
679    *
680    *
681    * <pre>
682    * Output only. A URI pointing to the location of the stdout of the job's
683    * driver program.
684    * </pre>
685    *
686    * <code>string driver_output_resource_uri = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
687    * </code>
688    *
689    * @return The bytes for driverOutputResourceUri.
690    */
getDriverOutputResourceUriBytes()691   com.google.protobuf.ByteString getDriverOutputResourceUriBytes();
692 
693   /**
694    *
695    *
696    * <pre>
697    * Output only. If present, the location of miscellaneous control files
698    * which may be used as part of job setup and handling. If not present,
699    * control files may be placed in the same location as `driver_output_uri`.
700    * </pre>
701    *
702    * <code>string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
703    *
704    * @return The driverControlFilesUri.
705    */
getDriverControlFilesUri()706   java.lang.String getDriverControlFilesUri();
707   /**
708    *
709    *
710    * <pre>
711    * Output only. If present, the location of miscellaneous control files
712    * which may be used as part of job setup and handling. If not present,
713    * control files may be placed in the same location as `driver_output_uri`.
714    * </pre>
715    *
716    * <code>string driver_control_files_uri = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
717    *
718    * @return The bytes for driverControlFilesUri.
719    */
getDriverControlFilesUriBytes()720   com.google.protobuf.ByteString getDriverControlFilesUriBytes();
721 
722   /**
723    *
724    *
725    * <pre>
726    * Optional. The labels to associate with this job.
727    * Label **keys** must contain 1 to 63 characters, and must conform to
728    * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
729    * Label **values** may be empty, but, if present, must contain 1 to 63
730    * characters, and must conform to [RFC
731    * 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
732    * associated with a job.
733    * </pre>
734    *
735    * <code>map&lt;string, string&gt; labels = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
736    */
getLabelsCount()737   int getLabelsCount();
738   /**
739    *
740    *
741    * <pre>
742    * Optional. The labels to associate with this job.
743    * Label **keys** must contain 1 to 63 characters, and must conform to
744    * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
745    * Label **values** may be empty, but, if present, must contain 1 to 63
746    * characters, and must conform to [RFC
747    * 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
748    * associated with a job.
749    * </pre>
750    *
751    * <code>map&lt;string, string&gt; labels = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
752    */
containsLabels(java.lang.String key)753   boolean containsLabels(java.lang.String key);
754   /** Use {@link #getLabelsMap()} instead. */
755   @java.lang.Deprecated
getLabels()756   java.util.Map<java.lang.String, java.lang.String> getLabels();
757   /**
758    *
759    *
760    * <pre>
761    * Optional. The labels to associate with this job.
762    * Label **keys** must contain 1 to 63 characters, and must conform to
763    * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
764    * Label **values** may be empty, but, if present, must contain 1 to 63
765    * characters, and must conform to [RFC
766    * 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
767    * associated with a job.
768    * </pre>
769    *
770    * <code>map&lt;string, string&gt; labels = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
771    */
getLabelsMap()772   java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
773   /**
774    *
775    *
776    * <pre>
777    * Optional. The labels to associate with this job.
778    * Label **keys** must contain 1 to 63 characters, and must conform to
779    * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
780    * Label **values** may be empty, but, if present, must contain 1 to 63
781    * characters, and must conform to [RFC
782    * 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
783    * associated with a job.
784    * </pre>
785    *
786    * <code>map&lt;string, string&gt; labels = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
787    */
788   /* nullable */
getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)789   java.lang.String getLabelsOrDefault(
790       java.lang.String key,
791       /* nullable */
792       java.lang.String defaultValue);
793   /**
794    *
795    *
796    * <pre>
797    * Optional. The labels to associate with this job.
798    * Label **keys** must contain 1 to 63 characters, and must conform to
799    * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
800    * Label **values** may be empty, but, if present, must contain 1 to 63
801    * characters, and must conform to [RFC
802    * 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
803    * associated with a job.
804    * </pre>
805    *
806    * <code>map&lt;string, string&gt; labels = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
807    */
getLabelsOrThrow(java.lang.String key)808   java.lang.String getLabelsOrThrow(java.lang.String key);
809 
810   /**
811    *
812    *
813    * <pre>
814    * Optional. Job scheduling configuration.
815    * </pre>
816    *
817    * <code>
818    * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
819    * </code>
820    *
821    * @return Whether the scheduling field is set.
822    */
hasScheduling()823   boolean hasScheduling();
824   /**
825    *
826    *
827    * <pre>
828    * Optional. Job scheduling configuration.
829    * </pre>
830    *
831    * <code>
832    * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
833    * </code>
834    *
835    * @return The scheduling.
836    */
getScheduling()837   com.google.cloud.dataproc.v1.JobScheduling getScheduling();
838   /**
839    *
840    *
841    * <pre>
842    * Optional. Job scheduling configuration.
843    * </pre>
844    *
845    * <code>
846    * .google.cloud.dataproc.v1.JobScheduling scheduling = 20 [(.google.api.field_behavior) = OPTIONAL];
847    * </code>
848    */
getSchedulingOrBuilder()849   com.google.cloud.dataproc.v1.JobSchedulingOrBuilder getSchedulingOrBuilder();
850 
851   /**
852    *
853    *
854    * <pre>
855    * Output only. A UUID that uniquely identifies a job within the project
856    * over time. This is in contrast to a user-settable reference.job_id that
857    * may be reused over time.
858    * </pre>
859    *
860    * <code>string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
861    *
862    * @return The jobUuid.
863    */
getJobUuid()864   java.lang.String getJobUuid();
865   /**
866    *
867    *
868    * <pre>
869    * Output only. A UUID that uniquely identifies a job within the project
870    * over time. This is in contrast to a user-settable reference.job_id that
871    * may be reused over time.
872    * </pre>
873    *
874    * <code>string job_uuid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
875    *
876    * @return The bytes for jobUuid.
877    */
getJobUuidBytes()878   com.google.protobuf.ByteString getJobUuidBytes();
879 
880   /**
881    *
882    *
883    * <pre>
884    * Output only. Indicates whether the job is completed. If the value is
885    * `false`, the job is still in progress. If `true`, the job is completed, and
886    * `status.state` field will indicate if it was successful, failed,
887    * or cancelled.
888    * </pre>
889    *
890    * <code>bool done = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
891    *
892    * @return The done.
893    */
getDone()894   boolean getDone();
895 
896   /**
897    *
898    *
899    * <pre>
900    * Optional. Driver scheduling configuration.
901    * </pre>
902    *
903    * <code>
904    * .google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
905    * </code>
906    *
907    * @return Whether the driverSchedulingConfig field is set.
908    */
hasDriverSchedulingConfig()909   boolean hasDriverSchedulingConfig();
910   /**
911    *
912    *
913    * <pre>
914    * Optional. Driver scheduling configuration.
915    * </pre>
916    *
917    * <code>
918    * .google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
919    * </code>
920    *
921    * @return The driverSchedulingConfig.
922    */
getDriverSchedulingConfig()923   com.google.cloud.dataproc.v1.DriverSchedulingConfig getDriverSchedulingConfig();
924   /**
925    *
926    *
927    * <pre>
928    * Optional. Driver scheduling configuration.
929    * </pre>
930    *
931    * <code>
932    * .google.cloud.dataproc.v1.DriverSchedulingConfig driver_scheduling_config = 27 [(.google.api.field_behavior) = OPTIONAL];
933    * </code>
934    */
getDriverSchedulingConfigOrBuilder()935   com.google.cloud.dataproc.v1.DriverSchedulingConfigOrBuilder getDriverSchedulingConfigOrBuilder();
936 
getTypeJobCase()937   public com.google.cloud.dataproc.v1.Job.TypeJobCase getTypeJobCase();
938 }
939