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/v1beta2/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_v1beta2_operations_proto_enumTypes[0].Descriptor() 87} 88 89func (ClusterOperationStatus_State) Type() protoreflect.EnumType { 90 return &file_google_cloud_dataproc_v1beta2_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_v1beta2_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.v1beta2.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_v1beta2_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_v1beta2_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_v1beta2_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_v1beta2_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_v1beta2_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_v1beta2_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_v1beta2_operations_proto protoreflect.FileDescriptor 291 292var file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc = []byte{ 293 0x0a, 0x2e, 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, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 295 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 296 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 297 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 298 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 299 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 300 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 301 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 302 0x02, 0x0a, 0x16, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 303 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x51, 0x0a, 0x05, 0x73, 0x74, 0x61, 304 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 305 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 306 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 307 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 308 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 309 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 310 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 311 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 312 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 313 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 314 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 315 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73, 316 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x38, 0x0a, 317 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 318 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 319 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 320 0x04, 0x44, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x8a, 0x04, 0x0a, 0x18, 0x43, 0x6c, 0x75, 0x73, 321 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 322 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 323 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 324 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 325 0x65, 0x72, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 326 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x06, 0x73, 0x74, 327 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 328 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 329 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 330 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 331 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5c, 0x0a, 0x0e, 0x73, 0x74, 0x61, 332 0x74, 0x75, 0x73, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x03, 0x28, 333 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 334 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 335 0x32, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 336 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 337 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 338 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 339 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 340 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 341 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 342 0x12, 0x5b, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 343 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 344 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 345 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 346 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 347 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1a, 0x0a, 348 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 349 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 350 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 351 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 352 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 353 0x3a, 0x02, 0x38, 0x01, 0x42, 0x7d, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 354 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x6f, 355 0x63, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 356 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 357 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 358 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 359 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 360 0x6f, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x70, 361 0x72, 0x6f, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 362} 363 364var ( 365 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescOnce sync.Once 366 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData = file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc 367) 368 369func file_google_cloud_dataproc_v1beta2_operations_proto_rawDescGZIP() []byte { 370 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescOnce.Do(func() { 371 file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData) 372 }) 373 return file_google_cloud_dataproc_v1beta2_operations_proto_rawDescData 374} 375 376var file_google_cloud_dataproc_v1beta2_operations_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 377var file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 378var file_google_cloud_dataproc_v1beta2_operations_proto_goTypes = []interface{}{ 379 (ClusterOperationStatus_State)(0), // 0: google.cloud.dataproc.v1beta2.ClusterOperationStatus.State 380 (*ClusterOperationStatus)(nil), // 1: google.cloud.dataproc.v1beta2.ClusterOperationStatus 381 (*ClusterOperationMetadata)(nil), // 2: google.cloud.dataproc.v1beta2.ClusterOperationMetadata 382 nil, // 3: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry 383 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp 384} 385var file_google_cloud_dataproc_v1beta2_operations_proto_depIdxs = []int32{ 386 0, // 0: google.cloud.dataproc.v1beta2.ClusterOperationStatus.state:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationStatus.State 387 4, // 1: google.cloud.dataproc.v1beta2.ClusterOperationStatus.state_start_time:type_name -> google.protobuf.Timestamp 388 1, // 2: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.status:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationStatus 389 1, // 3: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.status_history:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationStatus 390 3, // 4: google.cloud.dataproc.v1beta2.ClusterOperationMetadata.labels:type_name -> google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry 391 5, // [5:5] is the sub-list for method output_type 392 5, // [5:5] is the sub-list for method input_type 393 5, // [5:5] is the sub-list for extension type_name 394 5, // [5:5] is the sub-list for extension extendee 395 0, // [0:5] is the sub-list for field type_name 396} 397 398func init() { file_google_cloud_dataproc_v1beta2_operations_proto_init() } 399func file_google_cloud_dataproc_v1beta2_operations_proto_init() { 400 if File_google_cloud_dataproc_v1beta2_operations_proto != nil { 401 return 402 } 403 if !protoimpl.UnsafeEnabled { 404 file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 405 switch v := v.(*ClusterOperationStatus); i { 406 case 0: 407 return &v.state 408 case 1: 409 return &v.sizeCache 410 case 2: 411 return &v.unknownFields 412 default: 413 return nil 414 } 415 } 416 file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 417 switch v := v.(*ClusterOperationMetadata); i { 418 case 0: 419 return &v.state 420 case 1: 421 return &v.sizeCache 422 case 2: 423 return &v.unknownFields 424 default: 425 return nil 426 } 427 } 428 } 429 type x struct{} 430 out := protoimpl.TypeBuilder{ 431 File: protoimpl.DescBuilder{ 432 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 433 RawDescriptor: file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc, 434 NumEnums: 1, 435 NumMessages: 3, 436 NumExtensions: 0, 437 NumServices: 0, 438 }, 439 GoTypes: file_google_cloud_dataproc_v1beta2_operations_proto_goTypes, 440 DependencyIndexes: file_google_cloud_dataproc_v1beta2_operations_proto_depIdxs, 441 EnumInfos: file_google_cloud_dataproc_v1beta2_operations_proto_enumTypes, 442 MessageInfos: file_google_cloud_dataproc_v1beta2_operations_proto_msgTypes, 443 }.Build() 444 File_google_cloud_dataproc_v1beta2_operations_proto = out.File 445 file_google_cloud_dataproc_v1beta2_operations_proto_rawDesc = nil 446 file_google_cloud_dataproc_v1beta2_operations_proto_goTypes = nil 447 file_google_cloud_dataproc_v1beta2_operations_proto_depIdxs = nil 448} 449