1// Copyright 2019 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 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.22.0 19// protoc v3.11.2 20// source: google/api/expr/v1beta1/decl.proto 21 22package expr 23 24import ( 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31) 32 33const ( 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// This is a compile-time assertion that a sufficiently up-to-date version 41// of the legacy proto package is being used. 42const _ = proto.ProtoPackageIsVersion4 43 44// A declaration. 45type Decl struct { 46 state protoimpl.MessageState 47 sizeCache protoimpl.SizeCache 48 unknownFields protoimpl.UnknownFields 49 50 // The id of the declaration. 51 Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 52 // The name of the declaration. 53 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 54 // The documentation string for the declaration. 55 Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"` 56 // The kind of declaration. 57 // 58 // Types that are assignable to Kind: 59 // *Decl_Ident 60 // *Decl_Function 61 Kind isDecl_Kind `protobuf_oneof:"kind"` 62} 63 64func (x *Decl) Reset() { 65 *x = Decl{} 66 if protoimpl.UnsafeEnabled { 67 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[0] 68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 69 ms.StoreMessageInfo(mi) 70 } 71} 72 73func (x *Decl) String() string { 74 return protoimpl.X.MessageStringOf(x) 75} 76 77func (*Decl) ProtoMessage() {} 78 79func (x *Decl) ProtoReflect() protoreflect.Message { 80 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[0] 81 if protoimpl.UnsafeEnabled && x != nil { 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 if ms.LoadMessageInfo() == nil { 84 ms.StoreMessageInfo(mi) 85 } 86 return ms 87 } 88 return mi.MessageOf(x) 89} 90 91// Deprecated: Use Decl.ProtoReflect.Descriptor instead. 92func (*Decl) Descriptor() ([]byte, []int) { 93 return file_google_api_expr_v1beta1_decl_proto_rawDescGZIP(), []int{0} 94} 95 96func (x *Decl) GetId() int32 { 97 if x != nil { 98 return x.Id 99 } 100 return 0 101} 102 103func (x *Decl) GetName() string { 104 if x != nil { 105 return x.Name 106 } 107 return "" 108} 109 110func (x *Decl) GetDoc() string { 111 if x != nil { 112 return x.Doc 113 } 114 return "" 115} 116 117func (m *Decl) GetKind() isDecl_Kind { 118 if m != nil { 119 return m.Kind 120 } 121 return nil 122} 123 124func (x *Decl) GetIdent() *IdentDecl { 125 if x, ok := x.GetKind().(*Decl_Ident); ok { 126 return x.Ident 127 } 128 return nil 129} 130 131func (x *Decl) GetFunction() *FunctionDecl { 132 if x, ok := x.GetKind().(*Decl_Function); ok { 133 return x.Function 134 } 135 return nil 136} 137 138type isDecl_Kind interface { 139 isDecl_Kind() 140} 141 142type Decl_Ident struct { 143 // An identifier declaration. 144 Ident *IdentDecl `protobuf:"bytes,4,opt,name=ident,proto3,oneof"` 145} 146 147type Decl_Function struct { 148 // A function declaration. 149 Function *FunctionDecl `protobuf:"bytes,5,opt,name=function,proto3,oneof"` 150} 151 152func (*Decl_Ident) isDecl_Kind() {} 153 154func (*Decl_Function) isDecl_Kind() {} 155 156// The declared type of a variable. 157// 158// Extends runtime type values with extra information used for type checking 159// and dispatching. 160type DeclType struct { 161 state protoimpl.MessageState 162 sizeCache protoimpl.SizeCache 163 unknownFields protoimpl.UnknownFields 164 165 // The expression id of the declared type, if applicable. 166 Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 167 // The type name, e.g. 'int', 'my.type.Type' or 'T' 168 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 169 // An ordered list of type parameters, e.g. `<string, int>`. 170 // Only applies to a subset of types, e.g. `map`, `list`. 171 TypeParams []*DeclType `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` 172} 173 174func (x *DeclType) Reset() { 175 *x = DeclType{} 176 if protoimpl.UnsafeEnabled { 177 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[1] 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 ms.StoreMessageInfo(mi) 180 } 181} 182 183func (x *DeclType) String() string { 184 return protoimpl.X.MessageStringOf(x) 185} 186 187func (*DeclType) ProtoMessage() {} 188 189func (x *DeclType) ProtoReflect() protoreflect.Message { 190 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[1] 191 if protoimpl.UnsafeEnabled && x != nil { 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 if ms.LoadMessageInfo() == nil { 194 ms.StoreMessageInfo(mi) 195 } 196 return ms 197 } 198 return mi.MessageOf(x) 199} 200 201// Deprecated: Use DeclType.ProtoReflect.Descriptor instead. 202func (*DeclType) Descriptor() ([]byte, []int) { 203 return file_google_api_expr_v1beta1_decl_proto_rawDescGZIP(), []int{1} 204} 205 206func (x *DeclType) GetId() int32 { 207 if x != nil { 208 return x.Id 209 } 210 return 0 211} 212 213func (x *DeclType) GetType() string { 214 if x != nil { 215 return x.Type 216 } 217 return "" 218} 219 220func (x *DeclType) GetTypeParams() []*DeclType { 221 if x != nil { 222 return x.TypeParams 223 } 224 return nil 225} 226 227// An identifier declaration. 228type IdentDecl struct { 229 state protoimpl.MessageState 230 sizeCache protoimpl.SizeCache 231 unknownFields protoimpl.UnknownFields 232 233 // Optional type of the identifier. 234 Type *DeclType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` 235 // Optional value of the identifier. 236 Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` 237} 238 239func (x *IdentDecl) Reset() { 240 *x = IdentDecl{} 241 if protoimpl.UnsafeEnabled { 242 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[2] 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 ms.StoreMessageInfo(mi) 245 } 246} 247 248func (x *IdentDecl) String() string { 249 return protoimpl.X.MessageStringOf(x) 250} 251 252func (*IdentDecl) ProtoMessage() {} 253 254func (x *IdentDecl) ProtoReflect() protoreflect.Message { 255 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[2] 256 if protoimpl.UnsafeEnabled && x != nil { 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 if ms.LoadMessageInfo() == nil { 259 ms.StoreMessageInfo(mi) 260 } 261 return ms 262 } 263 return mi.MessageOf(x) 264} 265 266// Deprecated: Use IdentDecl.ProtoReflect.Descriptor instead. 267func (*IdentDecl) Descriptor() ([]byte, []int) { 268 return file_google_api_expr_v1beta1_decl_proto_rawDescGZIP(), []int{2} 269} 270 271func (x *IdentDecl) GetType() *DeclType { 272 if x != nil { 273 return x.Type 274 } 275 return nil 276} 277 278func (x *IdentDecl) GetValue() *Expr { 279 if x != nil { 280 return x.Value 281 } 282 return nil 283} 284 285// A function declaration. 286type FunctionDecl struct { 287 state protoimpl.MessageState 288 sizeCache protoimpl.SizeCache 289 unknownFields protoimpl.UnknownFields 290 291 // The function arguments. 292 Args []*IdentDecl `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` 293 // Optional declared return type. 294 ReturnType *DeclType `protobuf:"bytes,2,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"` 295 // If the first argument of the function is the receiver. 296 ReceiverFunction bool `protobuf:"varint,3,opt,name=receiver_function,json=receiverFunction,proto3" json:"receiver_function,omitempty"` 297} 298 299func (x *FunctionDecl) Reset() { 300 *x = FunctionDecl{} 301 if protoimpl.UnsafeEnabled { 302 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[3] 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 ms.StoreMessageInfo(mi) 305 } 306} 307 308func (x *FunctionDecl) String() string { 309 return protoimpl.X.MessageStringOf(x) 310} 311 312func (*FunctionDecl) ProtoMessage() {} 313 314func (x *FunctionDecl) ProtoReflect() protoreflect.Message { 315 mi := &file_google_api_expr_v1beta1_decl_proto_msgTypes[3] 316 if protoimpl.UnsafeEnabled && x != nil { 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 if ms.LoadMessageInfo() == nil { 319 ms.StoreMessageInfo(mi) 320 } 321 return ms 322 } 323 return mi.MessageOf(x) 324} 325 326// Deprecated: Use FunctionDecl.ProtoReflect.Descriptor instead. 327func (*FunctionDecl) Descriptor() ([]byte, []int) { 328 return file_google_api_expr_v1beta1_decl_proto_rawDescGZIP(), []int{3} 329} 330 331func (x *FunctionDecl) GetArgs() []*IdentDecl { 332 if x != nil { 333 return x.Args 334 } 335 return nil 336} 337 338func (x *FunctionDecl) GetReturnType() *DeclType { 339 if x != nil { 340 return x.ReturnType 341 } 342 return nil 343} 344 345func (x *FunctionDecl) GetReceiverFunction() bool { 346 if x != nil { 347 return x.ReceiverFunction 348 } 349 return false 350} 351 352var File_google_api_expr_v1beta1_decl_proto protoreflect.FileDescriptor 353 354var file_google_api_expr_v1beta1_decl_proto_rawDesc = []byte{ 355 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 356 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x65, 0x63, 0x6c, 0x2e, 0x70, 357 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 358 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x22, 0x67, 359 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 360 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 361 0x6f, 0x22, 0xc5, 0x01, 0x0a, 0x04, 0x44, 0x65, 0x63, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 362 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 363 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 364 0x0a, 0x03, 0x64, 0x6f, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x6f, 0x63, 365 0x12, 0x3a, 0x0a, 0x05, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 366 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 367 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x44, 368 0x65, 0x63, 0x6c, 0x48, 0x00, 0x52, 0x05, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x08, 369 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 370 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 371 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 372 0x6e, 0x44, 0x65, 0x63, 0x6c, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 373 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x72, 0x0a, 0x08, 0x44, 0x65, 0x63, 374 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 375 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 376 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x74, 0x79, 0x70, 377 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 378 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 379 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x54, 0x79, 0x70, 380 0x65, 0x52, 0x0a, 0x74, 0x79, 0x70, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x77, 0x0a, 381 0x09, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x63, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 382 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 383 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 384 0x61, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 385 0x65, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 386 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 387 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 388 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb7, 0x01, 0x0a, 0x0c, 0x46, 0x75, 0x6e, 0x63, 0x74, 389 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x63, 0x6c, 0x12, 0x36, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 390 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 391 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 392 0x49, 0x64, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x63, 0x6c, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 393 0x42, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 394 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 395 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 396 0x65, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 397 0x79, 0x70, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 398 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 399 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 400 0x42, 0x6a, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 401 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 402 0x09, 0x44, 0x65, 0x63, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x6f, 403 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 404 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 405 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31, 0x62, 406 0x65, 0x74, 0x61, 0x31, 0x3b, 0x65, 0x78, 0x70, 0x72, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 407 0x6f, 0x74, 0x6f, 0x33, 408} 409 410var ( 411 file_google_api_expr_v1beta1_decl_proto_rawDescOnce sync.Once 412 file_google_api_expr_v1beta1_decl_proto_rawDescData = file_google_api_expr_v1beta1_decl_proto_rawDesc 413) 414 415func file_google_api_expr_v1beta1_decl_proto_rawDescGZIP() []byte { 416 file_google_api_expr_v1beta1_decl_proto_rawDescOnce.Do(func() { 417 file_google_api_expr_v1beta1_decl_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_expr_v1beta1_decl_proto_rawDescData) 418 }) 419 return file_google_api_expr_v1beta1_decl_proto_rawDescData 420} 421 422var file_google_api_expr_v1beta1_decl_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 423var file_google_api_expr_v1beta1_decl_proto_goTypes = []interface{}{ 424 (*Decl)(nil), // 0: google.api.expr.v1beta1.Decl 425 (*DeclType)(nil), // 1: google.api.expr.v1beta1.DeclType 426 (*IdentDecl)(nil), // 2: google.api.expr.v1beta1.IdentDecl 427 (*FunctionDecl)(nil), // 3: google.api.expr.v1beta1.FunctionDecl 428 (*Expr)(nil), // 4: google.api.expr.v1beta1.Expr 429} 430var file_google_api_expr_v1beta1_decl_proto_depIdxs = []int32{ 431 2, // 0: google.api.expr.v1beta1.Decl.ident:type_name -> google.api.expr.v1beta1.IdentDecl 432 3, // 1: google.api.expr.v1beta1.Decl.function:type_name -> google.api.expr.v1beta1.FunctionDecl 433 1, // 2: google.api.expr.v1beta1.DeclType.type_params:type_name -> google.api.expr.v1beta1.DeclType 434 1, // 3: google.api.expr.v1beta1.IdentDecl.type:type_name -> google.api.expr.v1beta1.DeclType 435 4, // 4: google.api.expr.v1beta1.IdentDecl.value:type_name -> google.api.expr.v1beta1.Expr 436 2, // 5: google.api.expr.v1beta1.FunctionDecl.args:type_name -> google.api.expr.v1beta1.IdentDecl 437 1, // 6: google.api.expr.v1beta1.FunctionDecl.return_type:type_name -> google.api.expr.v1beta1.DeclType 438 7, // [7:7] is the sub-list for method output_type 439 7, // [7:7] is the sub-list for method input_type 440 7, // [7:7] is the sub-list for extension type_name 441 7, // [7:7] is the sub-list for extension extendee 442 0, // [0:7] is the sub-list for field type_name 443} 444 445func init() { file_google_api_expr_v1beta1_decl_proto_init() } 446func file_google_api_expr_v1beta1_decl_proto_init() { 447 if File_google_api_expr_v1beta1_decl_proto != nil { 448 return 449 } 450 file_google_api_expr_v1beta1_expr_proto_init() 451 if !protoimpl.UnsafeEnabled { 452 file_google_api_expr_v1beta1_decl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 453 switch v := v.(*Decl); i { 454 case 0: 455 return &v.state 456 case 1: 457 return &v.sizeCache 458 case 2: 459 return &v.unknownFields 460 default: 461 return nil 462 } 463 } 464 file_google_api_expr_v1beta1_decl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 465 switch v := v.(*DeclType); i { 466 case 0: 467 return &v.state 468 case 1: 469 return &v.sizeCache 470 case 2: 471 return &v.unknownFields 472 default: 473 return nil 474 } 475 } 476 file_google_api_expr_v1beta1_decl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 477 switch v := v.(*IdentDecl); i { 478 case 0: 479 return &v.state 480 case 1: 481 return &v.sizeCache 482 case 2: 483 return &v.unknownFields 484 default: 485 return nil 486 } 487 } 488 file_google_api_expr_v1beta1_decl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 489 switch v := v.(*FunctionDecl); i { 490 case 0: 491 return &v.state 492 case 1: 493 return &v.sizeCache 494 case 2: 495 return &v.unknownFields 496 default: 497 return nil 498 } 499 } 500 } 501 file_google_api_expr_v1beta1_decl_proto_msgTypes[0].OneofWrappers = []interface{}{ 502 (*Decl_Ident)(nil), 503 (*Decl_Function)(nil), 504 } 505 type x struct{} 506 out := protoimpl.TypeBuilder{ 507 File: protoimpl.DescBuilder{ 508 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 509 RawDescriptor: file_google_api_expr_v1beta1_decl_proto_rawDesc, 510 NumEnums: 0, 511 NumMessages: 4, 512 NumExtensions: 0, 513 NumServices: 0, 514 }, 515 GoTypes: file_google_api_expr_v1beta1_decl_proto_goTypes, 516 DependencyIndexes: file_google_api_expr_v1beta1_decl_proto_depIdxs, 517 MessageInfos: file_google_api_expr_v1beta1_decl_proto_msgTypes, 518 }.Build() 519 File_google_api_expr_v1beta1_decl_proto = out.File 520 file_google_api_expr_v1beta1_decl_proto_rawDesc = nil 521 file_google_api_expr_v1beta1_decl_proto_goTypes = nil 522 file_google_api_expr_v1beta1_decl_proto_depIdxs = nil 523} 524