...

Source file src/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go

Documentation: google.golang.org/genproto/googleapis/api/expr/v1beta1

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

View as plain text