Debian Codegraph @

googleapis/cloud/dataproc/v1beta2/operations.pb.go

raw
1 // Copyright 2020 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/cloud/dataproc/v1beta2/operations.proto
20
21 package dataproc
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // The operation state.
41 type ClusterOperationStatus_State int32
42
43 const (
44 // Unused.
45 ClusterOperationStatus_UNKNOWN ClusterOperationStatus_State = 0
46 // The operation has been created.
47 ClusterOperationStatus_PENDING ClusterOperationStatus_State = 1
48 // The operation is running.
49 ClusterOperationStatus_RUNNING ClusterOperationStatus_State = 2
50 // The operation is done; either cancelled or completed.
51 ClusterOperationStatus_DONE ClusterOperationStatus_State = 3
52 )
53
54 // Enum value maps for ClusterOperationStatus_State.
55 var (
56 ClusterOperationStatus_State_name = map[int32]string{
57 0: "UNKNOWN",
58 1: "PENDING",
59 2: "RUNNING",
60 3: "DONE",
61 }
62 ClusterOperationStatus_State_value = map[string]int32{
63 "UNKNOWN": 0,
64 "PENDING": 1,
65 "RUNNING": 2,
66 "DONE": 3,
67 }
68 )
69
70 func (x ClusterOperationStatus_State) Enum() *ClusterOperationStatus_State {
71 p := new(ClusterOperationStatus_State)
72 *p = x
73 return p
74 }
75
76 func (x ClusterOperationStatus_State) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (ClusterOperationStatus_State) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_cloud_dataproc_v1beta2_operations_proto_enumTypes[0].Descriptor()
82 }
83
84 func (ClusterOperationStatus_State) Type() protoreflect.EnumType {
85 return &file_google_cloud_dataproc_v1beta2_operations_proto_enumTypes[0]
86 }
87
88 func (x ClusterOperationStatus_State) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92 // Deprecated: Use ClusterOperationStatus_State.Descriptor instead.
93 func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) {
94 return file_google_cloud_dataproc_v1beta2_operations_proto_rawDescGZIP(), []int{0, 0}
95 }
96
97 // The status of the operation.
98 type ClusterOperationStatus struct {
99 state protoimpl.MessageState
100 sizeCache protoimpl.SizeCache
101 unknownFields protoimpl.UnknownFields
102
103 // Output only. A message containing the operation state.
104 State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.ClusterOperationStatus_State" json:"state,omitempty"`
105 // Output only. A message containing the detailed operation state.
106 InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState,proto3" json:"inner_state,omitempty"`
107 // Output only. A message containing any operation metadata details.
108 Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
109 // Output only. The time this state was entered.
110 StateStartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"`
111 }
112
113 func (x *ClusterOperationStatus) Reset() {
114 *x = ClusterOperationStatus{}
115 if protoimpl.UnsafeEnabled {
116 mi := &file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[0]
117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
118 ms.StoreMessageInfo(mi)
119 }
120 }
121
122 func (x *ClusterOperationStatus) String() string {
123 return protoimpl.X.MessageStringOf(x)
124 }
125
126 func (*ClusterOperationStatus) ProtoMessage() {}
127
128 func (x *ClusterOperationStatus) ProtoReflect() protoreflect.Message {
129 mi := &file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[0]
130 if protoimpl.UnsafeEnabled && x != nil {
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 if ms.LoadMessageInfo() == nil {
133 ms.StoreMessageInfo(mi)
134 }
135 return ms
136 }
137 return mi.MessageOf(x)
138 }
139
140 // Deprecated: Use ClusterOperationStatus.ProtoReflect.Descriptor instead.
141 func (*ClusterOperationStatus) Descriptor() ([]byte, []int) {
142 return file_google_cloud_dataproc_v1beta2_operations_proto_rawDescGZIP(), []int{0}
143 }
144
145 func (x *ClusterOperationStatus) GetState() ClusterOperationStatus_State {
146 if x != nil {
147 return x.State
148 }
149 return ClusterOperationStatus_UNKNOWN
150 }
151
152 func (x *ClusterOperationStatus) GetInnerState() string {
153 if x != nil {
154 return x.InnerState
155 }
156 return ""
157 }
158
159 func (x *ClusterOperationStatus) GetDetails() string {
160 if x != nil {
161 return x.Details
162 }
163 return ""
164 }
165
166 func (x *ClusterOperationStatus) GetStateStartTime() *timestamppb.Timestamp {
167 if x != nil {
168 return x.StateStartTime
169 }
170 return nil
171 }
172
173 // Metadata describing the operation.
174 type ClusterOperationMetadata struct {
175 state protoimpl.MessageState
176 sizeCache protoimpl.SizeCache
177 unknownFields protoimpl.UnknownFields
178
179 // Output only. Name of the cluster for the operation.
180 ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
181 // Output only. Cluster UUID for the operation.
182 ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"`
183 // Output only. Current operation status.
184 Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
185 // Output only. The previous operation status.
186 StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"`
187 // Output only. The operation type.
188 OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
189 // Output only. Short description of operation.
190 Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
191 // Output only. Labels associated with the operation
192 Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
193 // Output only. Errors encountered during operation execution.
194 Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
195 }
196
197 func (x *ClusterOperationMetadata) Reset() {
198 *x = ClusterOperationMetadata{}
199 if protoimpl.UnsafeEnabled {
200 mi := &file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[1]
201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
202 ms.StoreMessageInfo(mi)
203 }
204 }
205
206 func (x *ClusterOperationMetadata) String() string {
207 return protoimpl.X.MessageStringOf(x)
208 }
209
210 func (*ClusterOperationMetadata) ProtoMessage() {}
211
212 func (x *ClusterOperationMetadata) ProtoReflect() protoreflect.Message {
213 mi := &file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[1]
214 if protoimpl.UnsafeEnabled && x != nil {
215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
216 if ms.LoadMessageInfo() == nil {
217 ms.StoreMessageInfo(mi)
218 }
219 return ms
220 }
221 return mi.MessageOf(x)
222 }
223
224 // Deprecated: Use ClusterOperationMetadata.ProtoReflect.Descriptor instead.
225 func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) {
226 return file_google_cloud_dataproc_v1beta2_operations_proto_rawDescGZIP(), []int{1}
227 }
228
229 func (x *ClusterOperationMetadata) GetClusterName() string {
230 if x != nil {
231 return x.ClusterName
232 }
233 return ""
234 }
235
236 func (x *ClusterOperationMetadata) GetClusterUuid() string {
237 if x != nil {
238 return x.ClusterUuid
239 }
240 return ""
241 }
242
243 func (x *ClusterOperationMetadata) GetStatus() *ClusterOperationStatus {
244 if x != nil {
245 return x.Status
246 }
247 return nil
248 }
249
250 func (x *ClusterOperationMetadata) GetStatusHistory() []*ClusterOperationStatus {
251 if x != nil {
252 return x.StatusHistory
253 }
254 return nil
255 }
256
257 func (x *ClusterOperationMetadata) GetOperationType() string {
258 if x != nil {
259 return x.OperationType
260 }
261 return ""
262 }
263
264 func (x *ClusterOperationMetadata) GetDescription() string {
265 if x != nil {
266 return x.Description
267 }
268 return ""
269 }
270
271 func (x *ClusterOperationMetadata) GetLabels() map[string]string {
272 if x != nil {
273 return x.Labels
274 }
275 return nil
276 }
277
278 func (x *ClusterOperationMetadata) GetWarnings() []string {
279 if x != nil {
280 return x.Warnings
281 }
282 return nil
283 }
284
285 var File_google_cloud_dataproc_v1beta2_operations_proto protoreflect.FileDescriptor
286
287 var file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc = []byte{
288 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
289 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f,
290 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
291 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64,
292 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a,
293 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
294 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
295 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
296 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6,
297 0x02, 0x0a, 0x16, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
298 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x51, 0x0a, 0x05, 0x73, 0x74, 0x61,
299 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
300 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63,
301 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
302 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
303 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
304 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
305 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a,
306 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
307 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65,
308 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
309 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
310 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73,
311 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x38, 0x0a,
312 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
313 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01,
314 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a,
315 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x8a, 0x04, 0x0a, 0x18, 0x43, 0x6c, 0x75, 0x73,
316 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61,
317 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f,
318 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73,
319 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74,
320 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
321 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x06, 0x73, 0x74,
322 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f,
323 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72,
324 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74,
325 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
326 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5c, 0x0a, 0x0e, 0x73, 0x74, 0x61,
327 0x74, 0x75, 0x73, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x03, 0x28,
328 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
329 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
330 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
331 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
332 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61,
333 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
334 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20,
335 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20,
336 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
337 0x12, 0x5b, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b,
338 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
339 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
340 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
341 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
342 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1a, 0x0a,
343 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52,
344 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62,
345 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
346 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
347 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
348 0x3a, 0x02, 0x38, 0x01, 0x42, 0x7d, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
349 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f,
350 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61,
351 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f,
352 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
353 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
354 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72,
355 0x6f, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x70,
356 0x72, 0x6f, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
357 }
358
359 var (
360 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescOnce sync.Once
361 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData = file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc
362 )
363
364 func file_google_cloud_dataproc_v1beta2_operations_proto_rawDescGZIP() []byte {
365 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescOnce.Do(func() {
366 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData)
367 })
368 return file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData
369 }
370
371 var file_google_cloud_dataproc_v1beta2_operations_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
372 var file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
373 var file_google_cloud_dataproc_v1beta2_operations_proto_goTypes = []interface{}{
374 (ClusterOperationStatus_State)(0), // 0: google.cloud.dataproc.v1beta2.ClusterOperationStatus.State
375 (*ClusterOperationStatus)(nil), // 1: google.cloud.dataproc.v1beta2.ClusterOperationStatus
376 (*ClusterOperationMetadata)(nil), // 2: google.cloud.dataproc.v1beta2.ClusterOperationMetadata
377 nil, // 3: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry
378 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
379 }
380 var file_google_cloud_dataproc_v1beta2_operations_proto_depIdxs = []int32{
381 0, // 0: google.cloud.dataproc.v1beta2.ClusterOperationStatus.state:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationStatus.State
382 4, // 1: google.cloud.dataproc.v1beta2.ClusterOperationStatus.state_start_time:type_name -> google.protobuf.Timestamp
383 1, // 2: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.status:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationStatus
384 1, // 3: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.status_history:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationStatus
385 3, // 4: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.labels:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry
386 5, // [5:5] is the sub-list for method output_type
387 5, // [5:5] is the sub-list for method input_type
388 5, // [5:5] is the sub-list for extension type_name
389 5, // [5:5] is the sub-list for extension extendee
390 0, // [0:5] is the sub-list for field type_name
391 }
392
393 func init() { file_google_cloud_dataproc_v1beta2_operations_proto_init() }
394 func file_google_cloud_dataproc_v1beta2_operations_proto_init() {
395 if File_google_cloud_dataproc_v1beta2_operations_proto != nil {
396 return
397 }
398 if !protoimpl.UnsafeEnabled {
399 file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
400 switch v := v.(*ClusterOperationStatus); i {
401 case 0:
402 return &v.state
403 case 1:
404 return &v.sizeCache
405 case 2:
406 return &v.unknownFields
407 default:
408 return nil
409 }
410 }
411 file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
412 switch v := v.(*ClusterOperationMetadata); i {
413 case 0:
414 return &v.state
415 case 1:
416 return &v.sizeCache
417 case 2:
418 return &v.unknownFields
419 default:
420 return nil
421 }
422 }
423 }
424 type x struct{}
425 out := protoimpl.TypeBuilder{
426 File: protoimpl.DescBuilder{
427 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
428 RawDescriptor: file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc,
429 NumEnums: 1,
430 NumMessages: 3,
431 NumExtensions: 0,
432 NumServices: 0,
433 },
434 GoTypes: file_google_cloud_dataproc_v1beta2_operations_proto_goTypes,
435 DependencyIndexes: file_google_cloud_dataproc_v1beta2_operations_proto_depIdxs,
436 EnumInfos: file_google_cloud_dataproc_v1beta2_operations_proto_enumTypes,
437 MessageInfos: file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes,
438 }.Build()
439 File_google_cloud_dataproc_v1beta2_operations_proto = out.File
440 file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc = nil
441 file_google_cloud_dataproc_v1beta2_operations_proto_goTypes = nil
442 file_google_cloud_dataproc_v1beta2_operations_proto_depIdxs = nil
443 }