• 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 JobStatusOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.JobStatus)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. A state message specifying the overall job state.
31    * </pre>
32    *
33    * <code>
34    * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
35    * </code>
36    *
37    * @return The enum numeric value on the wire for state.
38    */
getStateValue()39   int getStateValue();
40   /**
41    *
42    *
43    * <pre>
44    * Output only. A state message specifying the overall job state.
45    * </pre>
46    *
47    * <code>
48    * .google.cloud.dataproc.v1.JobStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
49    * </code>
50    *
51    * @return The state.
52    */
getState()53   com.google.cloud.dataproc.v1.JobStatus.State getState();
54 
55   /**
56    *
57    *
58    * <pre>
59    * Optional. Output only. Job state details, such as an error
60    * description if the state is &lt;code&gt;ERROR&lt;/code&gt;.
61    * </pre>
62    *
63    * <code>
64    * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
65    * </code>
66    *
67    * @return The details.
68    */
getDetails()69   java.lang.String getDetails();
70   /**
71    *
72    *
73    * <pre>
74    * Optional. Output only. Job state details, such as an error
75    * description if the state is &lt;code&gt;ERROR&lt;/code&gt;.
76    * </pre>
77    *
78    * <code>
79    * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
80    * </code>
81    *
82    * @return The bytes for details.
83    */
getDetailsBytes()84   com.google.protobuf.ByteString getDetailsBytes();
85 
86   /**
87    *
88    *
89    * <pre>
90    * Output only. The time when this state was entered.
91    * </pre>
92    *
93    * <code>
94    * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
95    * </code>
96    *
97    * @return Whether the stateStartTime field is set.
98    */
hasStateStartTime()99   boolean hasStateStartTime();
100   /**
101    *
102    *
103    * <pre>
104    * Output only. The time when this state was entered.
105    * </pre>
106    *
107    * <code>
108    * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
109    * </code>
110    *
111    * @return The stateStartTime.
112    */
getStateStartTime()113   com.google.protobuf.Timestamp getStateStartTime();
114   /**
115    *
116    *
117    * <pre>
118    * Output only. The time when this state was entered.
119    * </pre>
120    *
121    * <code>
122    * .google.protobuf.Timestamp state_start_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
123    * </code>
124    */
getStateStartTimeOrBuilder()125   com.google.protobuf.TimestampOrBuilder getStateStartTimeOrBuilder();
126 
127   /**
128    *
129    *
130    * <pre>
131    * Output only. Additional state information, which includes
132    * status reported by the agent.
133    * </pre>
134    *
135    * <code>
136    * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
137    * </code>
138    *
139    * @return The enum numeric value on the wire for substate.
140    */
getSubstateValue()141   int getSubstateValue();
142   /**
143    *
144    *
145    * <pre>
146    * Output only. Additional state information, which includes
147    * status reported by the agent.
148    * </pre>
149    *
150    * <code>
151    * .google.cloud.dataproc.v1.JobStatus.Substate substate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
152    * </code>
153    *
154    * @return The substate.
155    */
getSubstate()156   com.google.cloud.dataproc.v1.JobStatus.Substate getSubstate();
157 }
158