• 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/workflow_templates.proto
18 
19 package com.google.cloud.dataproc.v1;
20 
21 public interface WorkflowNodeOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.WorkflowNode)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. The name of the node.
31    * </pre>
32    *
33    * <code>string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
34    *
35    * @return The stepId.
36    */
getStepId()37   java.lang.String getStepId();
38   /**
39    *
40    *
41    * <pre>
42    * Output only. The name of the node.
43    * </pre>
44    *
45    * <code>string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
46    *
47    * @return The bytes for stepId.
48    */
getStepIdBytes()49   com.google.protobuf.ByteString getStepIdBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Output only. Node's prerequisite nodes.
56    * </pre>
57    *
58    * <code>repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
59    * </code>
60    *
61    * @return A list containing the prerequisiteStepIds.
62    */
getPrerequisiteStepIdsList()63   java.util.List<java.lang.String> getPrerequisiteStepIdsList();
64   /**
65    *
66    *
67    * <pre>
68    * Output only. Node's prerequisite nodes.
69    * </pre>
70    *
71    * <code>repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
72    * </code>
73    *
74    * @return The count of prerequisiteStepIds.
75    */
getPrerequisiteStepIdsCount()76   int getPrerequisiteStepIdsCount();
77   /**
78    *
79    *
80    * <pre>
81    * Output only. Node's prerequisite nodes.
82    * </pre>
83    *
84    * <code>repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
85    * </code>
86    *
87    * @param index The index of the element to return.
88    * @return The prerequisiteStepIds at the given index.
89    */
getPrerequisiteStepIds(int index)90   java.lang.String getPrerequisiteStepIds(int index);
91   /**
92    *
93    *
94    * <pre>
95    * Output only. Node's prerequisite nodes.
96    * </pre>
97    *
98    * <code>repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
99    * </code>
100    *
101    * @param index The index of the value to return.
102    * @return The bytes of the prerequisiteStepIds at the given index.
103    */
getPrerequisiteStepIdsBytes(int index)104   com.google.protobuf.ByteString getPrerequisiteStepIdsBytes(int index);
105 
106   /**
107    *
108    *
109    * <pre>
110    * Output only. The job id; populated after the node enters RUNNING state.
111    * </pre>
112    *
113    * <code>string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
114    *
115    * @return The jobId.
116    */
getJobId()117   java.lang.String getJobId();
118   /**
119    *
120    *
121    * <pre>
122    * Output only. The job id; populated after the node enters RUNNING state.
123    * </pre>
124    *
125    * <code>string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
126    *
127    * @return The bytes for jobId.
128    */
getJobIdBytes()129   com.google.protobuf.ByteString getJobIdBytes();
130 
131   /**
132    *
133    *
134    * <pre>
135    * Output only. The node state.
136    * </pre>
137    *
138    * <code>
139    * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
140    * </code>
141    *
142    * @return The enum numeric value on the wire for state.
143    */
getStateValue()144   int getStateValue();
145   /**
146    *
147    *
148    * <pre>
149    * Output only. The node state.
150    * </pre>
151    *
152    * <code>
153    * .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
154    * </code>
155    *
156    * @return The state.
157    */
getState()158   com.google.cloud.dataproc.v1.WorkflowNode.NodeState getState();
159 
160   /**
161    *
162    *
163    * <pre>
164    * Output only. The error detail.
165    * </pre>
166    *
167    * <code>string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
168    *
169    * @return The error.
170    */
getError()171   java.lang.String getError();
172   /**
173    *
174    *
175    * <pre>
176    * Output only. The error detail.
177    * </pre>
178    *
179    * <code>string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
180    *
181    * @return The bytes for error.
182    */
getErrorBytes()183   com.google.protobuf.ByteString getErrorBytes();
184 }
185