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