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