github.com/hoveychen/protoreflect@v1.4.7-0.20221103114119-0b4b3385ec76/internal/testprotos/desc_test_complex.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: desc_test_complex.proto
     3  
     4  package testprotos
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	proto "github.com/golang/protobuf/proto"
    10  	descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
    11  	grpc "google.golang.org/grpc"
    12  	math "math"
    13  )
    14  
    15  // Reference imports to suppress errors if they are not otherwise used.
    16  var _ = proto.Marshal
    17  var _ = fmt.Errorf
    18  var _ = math.Inf
    19  
    20  // This is a compile-time assertion to ensure that this generated file
    21  // is compatible with the proto package it is being compiled against.
    22  // A compilation error at this line likely means your copy of the
    23  // proto package needs to be updated.
    24  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    25  
    26  type EnumWithReservations int32
    27  
    28  const (
    29  	EnumWithReservations_X EnumWithReservations = 2
    30  	EnumWithReservations_Y EnumWithReservations = 3
    31  	EnumWithReservations_Z EnumWithReservations = 4
    32  )
    33  
    34  var EnumWithReservations_name = map[int32]string{
    35  	2: "X",
    36  	3: "Y",
    37  	4: "Z",
    38  }
    39  
    40  var EnumWithReservations_value = map[string]int32{
    41  	"X": 2,
    42  	"Y": 3,
    43  	"Z": 4,
    44  }
    45  
    46  func (x EnumWithReservations) Enum() *EnumWithReservations {
    47  	p := new(EnumWithReservations)
    48  	*p = x
    49  	return p
    50  }
    51  
    52  func (x EnumWithReservations) String() string {
    53  	return proto.EnumName(EnumWithReservations_name, int32(x))
    54  }
    55  
    56  func (x *EnumWithReservations) UnmarshalJSON(data []byte) error {
    57  	value, err := proto.UnmarshalJSONEnum(EnumWithReservations_value, data, "EnumWithReservations")
    58  	if err != nil {
    59  		return err
    60  	}
    61  	*x = EnumWithReservations(value)
    62  	return nil
    63  }
    64  
    65  func (EnumWithReservations) EnumDescriptor() ([]byte, []int) {
    66  	return fileDescriptor_2643e20efc4f24c4, []int{0}
    67  }
    68  
    69  type Test_Nested__NestedNested_EEE int32
    70  
    71  const (
    72  	Test_Nested__NestedNested_OK Test_Nested__NestedNested_EEE = 0
    73  	Test_Nested__NestedNested_V1 Test_Nested__NestedNested_EEE = 1
    74  	Test_Nested__NestedNested_V2 Test_Nested__NestedNested_EEE = 2
    75  	Test_Nested__NestedNested_V3 Test_Nested__NestedNested_EEE = 3
    76  	Test_Nested__NestedNested_V4 Test_Nested__NestedNested_EEE = 4
    77  	Test_Nested__NestedNested_V5 Test_Nested__NestedNested_EEE = 5
    78  	Test_Nested__NestedNested_V6 Test_Nested__NestedNested_EEE = 6
    79  )
    80  
    81  var Test_Nested__NestedNested_EEE_name = map[int32]string{
    82  	0: "OK",
    83  	1: "V1",
    84  	2: "V2",
    85  	3: "V3",
    86  	4: "V4",
    87  	5: "V5",
    88  	6: "V6",
    89  }
    90  
    91  var Test_Nested__NestedNested_EEE_value = map[string]int32{
    92  	"OK": 0,
    93  	"V1": 1,
    94  	"V2": 2,
    95  	"V3": 3,
    96  	"V4": 4,
    97  	"V5": 5,
    98  	"V6": 6,
    99  }
   100  
   101  func (x Test_Nested__NestedNested_EEE) Enum() *Test_Nested__NestedNested_EEE {
   102  	p := new(Test_Nested__NestedNested_EEE)
   103  	*p = x
   104  	return p
   105  }
   106  
   107  func (x Test_Nested__NestedNested_EEE) String() string {
   108  	return proto.EnumName(Test_Nested__NestedNested_EEE_name, int32(x))
   109  }
   110  
   111  func (x *Test_Nested__NestedNested_EEE) UnmarshalJSON(data []byte) error {
   112  	value, err := proto.UnmarshalJSONEnum(Test_Nested__NestedNested_EEE_value, data, "Test_Nested__NestedNested_EEE")
   113  	if err != nil {
   114  		return err
   115  	}
   116  	*x = Test_Nested__NestedNested_EEE(value)
   117  	return nil
   118  }
   119  
   120  func (Test_Nested__NestedNested_EEE) EnumDescriptor() ([]byte, []int) {
   121  	return fileDescriptor_2643e20efc4f24c4, []int{1, 1, 0, 0}
   122  }
   123  
   124  type Validator_Action int32
   125  
   126  const (
   127  	Validator_LOGIN Validator_Action = 0
   128  	Validator_READ  Validator_Action = 1
   129  	Validator_WRITE Validator_Action = 2
   130  )
   131  
   132  var Validator_Action_name = map[int32]string{
   133  	0: "LOGIN",
   134  	1: "READ",
   135  	2: "WRITE",
   136  }
   137  
   138  var Validator_Action_value = map[string]int32{
   139  	"LOGIN": 0,
   140  	"READ":  1,
   141  	"WRITE": 2,
   142  }
   143  
   144  func (x Validator_Action) Enum() *Validator_Action {
   145  	p := new(Validator_Action)
   146  	*p = x
   147  	return p
   148  }
   149  
   150  func (x Validator_Action) String() string {
   151  	return proto.EnumName(Validator_Action_name, int32(x))
   152  }
   153  
   154  func (x *Validator_Action) UnmarshalJSON(data []byte) error {
   155  	value, err := proto.UnmarshalJSONEnum(Validator_Action_value, data, "Validator_Action")
   156  	if err != nil {
   157  		return err
   158  	}
   159  	*x = Validator_Action(value)
   160  	return nil
   161  }
   162  
   163  func (Validator_Action) EnumDescriptor() ([]byte, []int) {
   164  	return fileDescriptor_2643e20efc4f24c4, []int{4, 0}
   165  }
   166  
   167  type Simple struct {
   168  	Name                 *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
   169  	Id                   *uint64  `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
   170  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   171  	XXX_unrecognized     []byte   `json:"-"`
   172  	XXX_sizecache        int32    `json:"-"`
   173  }
   174  
   175  func (m *Simple) Reset()         { *m = Simple{} }
   176  func (m *Simple) String() string { return proto.CompactTextString(m) }
   177  func (*Simple) ProtoMessage()    {}
   178  func (*Simple) Descriptor() ([]byte, []int) {
   179  	return fileDescriptor_2643e20efc4f24c4, []int{0}
   180  }
   181  
   182  func (m *Simple) XXX_Unmarshal(b []byte) error {
   183  	return xxx_messageInfo_Simple.Unmarshal(m, b)
   184  }
   185  func (m *Simple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   186  	return xxx_messageInfo_Simple.Marshal(b, m, deterministic)
   187  }
   188  func (m *Simple) XXX_Merge(src proto.Message) {
   189  	xxx_messageInfo_Simple.Merge(m, src)
   190  }
   191  func (m *Simple) XXX_Size() int {
   192  	return xxx_messageInfo_Simple.Size(m)
   193  }
   194  func (m *Simple) XXX_DiscardUnknown() {
   195  	xxx_messageInfo_Simple.DiscardUnknown(m)
   196  }
   197  
   198  var xxx_messageInfo_Simple proto.InternalMessageInfo
   199  
   200  func (m *Simple) GetName() string {
   201  	if m != nil && m.Name != nil {
   202  		return *m.Name
   203  	}
   204  	return ""
   205  }
   206  
   207  func (m *Simple) GetId() uint64 {
   208  	if m != nil && m.Id != nil {
   209  		return *m.Id
   210  	}
   211  	return 0
   212  }
   213  
   214  type Test struct {
   215  	Foo                          *string          `protobuf:"bytes,1,opt,name=foo,json=|foo|" json:"foo,omitempty"`
   216  	Array                        []int32          `protobuf:"varint,2,rep,name=array" json:"array,omitempty"`
   217  	S                            *Simple          `protobuf:"bytes,3,opt,name=s" json:"s,omitempty"`
   218  	R                            []*Simple        `protobuf:"bytes,4,rep,name=r" json:"r,omitempty"`
   219  	M                            map[string]int32 `protobuf:"bytes,5,rep,name=m" json:"m,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
   220  	B                            []byte           `protobuf:"bytes,6,opt,name=b,def=\\000\\001\\002\\003\\004\\005\\006\\007fubar!" json:"b,omitempty"`
   221  	XXX_NoUnkeyedLiteral         struct{}         `json:"-"`
   222  	proto.XXX_InternalExtensions `json:"-"`
   223  	XXX_unrecognized             []byte `json:"-"`
   224  	XXX_sizecache                int32  `json:"-"`
   225  }
   226  
   227  func (m *Test) Reset()         { *m = Test{} }
   228  func (m *Test) String() string { return proto.CompactTextString(m) }
   229  func (*Test) ProtoMessage()    {}
   230  func (*Test) Descriptor() ([]byte, []int) {
   231  	return fileDescriptor_2643e20efc4f24c4, []int{1}
   232  }
   233  
   234  var extRange_Test = []proto.ExtensionRange{
   235  	{Start: 100, End: 200},
   236  	{Start: 300, End: 350},
   237  	{Start: 500, End: 550},
   238  }
   239  
   240  func (*Test) ExtensionRangeArray() []proto.ExtensionRange {
   241  	return extRange_Test
   242  }
   243  
   244  func (m *Test) XXX_Unmarshal(b []byte) error {
   245  	return xxx_messageInfo_Test.Unmarshal(m, b)
   246  }
   247  func (m *Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   248  	return xxx_messageInfo_Test.Marshal(b, m, deterministic)
   249  }
   250  func (m *Test) XXX_Merge(src proto.Message) {
   251  	xxx_messageInfo_Test.Merge(m, src)
   252  }
   253  func (m *Test) XXX_Size() int {
   254  	return xxx_messageInfo_Test.Size(m)
   255  }
   256  func (m *Test) XXX_DiscardUnknown() {
   257  	xxx_messageInfo_Test.DiscardUnknown(m)
   258  }
   259  
   260  var xxx_messageInfo_Test proto.InternalMessageInfo
   261  
   262  var Default_Test_B []byte = []byte("\x00\x01\x02\x03\x04\x05\x06\afubar!")
   263  
   264  func (m *Test) GetFoo() string {
   265  	if m != nil && m.Foo != nil {
   266  		return *m.Foo
   267  	}
   268  	return ""
   269  }
   270  
   271  func (m *Test) GetArray() []int32 {
   272  	if m != nil {
   273  		return m.Array
   274  	}
   275  	return nil
   276  }
   277  
   278  func (m *Test) GetS() *Simple {
   279  	if m != nil {
   280  		return m.S
   281  	}
   282  	return nil
   283  }
   284  
   285  func (m *Test) GetR() []*Simple {
   286  	if m != nil {
   287  		return m.R
   288  	}
   289  	return nil
   290  }
   291  
   292  func (m *Test) GetM() map[string]int32 {
   293  	if m != nil {
   294  		return m.M
   295  	}
   296  	return nil
   297  }
   298  
   299  func (m *Test) GetB() []byte {
   300  	if m != nil && m.B != nil {
   301  		return m.B
   302  	}
   303  	return append([]byte(nil), Default_Test_B...)
   304  }
   305  
   306  type Test_Nested struct {
   307  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   308  	XXX_unrecognized     []byte   `json:"-"`
   309  	XXX_sizecache        int32    `json:"-"`
   310  }
   311  
   312  func (m *Test_Nested) Reset()         { *m = Test_Nested{} }
   313  func (m *Test_Nested) String() string { return proto.CompactTextString(m) }
   314  func (*Test_Nested) ProtoMessage()    {}
   315  func (*Test_Nested) Descriptor() ([]byte, []int) {
   316  	return fileDescriptor_2643e20efc4f24c4, []int{1, 1}
   317  }
   318  
   319  func (m *Test_Nested) XXX_Unmarshal(b []byte) error {
   320  	return xxx_messageInfo_Test_Nested.Unmarshal(m, b)
   321  }
   322  func (m *Test_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   323  	return xxx_messageInfo_Test_Nested.Marshal(b, m, deterministic)
   324  }
   325  func (m *Test_Nested) XXX_Merge(src proto.Message) {
   326  	xxx_messageInfo_Test_Nested.Merge(m, src)
   327  }
   328  func (m *Test_Nested) XXX_Size() int {
   329  	return xxx_messageInfo_Test_Nested.Size(m)
   330  }
   331  func (m *Test_Nested) XXX_DiscardUnknown() {
   332  	xxx_messageInfo_Test_Nested.DiscardUnknown(m)
   333  }
   334  
   335  var xxx_messageInfo_Test_Nested proto.InternalMessageInfo
   336  
   337  var E_Test_Nested_Fooblez = &proto.ExtensionDesc{
   338  	ExtendedType:  (*descriptor.MessageOptions)(nil),
   339  	ExtensionType: (*int32)(nil),
   340  	Field:         20003,
   341  	Name:          "foo.bar.Test.Nested.fooblez",
   342  	Tag:           "varint,20003,opt,name=fooblez",
   343  	Filename:      "desc_test_complex.proto",
   344  }
   345  
   346  type Test_Nested__NestedNested struct {
   347  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   348  	XXX_unrecognized     []byte   `json:"-"`
   349  	XXX_sizecache        int32    `json:"-"`
   350  }
   351  
   352  func (m *Test_Nested__NestedNested) Reset()         { *m = Test_Nested__NestedNested{} }
   353  func (m *Test_Nested__NestedNested) String() string { return proto.CompactTextString(m) }
   354  func (*Test_Nested__NestedNested) ProtoMessage()    {}
   355  func (*Test_Nested__NestedNested) Descriptor() ([]byte, []int) {
   356  	return fileDescriptor_2643e20efc4f24c4, []int{1, 1, 0}
   357  }
   358  
   359  func (m *Test_Nested__NestedNested) XXX_Unmarshal(b []byte) error {
   360  	return xxx_messageInfo_Test_Nested__NestedNested.Unmarshal(m, b)
   361  }
   362  func (m *Test_Nested__NestedNested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   363  	return xxx_messageInfo_Test_Nested__NestedNested.Marshal(b, m, deterministic)
   364  }
   365  func (m *Test_Nested__NestedNested) XXX_Merge(src proto.Message) {
   366  	xxx_messageInfo_Test_Nested__NestedNested.Merge(m, src)
   367  }
   368  func (m *Test_Nested__NestedNested) XXX_Size() int {
   369  	return xxx_messageInfo_Test_Nested__NestedNested.Size(m)
   370  }
   371  func (m *Test_Nested__NestedNested) XXX_DiscardUnknown() {
   372  	xxx_messageInfo_Test_Nested__NestedNested.DiscardUnknown(m)
   373  }
   374  
   375  var xxx_messageInfo_Test_Nested__NestedNested proto.InternalMessageInfo
   376  
   377  var E_Test_Nested_XNestedNested_XGarblez = &proto.ExtensionDesc{
   378  	ExtendedType:  (*Test)(nil),
   379  	ExtensionType: (*string)(nil),
   380  	Field:         100,
   381  	Name:          "foo.bar.Test.Nested._NestedNested._garblez",
   382  	Tag:           "bytes,100,opt,name=_garblez",
   383  	Filename:      "desc_test_complex.proto",
   384  }
   385  
   386  type Test_Nested__NestedNested_NestedNestedNested struct {
   387  	Test                 *Test    `protobuf:"bytes,1,opt,name=Test" json:"Test,omitempty"`
   388  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   389  	XXX_unrecognized     []byte   `json:"-"`
   390  	XXX_sizecache        int32    `json:"-"`
   391  }
   392  
   393  func (m *Test_Nested__NestedNested_NestedNestedNested) Reset() {
   394  	*m = Test_Nested__NestedNested_NestedNestedNested{}
   395  }
   396  func (m *Test_Nested__NestedNested_NestedNestedNested) String() string {
   397  	return proto.CompactTextString(m)
   398  }
   399  func (*Test_Nested__NestedNested_NestedNestedNested) ProtoMessage() {}
   400  func (*Test_Nested__NestedNested_NestedNestedNested) Descriptor() ([]byte, []int) {
   401  	return fileDescriptor_2643e20efc4f24c4, []int{1, 1, 0, 0}
   402  }
   403  
   404  func (m *Test_Nested__NestedNested_NestedNestedNested) XXX_Unmarshal(b []byte) error {
   405  	return xxx_messageInfo_Test_Nested__NestedNested_NestedNestedNested.Unmarshal(m, b)
   406  }
   407  func (m *Test_Nested__NestedNested_NestedNestedNested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   408  	return xxx_messageInfo_Test_Nested__NestedNested_NestedNestedNested.Marshal(b, m, deterministic)
   409  }
   410  func (m *Test_Nested__NestedNested_NestedNestedNested) XXX_Merge(src proto.Message) {
   411  	xxx_messageInfo_Test_Nested__NestedNested_NestedNestedNested.Merge(m, src)
   412  }
   413  func (m *Test_Nested__NestedNested_NestedNestedNested) XXX_Size() int {
   414  	return xxx_messageInfo_Test_Nested__NestedNested_NestedNestedNested.Size(m)
   415  }
   416  func (m *Test_Nested__NestedNested_NestedNestedNested) XXX_DiscardUnknown() {
   417  	xxx_messageInfo_Test_Nested__NestedNested_NestedNestedNested.DiscardUnknown(m)
   418  }
   419  
   420  var xxx_messageInfo_Test_Nested__NestedNested_NestedNestedNested proto.InternalMessageInfo
   421  
   422  func (m *Test_Nested__NestedNested_NestedNestedNested) GetTest() *Test {
   423  	if m != nil {
   424  		return m.Test
   425  	}
   426  	return nil
   427  }
   428  
   429  type MessageWithReservations struct {
   430  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   431  	XXX_unrecognized     []byte   `json:"-"`
   432  	XXX_sizecache        int32    `json:"-"`
   433  }
   434  
   435  func (m *MessageWithReservations) Reset()         { *m = MessageWithReservations{} }
   436  func (m *MessageWithReservations) String() string { return proto.CompactTextString(m) }
   437  func (*MessageWithReservations) ProtoMessage()    {}
   438  func (*MessageWithReservations) Descriptor() ([]byte, []int) {
   439  	return fileDescriptor_2643e20efc4f24c4, []int{2}
   440  }
   441  
   442  func (m *MessageWithReservations) XXX_Unmarshal(b []byte) error {
   443  	return xxx_messageInfo_MessageWithReservations.Unmarshal(m, b)
   444  }
   445  func (m *MessageWithReservations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   446  	return xxx_messageInfo_MessageWithReservations.Marshal(b, m, deterministic)
   447  }
   448  func (m *MessageWithReservations) XXX_Merge(src proto.Message) {
   449  	xxx_messageInfo_MessageWithReservations.Merge(m, src)
   450  }
   451  func (m *MessageWithReservations) XXX_Size() int {
   452  	return xxx_messageInfo_MessageWithReservations.Size(m)
   453  }
   454  func (m *MessageWithReservations) XXX_DiscardUnknown() {
   455  	xxx_messageInfo_MessageWithReservations.DiscardUnknown(m)
   456  }
   457  
   458  var xxx_messageInfo_MessageWithReservations proto.InternalMessageInfo
   459  
   460  type Another struct {
   461  	Test                 *Test                          `protobuf:"bytes,1,opt,name=test" json:"test,omitempty"`
   462  	Fff                  *Test_Nested__NestedNested_EEE `protobuf:"varint,2,opt,name=fff,enum=foo.bar.Test_Nested__NestedNested_EEE,def=1" json:"fff,omitempty"`
   463  	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
   464  	XXX_unrecognized     []byte                         `json:"-"`
   465  	XXX_sizecache        int32                          `json:"-"`
   466  }
   467  
   468  func (m *Another) Reset()         { *m = Another{} }
   469  func (m *Another) String() string { return proto.CompactTextString(m) }
   470  func (*Another) ProtoMessage()    {}
   471  func (*Another) Descriptor() ([]byte, []int) {
   472  	return fileDescriptor_2643e20efc4f24c4, []int{3}
   473  }
   474  
   475  func (m *Another) XXX_Unmarshal(b []byte) error {
   476  	return xxx_messageInfo_Another.Unmarshal(m, b)
   477  }
   478  func (m *Another) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   479  	return xxx_messageInfo_Another.Marshal(b, m, deterministic)
   480  }
   481  func (m *Another) XXX_Merge(src proto.Message) {
   482  	xxx_messageInfo_Another.Merge(m, src)
   483  }
   484  func (m *Another) XXX_Size() int {
   485  	return xxx_messageInfo_Another.Size(m)
   486  }
   487  func (m *Another) XXX_DiscardUnknown() {
   488  	xxx_messageInfo_Another.DiscardUnknown(m)
   489  }
   490  
   491  var xxx_messageInfo_Another proto.InternalMessageInfo
   492  
   493  const Default_Another_Fff Test_Nested__NestedNested_EEE = Test_Nested__NestedNested_V1
   494  
   495  func (m *Another) GetTest() *Test {
   496  	if m != nil {
   497  		return m.Test
   498  	}
   499  	return nil
   500  }
   501  
   502  func (m *Another) GetFff() Test_Nested__NestedNested_EEE {
   503  	if m != nil && m.Fff != nil {
   504  		return *m.Fff
   505  	}
   506  	return Default_Another_Fff
   507  }
   508  
   509  type Validator struct {
   510  	Authenticated        *bool                   `protobuf:"varint,1,opt,name=authenticated" json:"authenticated,omitempty"`
   511  	Permission           []*Validator_Permission `protobuf:"bytes,2,rep,name=permission" json:"permission,omitempty"`
   512  	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
   513  	XXX_unrecognized     []byte                  `json:"-"`
   514  	XXX_sizecache        int32                   `json:"-"`
   515  }
   516  
   517  func (m *Validator) Reset()         { *m = Validator{} }
   518  func (m *Validator) String() string { return proto.CompactTextString(m) }
   519  func (*Validator) ProtoMessage()    {}
   520  func (*Validator) Descriptor() ([]byte, []int) {
   521  	return fileDescriptor_2643e20efc4f24c4, []int{4}
   522  }
   523  
   524  func (m *Validator) XXX_Unmarshal(b []byte) error {
   525  	return xxx_messageInfo_Validator.Unmarshal(m, b)
   526  }
   527  func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   528  	return xxx_messageInfo_Validator.Marshal(b, m, deterministic)
   529  }
   530  func (m *Validator) XXX_Merge(src proto.Message) {
   531  	xxx_messageInfo_Validator.Merge(m, src)
   532  }
   533  func (m *Validator) XXX_Size() int {
   534  	return xxx_messageInfo_Validator.Size(m)
   535  }
   536  func (m *Validator) XXX_DiscardUnknown() {
   537  	xxx_messageInfo_Validator.DiscardUnknown(m)
   538  }
   539  
   540  var xxx_messageInfo_Validator proto.InternalMessageInfo
   541  
   542  func (m *Validator) GetAuthenticated() bool {
   543  	if m != nil && m.Authenticated != nil {
   544  		return *m.Authenticated
   545  	}
   546  	return false
   547  }
   548  
   549  func (m *Validator) GetPermission() []*Validator_Permission {
   550  	if m != nil {
   551  		return m.Permission
   552  	}
   553  	return nil
   554  }
   555  
   556  type Validator_Permission struct {
   557  	Action               *Validator_Action `protobuf:"varint,1,opt,name=action,enum=foo.bar.Validator_Action" json:"action,omitempty"`
   558  	Entity               *string           `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"`
   559  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
   560  	XXX_unrecognized     []byte            `json:"-"`
   561  	XXX_sizecache        int32             `json:"-"`
   562  }
   563  
   564  func (m *Validator_Permission) Reset()         { *m = Validator_Permission{} }
   565  func (m *Validator_Permission) String() string { return proto.CompactTextString(m) }
   566  func (*Validator_Permission) ProtoMessage()    {}
   567  func (*Validator_Permission) Descriptor() ([]byte, []int) {
   568  	return fileDescriptor_2643e20efc4f24c4, []int{4, 0}
   569  }
   570  
   571  func (m *Validator_Permission) XXX_Unmarshal(b []byte) error {
   572  	return xxx_messageInfo_Validator_Permission.Unmarshal(m, b)
   573  }
   574  func (m *Validator_Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   575  	return xxx_messageInfo_Validator_Permission.Marshal(b, m, deterministic)
   576  }
   577  func (m *Validator_Permission) XXX_Merge(src proto.Message) {
   578  	xxx_messageInfo_Validator_Permission.Merge(m, src)
   579  }
   580  func (m *Validator_Permission) XXX_Size() int {
   581  	return xxx_messageInfo_Validator_Permission.Size(m)
   582  }
   583  func (m *Validator_Permission) XXX_DiscardUnknown() {
   584  	xxx_messageInfo_Validator_Permission.DiscardUnknown(m)
   585  }
   586  
   587  var xxx_messageInfo_Validator_Permission proto.InternalMessageInfo
   588  
   589  func (m *Validator_Permission) GetAction() Validator_Action {
   590  	if m != nil && m.Action != nil {
   591  		return *m.Action
   592  	}
   593  	return Validator_LOGIN
   594  }
   595  
   596  func (m *Validator_Permission) GetEntity() string {
   597  	if m != nil && m.Entity != nil {
   598  		return *m.Entity
   599  	}
   600  	return ""
   601  }
   602  
   603  type Rule struct {
   604  	// Types that are valid to be assigned to Rule:
   605  	//	*Rule_String_
   606  	//	*Rule_Repeated
   607  	//	*Rule_Int
   608  	Rule                 isRule_Rule `protobuf_oneof:"rule"`
   609  	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
   610  	XXX_unrecognized     []byte      `json:"-"`
   611  	XXX_sizecache        int32       `json:"-"`
   612  }
   613  
   614  func (m *Rule) Reset()         { *m = Rule{} }
   615  func (m *Rule) String() string { return proto.CompactTextString(m) }
   616  func (*Rule) ProtoMessage()    {}
   617  func (*Rule) Descriptor() ([]byte, []int) {
   618  	return fileDescriptor_2643e20efc4f24c4, []int{5}
   619  }
   620  
   621  func (m *Rule) XXX_Unmarshal(b []byte) error {
   622  	return xxx_messageInfo_Rule.Unmarshal(m, b)
   623  }
   624  func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   625  	return xxx_messageInfo_Rule.Marshal(b, m, deterministic)
   626  }
   627  func (m *Rule) XXX_Merge(src proto.Message) {
   628  	xxx_messageInfo_Rule.Merge(m, src)
   629  }
   630  func (m *Rule) XXX_Size() int {
   631  	return xxx_messageInfo_Rule.Size(m)
   632  }
   633  func (m *Rule) XXX_DiscardUnknown() {
   634  	xxx_messageInfo_Rule.DiscardUnknown(m)
   635  }
   636  
   637  var xxx_messageInfo_Rule proto.InternalMessageInfo
   638  
   639  type isRule_Rule interface {
   640  	isRule_Rule()
   641  }
   642  
   643  type Rule_String_ struct {
   644  	String_ *Rule_StringRule `protobuf:"bytes,1,opt,name=string,oneof"`
   645  }
   646  
   647  type Rule_Repeated struct {
   648  	Repeated *Rule_RepeatedRule `protobuf:"bytes,2,opt,name=repeated,oneof"`
   649  }
   650  
   651  type Rule_Int struct {
   652  	Int *Rule_IntRule `protobuf:"bytes,3,opt,name=int,oneof"`
   653  }
   654  
   655  func (*Rule_String_) isRule_Rule() {}
   656  
   657  func (*Rule_Repeated) isRule_Rule() {}
   658  
   659  func (*Rule_Int) isRule_Rule() {}
   660  
   661  func (m *Rule) GetRule() isRule_Rule {
   662  	if m != nil {
   663  		return m.Rule
   664  	}
   665  	return nil
   666  }
   667  
   668  func (m *Rule) GetString_() *Rule_StringRule {
   669  	if x, ok := m.GetRule().(*Rule_String_); ok {
   670  		return x.String_
   671  	}
   672  	return nil
   673  }
   674  
   675  func (m *Rule) GetRepeated() *Rule_RepeatedRule {
   676  	if x, ok := m.GetRule().(*Rule_Repeated); ok {
   677  		return x.Repeated
   678  	}
   679  	return nil
   680  }
   681  
   682  func (m *Rule) GetInt() *Rule_IntRule {
   683  	if x, ok := m.GetRule().(*Rule_Int); ok {
   684  		return x.Int
   685  	}
   686  	return nil
   687  }
   688  
   689  // XXX_OneofWrappers is for the internal use of the proto package.
   690  func (*Rule) XXX_OneofWrappers() []interface{} {
   691  	return []interface{}{
   692  		(*Rule_String_)(nil),
   693  		(*Rule_Repeated)(nil),
   694  		(*Rule_Int)(nil),
   695  	}
   696  }
   697  
   698  type Rule_StringRule struct {
   699  	Pattern              *string  `protobuf:"bytes,1,opt,name=pattern" json:"pattern,omitempty"`
   700  	AllowEmpty           *bool    `protobuf:"varint,2,opt,name=allow_empty,json=allowEmpty" json:"allow_empty,omitempty"`
   701  	MinLen               *int32   `protobuf:"varint,3,opt,name=min_len,json=minLen" json:"min_len,omitempty"`
   702  	MaxLen               *int32   `protobuf:"varint,4,opt,name=max_len,json=maxLen" json:"max_len,omitempty"`
   703  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   704  	XXX_unrecognized     []byte   `json:"-"`
   705  	XXX_sizecache        int32    `json:"-"`
   706  }
   707  
   708  func (m *Rule_StringRule) Reset()         { *m = Rule_StringRule{} }
   709  func (m *Rule_StringRule) String() string { return proto.CompactTextString(m) }
   710  func (*Rule_StringRule) ProtoMessage()    {}
   711  func (*Rule_StringRule) Descriptor() ([]byte, []int) {
   712  	return fileDescriptor_2643e20efc4f24c4, []int{5, 0}
   713  }
   714  
   715  func (m *Rule_StringRule) XXX_Unmarshal(b []byte) error {
   716  	return xxx_messageInfo_Rule_StringRule.Unmarshal(m, b)
   717  }
   718  func (m *Rule_StringRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   719  	return xxx_messageInfo_Rule_StringRule.Marshal(b, m, deterministic)
   720  }
   721  func (m *Rule_StringRule) XXX_Merge(src proto.Message) {
   722  	xxx_messageInfo_Rule_StringRule.Merge(m, src)
   723  }
   724  func (m *Rule_StringRule) XXX_Size() int {
   725  	return xxx_messageInfo_Rule_StringRule.Size(m)
   726  }
   727  func (m *Rule_StringRule) XXX_DiscardUnknown() {
   728  	xxx_messageInfo_Rule_StringRule.DiscardUnknown(m)
   729  }
   730  
   731  var xxx_messageInfo_Rule_StringRule proto.InternalMessageInfo
   732  
   733  func (m *Rule_StringRule) GetPattern() string {
   734  	if m != nil && m.Pattern != nil {
   735  		return *m.Pattern
   736  	}
   737  	return ""
   738  }
   739  
   740  func (m *Rule_StringRule) GetAllowEmpty() bool {
   741  	if m != nil && m.AllowEmpty != nil {
   742  		return *m.AllowEmpty
   743  	}
   744  	return false
   745  }
   746  
   747  func (m *Rule_StringRule) GetMinLen() int32 {
   748  	if m != nil && m.MinLen != nil {
   749  		return *m.MinLen
   750  	}
   751  	return 0
   752  }
   753  
   754  func (m *Rule_StringRule) GetMaxLen() int32 {
   755  	if m != nil && m.MaxLen != nil {
   756  		return *m.MaxLen
   757  	}
   758  	return 0
   759  }
   760  
   761  type Rule_IntRule struct {
   762  	MinVal               *int64   `protobuf:"varint,1,opt,name=min_val,json=minVal" json:"min_val,omitempty"`
   763  	MaxVal               *uint64  `protobuf:"varint,2,opt,name=max_val,json=maxVal" json:"max_val,omitempty"`
   764  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   765  	XXX_unrecognized     []byte   `json:"-"`
   766  	XXX_sizecache        int32    `json:"-"`
   767  }
   768  
   769  func (m *Rule_IntRule) Reset()         { *m = Rule_IntRule{} }
   770  func (m *Rule_IntRule) String() string { return proto.CompactTextString(m) }
   771  func (*Rule_IntRule) ProtoMessage()    {}
   772  func (*Rule_IntRule) Descriptor() ([]byte, []int) {
   773  	return fileDescriptor_2643e20efc4f24c4, []int{5, 1}
   774  }
   775  
   776  func (m *Rule_IntRule) XXX_Unmarshal(b []byte) error {
   777  	return xxx_messageInfo_Rule_IntRule.Unmarshal(m, b)
   778  }
   779  func (m *Rule_IntRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   780  	return xxx_messageInfo_Rule_IntRule.Marshal(b, m, deterministic)
   781  }
   782  func (m *Rule_IntRule) XXX_Merge(src proto.Message) {
   783  	xxx_messageInfo_Rule_IntRule.Merge(m, src)
   784  }
   785  func (m *Rule_IntRule) XXX_Size() int {
   786  	return xxx_messageInfo_Rule_IntRule.Size(m)
   787  }
   788  func (m *Rule_IntRule) XXX_DiscardUnknown() {
   789  	xxx_messageInfo_Rule_IntRule.DiscardUnknown(m)
   790  }
   791  
   792  var xxx_messageInfo_Rule_IntRule proto.InternalMessageInfo
   793  
   794  func (m *Rule_IntRule) GetMinVal() int64 {
   795  	if m != nil && m.MinVal != nil {
   796  		return *m.MinVal
   797  	}
   798  	return 0
   799  }
   800  
   801  func (m *Rule_IntRule) GetMaxVal() uint64 {
   802  	if m != nil && m.MaxVal != nil {
   803  		return *m.MaxVal
   804  	}
   805  	return 0
   806  }
   807  
   808  type Rule_RepeatedRule struct {
   809  	AllowEmpty           *bool    `protobuf:"varint,1,opt,name=allow_empty,json=allowEmpty" json:"allow_empty,omitempty"`
   810  	MinItems             *int32   `protobuf:"varint,2,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
   811  	MaxItems             *int32   `protobuf:"varint,3,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
   812  	Items                *Rule    `protobuf:"bytes,4,opt,name=items" json:"items,omitempty"`
   813  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   814  	XXX_unrecognized     []byte   `json:"-"`
   815  	XXX_sizecache        int32    `json:"-"`
   816  }
   817  
   818  func (m *Rule_RepeatedRule) Reset()         { *m = Rule_RepeatedRule{} }
   819  func (m *Rule_RepeatedRule) String() string { return proto.CompactTextString(m) }
   820  func (*Rule_RepeatedRule) ProtoMessage()    {}
   821  func (*Rule_RepeatedRule) Descriptor() ([]byte, []int) {
   822  	return fileDescriptor_2643e20efc4f24c4, []int{5, 2}
   823  }
   824  
   825  func (m *Rule_RepeatedRule) XXX_Unmarshal(b []byte) error {
   826  	return xxx_messageInfo_Rule_RepeatedRule.Unmarshal(m, b)
   827  }
   828  func (m *Rule_RepeatedRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   829  	return xxx_messageInfo_Rule_RepeatedRule.Marshal(b, m, deterministic)
   830  }
   831  func (m *Rule_RepeatedRule) XXX_Merge(src proto.Message) {
   832  	xxx_messageInfo_Rule_RepeatedRule.Merge(m, src)
   833  }
   834  func (m *Rule_RepeatedRule) XXX_Size() int {
   835  	return xxx_messageInfo_Rule_RepeatedRule.Size(m)
   836  }
   837  func (m *Rule_RepeatedRule) XXX_DiscardUnknown() {
   838  	xxx_messageInfo_Rule_RepeatedRule.DiscardUnknown(m)
   839  }
   840  
   841  var xxx_messageInfo_Rule_RepeatedRule proto.InternalMessageInfo
   842  
   843  func (m *Rule_RepeatedRule) GetAllowEmpty() bool {
   844  	if m != nil && m.AllowEmpty != nil {
   845  		return *m.AllowEmpty
   846  	}
   847  	return false
   848  }
   849  
   850  func (m *Rule_RepeatedRule) GetMinItems() int32 {
   851  	if m != nil && m.MinItems != nil {
   852  		return *m.MinItems
   853  	}
   854  	return 0
   855  }
   856  
   857  func (m *Rule_RepeatedRule) GetMaxItems() int32 {
   858  	if m != nil && m.MaxItems != nil {
   859  		return *m.MaxItems
   860  	}
   861  	return 0
   862  }
   863  
   864  func (m *Rule_RepeatedRule) GetItems() *Rule {
   865  	if m != nil {
   866  		return m.Items
   867  	}
   868  	return nil
   869  }
   870  
   871  type IsAuthorizedReq struct {
   872  	Subjects             []string `protobuf:"bytes,1,rep,name=subjects" json:"subjects,omitempty"`
   873  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   874  	XXX_unrecognized     []byte   `json:"-"`
   875  	XXX_sizecache        int32    `json:"-"`
   876  }
   877  
   878  func (m *IsAuthorizedReq) Reset()         { *m = IsAuthorizedReq{} }
   879  func (m *IsAuthorizedReq) String() string { return proto.CompactTextString(m) }
   880  func (*IsAuthorizedReq) ProtoMessage()    {}
   881  func (*IsAuthorizedReq) Descriptor() ([]byte, []int) {
   882  	return fileDescriptor_2643e20efc4f24c4, []int{6}
   883  }
   884  
   885  func (m *IsAuthorizedReq) XXX_Unmarshal(b []byte) error {
   886  	return xxx_messageInfo_IsAuthorizedReq.Unmarshal(m, b)
   887  }
   888  func (m *IsAuthorizedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   889  	return xxx_messageInfo_IsAuthorizedReq.Marshal(b, m, deterministic)
   890  }
   891  func (m *IsAuthorizedReq) XXX_Merge(src proto.Message) {
   892  	xxx_messageInfo_IsAuthorizedReq.Merge(m, src)
   893  }
   894  func (m *IsAuthorizedReq) XXX_Size() int {
   895  	return xxx_messageInfo_IsAuthorizedReq.Size(m)
   896  }
   897  func (m *IsAuthorizedReq) XXX_DiscardUnknown() {
   898  	xxx_messageInfo_IsAuthorizedReq.DiscardUnknown(m)
   899  }
   900  
   901  var xxx_messageInfo_IsAuthorizedReq proto.InternalMessageInfo
   902  
   903  func (m *IsAuthorizedReq) GetSubjects() []string {
   904  	if m != nil {
   905  		return m.Subjects
   906  	}
   907  	return nil
   908  }
   909  
   910  type KeywordCollisions struct {
   911  	Syntax               *bool    `protobuf:"varint,1,opt,name=syntax" json:"syntax,omitempty"`
   912  	Import               *bool    `protobuf:"varint,2,opt,name=import" json:"import,omitempty"`
   913  	Public               *bool    `protobuf:"varint,3,opt,name=public" json:"public,omitempty"`
   914  	Weak                 *bool    `protobuf:"varint,4,opt,name=weak" json:"weak,omitempty"`
   915  	Package              *bool    `protobuf:"varint,5,opt,name=package" json:"package,omitempty"`
   916  	String_              *string  `protobuf:"bytes,6,opt,name=string" json:"string,omitempty"`
   917  	Bytes                []byte   `protobuf:"bytes,7,opt,name=bytes" json:"bytes,omitempty"`
   918  	Int32                *int32   `protobuf:"varint,8,opt,name=int32" json:"int32,omitempty"`
   919  	Int64                *int64   `protobuf:"varint,9,opt,name=int64" json:"int64,omitempty"`
   920  	Uint32               *uint32  `protobuf:"varint,10,opt,name=uint32" json:"uint32,omitempty"`
   921  	Uint64               *uint64  `protobuf:"varint,11,opt,name=uint64" json:"uint64,omitempty"`
   922  	Sint32               *int32   `protobuf:"zigzag32,12,opt,name=sint32" json:"sint32,omitempty"`
   923  	Sint64               *int64   `protobuf:"zigzag64,13,opt,name=sint64" json:"sint64,omitempty"`
   924  	Fixed32              *uint32  `protobuf:"fixed32,14,opt,name=fixed32" json:"fixed32,omitempty"`
   925  	Fixed64              *uint64  `protobuf:"fixed64,15,opt,name=fixed64" json:"fixed64,omitempty"`
   926  	Sfixed32             *int32   `protobuf:"fixed32,16,opt,name=sfixed32" json:"sfixed32,omitempty"`
   927  	Sfixed64             *int64   `protobuf:"fixed64,17,opt,name=sfixed64" json:"sfixed64,omitempty"`
   928  	Bool                 *bool    `protobuf:"varint,18,opt,name=bool" json:"bool,omitempty"`
   929  	Float                *float32 `protobuf:"fixed32,19,opt,name=float" json:"float,omitempty"`
   930  	Double               *float64 `protobuf:"fixed64,20,opt,name=double" json:"double,omitempty"`
   931  	Optional             *bool    `protobuf:"varint,21,opt,name=optional" json:"optional,omitempty"`
   932  	Repeated             *bool    `protobuf:"varint,22,opt,name=repeated" json:"repeated,omitempty"`
   933  	Required             *bool    `protobuf:"varint,23,opt,name=required" json:"required,omitempty"`
   934  	Message              *bool    `protobuf:"varint,24,opt,name=message" json:"message,omitempty"`
   935  	Enum                 *bool    `protobuf:"varint,25,opt,name=enum" json:"enum,omitempty"`
   936  	Service              *bool    `protobuf:"varint,26,opt,name=service" json:"service,omitempty"`
   937  	Rpc                  *bool    `protobuf:"varint,27,opt,name=rpc" json:"rpc,omitempty"`
   938  	Option               *bool    `protobuf:"varint,28,opt,name=option" json:"option,omitempty"`
   939  	Extend               *bool    `protobuf:"varint,29,opt,name=extend" json:"extend,omitempty"`
   940  	Extensions           *bool    `protobuf:"varint,30,opt,name=extensions" json:"extensions,omitempty"`
   941  	Reserved             *bool    `protobuf:"varint,31,opt,name=reserved" json:"reserved,omitempty"`
   942  	To                   *bool    `protobuf:"varint,32,opt,name=to" json:"to,omitempty"`
   943  	True                 *int32   `protobuf:"varint,33,opt,name=true" json:"true,omitempty"`
   944  	False                *int32   `protobuf:"varint,34,opt,name=false" json:"false,omitempty"`
   945  	Default              *int32   `protobuf:"varint,35,opt,name=default" json:"default,omitempty"`
   946  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   947  	XXX_unrecognized     []byte   `json:"-"`
   948  	XXX_sizecache        int32    `json:"-"`
   949  }
   950  
   951  func (m *KeywordCollisions) Reset()         { *m = KeywordCollisions{} }
   952  func (m *KeywordCollisions) String() string { return proto.CompactTextString(m) }
   953  func (*KeywordCollisions) ProtoMessage()    {}
   954  func (*KeywordCollisions) Descriptor() ([]byte, []int) {
   955  	return fileDescriptor_2643e20efc4f24c4, []int{7}
   956  }
   957  
   958  func (m *KeywordCollisions) XXX_Unmarshal(b []byte) error {
   959  	return xxx_messageInfo_KeywordCollisions.Unmarshal(m, b)
   960  }
   961  func (m *KeywordCollisions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   962  	return xxx_messageInfo_KeywordCollisions.Marshal(b, m, deterministic)
   963  }
   964  func (m *KeywordCollisions) XXX_Merge(src proto.Message) {
   965  	xxx_messageInfo_KeywordCollisions.Merge(m, src)
   966  }
   967  func (m *KeywordCollisions) XXX_Size() int {
   968  	return xxx_messageInfo_KeywordCollisions.Size(m)
   969  }
   970  func (m *KeywordCollisions) XXX_DiscardUnknown() {
   971  	xxx_messageInfo_KeywordCollisions.DiscardUnknown(m)
   972  }
   973  
   974  var xxx_messageInfo_KeywordCollisions proto.InternalMessageInfo
   975  
   976  func (m *KeywordCollisions) GetSyntax() bool {
   977  	if m != nil && m.Syntax != nil {
   978  		return *m.Syntax
   979  	}
   980  	return false
   981  }
   982  
   983  func (m *KeywordCollisions) GetImport() bool {
   984  	if m != nil && m.Import != nil {
   985  		return *m.Import
   986  	}
   987  	return false
   988  }
   989  
   990  func (m *KeywordCollisions) GetPublic() bool {
   991  	if m != nil && m.Public != nil {
   992  		return *m.Public
   993  	}
   994  	return false
   995  }
   996  
   997  func (m *KeywordCollisions) GetWeak() bool {
   998  	if m != nil && m.Weak != nil {
   999  		return *m.Weak
  1000  	}
  1001  	return false
  1002  }
  1003  
  1004  func (m *KeywordCollisions) GetPackage() bool {
  1005  	if m != nil && m.Package != nil {
  1006  		return *m.Package
  1007  	}
  1008  	return false
  1009  }
  1010  
  1011  func (m *KeywordCollisions) GetString_() string {
  1012  	if m != nil && m.String_ != nil {
  1013  		return *m.String_
  1014  	}
  1015  	return ""
  1016  }
  1017  
  1018  func (m *KeywordCollisions) GetBytes() []byte {
  1019  	if m != nil {
  1020  		return m.Bytes
  1021  	}
  1022  	return nil
  1023  }
  1024  
  1025  func (m *KeywordCollisions) GetInt32() int32 {
  1026  	if m != nil && m.Int32 != nil {
  1027  		return *m.Int32
  1028  	}
  1029  	return 0
  1030  }
  1031  
  1032  func (m *KeywordCollisions) GetInt64() int64 {
  1033  	if m != nil && m.Int64 != nil {
  1034  		return *m.Int64
  1035  	}
  1036  	return 0
  1037  }
  1038  
  1039  func (m *KeywordCollisions) GetUint32() uint32 {
  1040  	if m != nil && m.Uint32 != nil {
  1041  		return *m.Uint32
  1042  	}
  1043  	return 0
  1044  }
  1045  
  1046  func (m *KeywordCollisions) GetUint64() uint64 {
  1047  	if m != nil && m.Uint64 != nil {
  1048  		return *m.Uint64
  1049  	}
  1050  	return 0
  1051  }
  1052  
  1053  func (m *KeywordCollisions) GetSint32() int32 {
  1054  	if m != nil && m.Sint32 != nil {
  1055  		return *m.Sint32
  1056  	}
  1057  	return 0
  1058  }
  1059  
  1060  func (m *KeywordCollisions) GetSint64() int64 {
  1061  	if m != nil && m.Sint64 != nil {
  1062  		return *m.Sint64
  1063  	}
  1064  	return 0
  1065  }
  1066  
  1067  func (m *KeywordCollisions) GetFixed32() uint32 {
  1068  	if m != nil && m.Fixed32 != nil {
  1069  		return *m.Fixed32
  1070  	}
  1071  	return 0
  1072  }
  1073  
  1074  func (m *KeywordCollisions) GetFixed64() uint64 {
  1075  	if m != nil && m.Fixed64 != nil {
  1076  		return *m.Fixed64
  1077  	}
  1078  	return 0
  1079  }
  1080  
  1081  func (m *KeywordCollisions) GetSfixed32() int32 {
  1082  	if m != nil && m.Sfixed32 != nil {
  1083  		return *m.Sfixed32
  1084  	}
  1085  	return 0
  1086  }
  1087  
  1088  func (m *KeywordCollisions) GetSfixed64() int64 {
  1089  	if m != nil && m.Sfixed64 != nil {
  1090  		return *m.Sfixed64
  1091  	}
  1092  	return 0
  1093  }
  1094  
  1095  func (m *KeywordCollisions) GetBool() bool {
  1096  	if m != nil && m.Bool != nil {
  1097  		return *m.Bool
  1098  	}
  1099  	return false
  1100  }
  1101  
  1102  func (m *KeywordCollisions) GetFloat() float32 {
  1103  	if m != nil && m.Float != nil {
  1104  		return *m.Float
  1105  	}
  1106  	return 0
  1107  }
  1108  
  1109  func (m *KeywordCollisions) GetDouble() float64 {
  1110  	if m != nil && m.Double != nil {
  1111  		return *m.Double
  1112  	}
  1113  	return 0
  1114  }
  1115  
  1116  func (m *KeywordCollisions) GetOptional() bool {
  1117  	if m != nil && m.Optional != nil {
  1118  		return *m.Optional
  1119  	}
  1120  	return false
  1121  }
  1122  
  1123  func (m *KeywordCollisions) GetRepeated() bool {
  1124  	if m != nil && m.Repeated != nil {
  1125  		return *m.Repeated
  1126  	}
  1127  	return false
  1128  }
  1129  
  1130  func (m *KeywordCollisions) GetRequired() bool {
  1131  	if m != nil && m.Required != nil {
  1132  		return *m.Required
  1133  	}
  1134  	return false
  1135  }
  1136  
  1137  func (m *KeywordCollisions) GetMessage() bool {
  1138  	if m != nil && m.Message != nil {
  1139  		return *m.Message
  1140  	}
  1141  	return false
  1142  }
  1143  
  1144  func (m *KeywordCollisions) GetEnum() bool {
  1145  	if m != nil && m.Enum != nil {
  1146  		return *m.Enum
  1147  	}
  1148  	return false
  1149  }
  1150  
  1151  func (m *KeywordCollisions) GetService() bool {
  1152  	if m != nil && m.Service != nil {
  1153  		return *m.Service
  1154  	}
  1155  	return false
  1156  }
  1157  
  1158  func (m *KeywordCollisions) GetRpc() bool {
  1159  	if m != nil && m.Rpc != nil {
  1160  		return *m.Rpc
  1161  	}
  1162  	return false
  1163  }
  1164  
  1165  func (m *KeywordCollisions) GetOption() bool {
  1166  	if m != nil && m.Option != nil {
  1167  		return *m.Option
  1168  	}
  1169  	return false
  1170  }
  1171  
  1172  func (m *KeywordCollisions) GetExtend() bool {
  1173  	if m != nil && m.Extend != nil {
  1174  		return *m.Extend
  1175  	}
  1176  	return false
  1177  }
  1178  
  1179  func (m *KeywordCollisions) GetExtensions() bool {
  1180  	if m != nil && m.Extensions != nil {
  1181  		return *m.Extensions
  1182  	}
  1183  	return false
  1184  }
  1185  
  1186  func (m *KeywordCollisions) GetReserved() bool {
  1187  	if m != nil && m.Reserved != nil {
  1188  		return *m.Reserved
  1189  	}
  1190  	return false
  1191  }
  1192  
  1193  func (m *KeywordCollisions) GetTo() bool {
  1194  	if m != nil && m.To != nil {
  1195  		return *m.To
  1196  	}
  1197  	return false
  1198  }
  1199  
  1200  func (m *KeywordCollisions) GetTrue() int32 {
  1201  	if m != nil && m.True != nil {
  1202  		return *m.True
  1203  	}
  1204  	return 0
  1205  }
  1206  
  1207  func (m *KeywordCollisions) GetFalse() int32 {
  1208  	if m != nil && m.False != nil {
  1209  		return *m.False
  1210  	}
  1211  	return 0
  1212  }
  1213  
  1214  func (m *KeywordCollisions) GetDefault() int32 {
  1215  	if m != nil && m.Default != nil {
  1216  		return *m.Default
  1217  	}
  1218  	return 0
  1219  }
  1220  
  1221  type KeywordCollisionOptions struct {
  1222  	Id                   *uint64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
  1223  	Name                 *string  `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
  1224  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1225  	XXX_unrecognized     []byte   `json:"-"`
  1226  	XXX_sizecache        int32    `json:"-"`
  1227  }
  1228  
  1229  func (m *KeywordCollisionOptions) Reset()         { *m = KeywordCollisionOptions{} }
  1230  func (m *KeywordCollisionOptions) String() string { return proto.CompactTextString(m) }
  1231  func (*KeywordCollisionOptions) ProtoMessage()    {}
  1232  func (*KeywordCollisionOptions) Descriptor() ([]byte, []int) {
  1233  	return fileDescriptor_2643e20efc4f24c4, []int{8}
  1234  }
  1235  
  1236  func (m *KeywordCollisionOptions) XXX_Unmarshal(b []byte) error {
  1237  	return xxx_messageInfo_KeywordCollisionOptions.Unmarshal(m, b)
  1238  }
  1239  func (m *KeywordCollisionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1240  	return xxx_messageInfo_KeywordCollisionOptions.Marshal(b, m, deterministic)
  1241  }
  1242  func (m *KeywordCollisionOptions) XXX_Merge(src proto.Message) {
  1243  	xxx_messageInfo_KeywordCollisionOptions.Merge(m, src)
  1244  }
  1245  func (m *KeywordCollisionOptions) XXX_Size() int {
  1246  	return xxx_messageInfo_KeywordCollisionOptions.Size(m)
  1247  }
  1248  func (m *KeywordCollisionOptions) XXX_DiscardUnknown() {
  1249  	xxx_messageInfo_KeywordCollisionOptions.DiscardUnknown(m)
  1250  }
  1251  
  1252  var xxx_messageInfo_KeywordCollisionOptions proto.InternalMessageInfo
  1253  
  1254  func (m *KeywordCollisionOptions) GetId() uint64 {
  1255  	if m != nil && m.Id != nil {
  1256  		return *m.Id
  1257  	}
  1258  	return 0
  1259  }
  1260  
  1261  func (m *KeywordCollisionOptions) GetName() string {
  1262  	if m != nil && m.Name != nil {
  1263  		return *m.Name
  1264  	}
  1265  	return ""
  1266  }
  1267  
  1268  var E_Label = &proto.ExtensionDesc{
  1269  	ExtendedType:  (*descriptor.ExtensionRangeOptions)(nil),
  1270  	ExtensionType: (*string)(nil),
  1271  	Field:         20000,
  1272  	Name:          "foo.bar.label",
  1273  	Tag:           "bytes,20000,opt,name=label",
  1274  	Filename:      "desc_test_complex.proto",
  1275  }
  1276  
  1277  var E_Rept = &proto.ExtensionDesc{
  1278  	ExtendedType:  (*descriptor.MessageOptions)(nil),
  1279  	ExtensionType: ([]*Test)(nil),
  1280  	Field:         20002,
  1281  	Name:          "foo.bar.rept",
  1282  	Tag:           "bytes,20002,rep,name=rept",
  1283  	Filename:      "desc_test_complex.proto",
  1284  }
  1285  
  1286  var E_Eee = &proto.ExtensionDesc{
  1287  	ExtendedType:  (*descriptor.MessageOptions)(nil),
  1288  	ExtensionType: (*Test_Nested__NestedNested_EEE)(nil),
  1289  	Field:         20010,
  1290  	Name:          "foo.bar.eee",
  1291  	Tag:           "varint,20010,opt,name=eee,enum=foo.bar.Test_Nested__NestedNested_EEE",
  1292  	Filename:      "desc_test_complex.proto",
  1293  }
  1294  
  1295  var E_A = &proto.ExtensionDesc{
  1296  	ExtendedType:  (*descriptor.MessageOptions)(nil),
  1297  	ExtensionType: (*Another)(nil),
  1298  	Field:         20020,
  1299  	Name:          "foo.bar.a",
  1300  	Tag:           "bytes,20020,opt,name=a",
  1301  	Filename:      "desc_test_complex.proto",
  1302  }
  1303  
  1304  var E_Validator = &proto.ExtensionDesc{
  1305  	ExtendedType:  (*descriptor.MethodOptions)(nil),
  1306  	ExtensionType: (*Validator)(nil),
  1307  	Field:         12345,
  1308  	Name:          "foo.bar.validator",
  1309  	Tag:           "bytes,12345,opt,name=validator",
  1310  	Filename:      "desc_test_complex.proto",
  1311  }
  1312  
  1313  var E_Rules = &proto.ExtensionDesc{
  1314  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1315  	ExtensionType: (*Rule)(nil),
  1316  	Field:         1234,
  1317  	Name:          "foo.bar.rules",
  1318  	Tag:           "bytes,1234,opt,name=rules",
  1319  	Filename:      "desc_test_complex.proto",
  1320  }
  1321  
  1322  var E_Syntax = &proto.ExtensionDesc{
  1323  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1324  	ExtensionType: (*bool)(nil),
  1325  	Field:         20001,
  1326  	Name:          "foo.bar.syntax",
  1327  	Tag:           "varint,20001,opt,name=syntax",
  1328  	Filename:      "desc_test_complex.proto",
  1329  }
  1330  
  1331  var E_Import = &proto.ExtensionDesc{
  1332  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1333  	ExtensionType: (*bool)(nil),
  1334  	Field:         20002,
  1335  	Name:          "foo.bar.import",
  1336  	Tag:           "varint,20002,opt,name=import",
  1337  	Filename:      "desc_test_complex.proto",
  1338  }
  1339  
  1340  var E_Public = &proto.ExtensionDesc{
  1341  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1342  	ExtensionType: (*bool)(nil),
  1343  	Field:         20003,
  1344  	Name:          "foo.bar.public",
  1345  	Tag:           "varint,20003,opt,name=public",
  1346  	Filename:      "desc_test_complex.proto",
  1347  }
  1348  
  1349  var E_Weak = &proto.ExtensionDesc{
  1350  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1351  	ExtensionType: (*bool)(nil),
  1352  	Field:         20004,
  1353  	Name:          "foo.bar.weak",
  1354  	Tag:           "varint,20004,opt,name=weak",
  1355  	Filename:      "desc_test_complex.proto",
  1356  }
  1357  
  1358  var E_Package = &proto.ExtensionDesc{
  1359  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1360  	ExtensionType: (*bool)(nil),
  1361  	Field:         20005,
  1362  	Name:          "foo.bar.package",
  1363  	Tag:           "varint,20005,opt,name=package",
  1364  	Filename:      "desc_test_complex.proto",
  1365  }
  1366  
  1367  var E_String = &proto.ExtensionDesc{
  1368  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1369  	ExtensionType: (*string)(nil),
  1370  	Field:         20006,
  1371  	Name:          "foo.bar.string",
  1372  	Tag:           "bytes,20006,opt,name=string",
  1373  	Filename:      "desc_test_complex.proto",
  1374  }
  1375  
  1376  var E_Bytes = &proto.ExtensionDesc{
  1377  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1378  	ExtensionType: ([]byte)(nil),
  1379  	Field:         20007,
  1380  	Name:          "foo.bar.bytes",
  1381  	Tag:           "bytes,20007,opt,name=bytes",
  1382  	Filename:      "desc_test_complex.proto",
  1383  }
  1384  
  1385  var E_Int32 = &proto.ExtensionDesc{
  1386  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1387  	ExtensionType: (*int32)(nil),
  1388  	Field:         20008,
  1389  	Name:          "foo.bar.int32",
  1390  	Tag:           "varint,20008,opt,name=int32",
  1391  	Filename:      "desc_test_complex.proto",
  1392  }
  1393  
  1394  var E_Int64 = &proto.ExtensionDesc{
  1395  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1396  	ExtensionType: (*int64)(nil),
  1397  	Field:         20009,
  1398  	Name:          "foo.bar.int64",
  1399  	Tag:           "varint,20009,opt,name=int64",
  1400  	Filename:      "desc_test_complex.proto",
  1401  }
  1402  
  1403  var E_Uint32 = &proto.ExtensionDesc{
  1404  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1405  	ExtensionType: (*uint32)(nil),
  1406  	Field:         20010,
  1407  	Name:          "foo.bar.uint32",
  1408  	Tag:           "varint,20010,opt,name=uint32",
  1409  	Filename:      "desc_test_complex.proto",
  1410  }
  1411  
  1412  var E_Uint64 = &proto.ExtensionDesc{
  1413  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1414  	ExtensionType: (*uint64)(nil),
  1415  	Field:         20011,
  1416  	Name:          "foo.bar.uint64",
  1417  	Tag:           "varint,20011,opt,name=uint64",
  1418  	Filename:      "desc_test_complex.proto",
  1419  }
  1420  
  1421  var E_Sint32 = &proto.ExtensionDesc{
  1422  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1423  	ExtensionType: (*int32)(nil),
  1424  	Field:         20012,
  1425  	Name:          "foo.bar.sint32",
  1426  	Tag:           "zigzag32,20012,opt,name=sint32",
  1427  	Filename:      "desc_test_complex.proto",
  1428  }
  1429  
  1430  var E_Sint64 = &proto.ExtensionDesc{
  1431  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1432  	ExtensionType: (*int64)(nil),
  1433  	Field:         20013,
  1434  	Name:          "foo.bar.sint64",
  1435  	Tag:           "zigzag64,20013,opt,name=sint64",
  1436  	Filename:      "desc_test_complex.proto",
  1437  }
  1438  
  1439  var E_Fixed32 = &proto.ExtensionDesc{
  1440  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1441  	ExtensionType: (*uint32)(nil),
  1442  	Field:         20014,
  1443  	Name:          "foo.bar.fixed32",
  1444  	Tag:           "fixed32,20014,opt,name=fixed32",
  1445  	Filename:      "desc_test_complex.proto",
  1446  }
  1447  
  1448  var E_Fixed64 = &proto.ExtensionDesc{
  1449  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1450  	ExtensionType: (*uint64)(nil),
  1451  	Field:         20015,
  1452  	Name:          "foo.bar.fixed64",
  1453  	Tag:           "fixed64,20015,opt,name=fixed64",
  1454  	Filename:      "desc_test_complex.proto",
  1455  }
  1456  
  1457  var E_Sfixed32 = &proto.ExtensionDesc{
  1458  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1459  	ExtensionType: (*int32)(nil),
  1460  	Field:         20016,
  1461  	Name:          "foo.bar.sfixed32",
  1462  	Tag:           "fixed32,20016,opt,name=sfixed32",
  1463  	Filename:      "desc_test_complex.proto",
  1464  }
  1465  
  1466  var E_Sfixed64 = &proto.ExtensionDesc{
  1467  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1468  	ExtensionType: (*int64)(nil),
  1469  	Field:         20017,
  1470  	Name:          "foo.bar.sfixed64",
  1471  	Tag:           "fixed64,20017,opt,name=sfixed64",
  1472  	Filename:      "desc_test_complex.proto",
  1473  }
  1474  
  1475  var E_Bool = &proto.ExtensionDesc{
  1476  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1477  	ExtensionType: (*bool)(nil),
  1478  	Field:         20018,
  1479  	Name:          "foo.bar.bool",
  1480  	Tag:           "varint,20018,opt,name=bool",
  1481  	Filename:      "desc_test_complex.proto",
  1482  }
  1483  
  1484  var E_Float = &proto.ExtensionDesc{
  1485  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1486  	ExtensionType: (*float32)(nil),
  1487  	Field:         20019,
  1488  	Name:          "foo.bar.float",
  1489  	Tag:           "fixed32,20019,opt,name=float",
  1490  	Filename:      "desc_test_complex.proto",
  1491  }
  1492  
  1493  var E_Double = &proto.ExtensionDesc{
  1494  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1495  	ExtensionType: (*float64)(nil),
  1496  	Field:         20020,
  1497  	Name:          "foo.bar.double",
  1498  	Tag:           "fixed64,20020,opt,name=double",
  1499  	Filename:      "desc_test_complex.proto",
  1500  }
  1501  
  1502  var E_Optional = &proto.ExtensionDesc{
  1503  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1504  	ExtensionType: (*bool)(nil),
  1505  	Field:         20021,
  1506  	Name:          "foo.bar.optional",
  1507  	Tag:           "varint,20021,opt,name=optional",
  1508  	Filename:      "desc_test_complex.proto",
  1509  }
  1510  
  1511  var E_Repeated = &proto.ExtensionDesc{
  1512  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1513  	ExtensionType: (*bool)(nil),
  1514  	Field:         20022,
  1515  	Name:          "foo.bar.repeated",
  1516  	Tag:           "varint,20022,opt,name=repeated",
  1517  	Filename:      "desc_test_complex.proto",
  1518  }
  1519  
  1520  var E_Required = &proto.ExtensionDesc{
  1521  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1522  	ExtensionType: (*bool)(nil),
  1523  	Field:         20023,
  1524  	Name:          "foo.bar.required",
  1525  	Tag:           "varint,20023,opt,name=required",
  1526  	Filename:      "desc_test_complex.proto",
  1527  }
  1528  
  1529  var E_Message = &proto.ExtensionDesc{
  1530  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1531  	ExtensionType: (*bool)(nil),
  1532  	Field:         20024,
  1533  	Name:          "foo.bar.message",
  1534  	Tag:           "varint,20024,opt,name=message",
  1535  	Filename:      "desc_test_complex.proto",
  1536  }
  1537  
  1538  var E_Enum = &proto.ExtensionDesc{
  1539  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1540  	ExtensionType: (*bool)(nil),
  1541  	Field:         20025,
  1542  	Name:          "foo.bar.enum",
  1543  	Tag:           "varint,20025,opt,name=enum",
  1544  	Filename:      "desc_test_complex.proto",
  1545  }
  1546  
  1547  var E_Service = &proto.ExtensionDesc{
  1548  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1549  	ExtensionType: (*bool)(nil),
  1550  	Field:         20026,
  1551  	Name:          "foo.bar.service",
  1552  	Tag:           "varint,20026,opt,name=service",
  1553  	Filename:      "desc_test_complex.proto",
  1554  }
  1555  
  1556  var E_Rpc = &proto.ExtensionDesc{
  1557  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1558  	ExtensionType: (*bool)(nil),
  1559  	Field:         20027,
  1560  	Name:          "foo.bar.rpc",
  1561  	Tag:           "varint,20027,opt,name=rpc",
  1562  	Filename:      "desc_test_complex.proto",
  1563  }
  1564  
  1565  var E_Option = &proto.ExtensionDesc{
  1566  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1567  	ExtensionType: (*bool)(nil),
  1568  	Field:         20028,
  1569  	Name:          "foo.bar.option",
  1570  	Tag:           "varint,20028,opt,name=option",
  1571  	Filename:      "desc_test_complex.proto",
  1572  }
  1573  
  1574  var E_Extend = &proto.ExtensionDesc{
  1575  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1576  	ExtensionType: (*bool)(nil),
  1577  	Field:         20029,
  1578  	Name:          "foo.bar.extend",
  1579  	Tag:           "varint,20029,opt,name=extend",
  1580  	Filename:      "desc_test_complex.proto",
  1581  }
  1582  
  1583  var E_Extensions = &proto.ExtensionDesc{
  1584  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1585  	ExtensionType: (*bool)(nil),
  1586  	Field:         20030,
  1587  	Name:          "foo.bar.extensions",
  1588  	Tag:           "varint,20030,opt,name=extensions",
  1589  	Filename:      "desc_test_complex.proto",
  1590  }
  1591  
  1592  var E_Reserved = &proto.ExtensionDesc{
  1593  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1594  	ExtensionType: (*bool)(nil),
  1595  	Field:         20031,
  1596  	Name:          "foo.bar.reserved",
  1597  	Tag:           "varint,20031,opt,name=reserved",
  1598  	Filename:      "desc_test_complex.proto",
  1599  }
  1600  
  1601  var E_To = &proto.ExtensionDesc{
  1602  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1603  	ExtensionType: (*bool)(nil),
  1604  	Field:         20032,
  1605  	Name:          "foo.bar.to",
  1606  	Tag:           "varint,20032,opt,name=to",
  1607  	Filename:      "desc_test_complex.proto",
  1608  }
  1609  
  1610  var E_True = &proto.ExtensionDesc{
  1611  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1612  	ExtensionType: (*int32)(nil),
  1613  	Field:         20033,
  1614  	Name:          "foo.bar.true",
  1615  	Tag:           "varint,20033,opt,name=true",
  1616  	Filename:      "desc_test_complex.proto",
  1617  }
  1618  
  1619  var E_False = &proto.ExtensionDesc{
  1620  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1621  	ExtensionType: (*int32)(nil),
  1622  	Field:         20034,
  1623  	Name:          "foo.bar.false",
  1624  	Tag:           "varint,20034,opt,name=false",
  1625  	Filename:      "desc_test_complex.proto",
  1626  }
  1627  
  1628  var E_Default = &proto.ExtensionDesc{
  1629  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1630  	ExtensionType: (*int32)(nil),
  1631  	Field:         20035,
  1632  	Name:          "foo.bar.default",
  1633  	Tag:           "varint,20035,opt,name=default",
  1634  	Filename:      "desc_test_complex.proto",
  1635  }
  1636  
  1637  var E_Boom = &proto.ExtensionDesc{
  1638  	ExtendedType:  (*descriptor.FieldOptions)(nil),
  1639  	ExtensionType: (*KeywordCollisions)(nil),
  1640  	Field:         20036,
  1641  	Name:          "foo.bar.boom",
  1642  	Tag:           "bytes,20036,opt,name=boom",
  1643  	Filename:      "desc_test_complex.proto",
  1644  }
  1645  
  1646  func init() {
  1647  	proto.RegisterEnum("foo.bar.EnumWithReservations", EnumWithReservations_name, EnumWithReservations_value)
  1648  	proto.RegisterEnum("foo.bar.Test_Nested__NestedNested_EEE", Test_Nested__NestedNested_EEE_name, Test_Nested__NestedNested_EEE_value)
  1649  	proto.RegisterEnum("foo.bar.Validator_Action", Validator_Action_name, Validator_Action_value)
  1650  	proto.RegisterType((*Simple)(nil), "foo.bar.Simple")
  1651  	proto.RegisterType((*Test)(nil), "foo.bar.Test")
  1652  	proto.RegisterMapType((map[string]int32)(nil), "foo.bar.Test.MEntry")
  1653  	proto.RegisterExtension(E_Test_Nested_Fooblez)
  1654  	proto.RegisterType((*Test_Nested)(nil), "foo.bar.Test.Nested")
  1655  	proto.RegisterExtension(E_Test_Nested_XNestedNested_XGarblez)
  1656  	proto.RegisterType((*Test_Nested__NestedNested)(nil), "foo.bar.Test.Nested._NestedNested")
  1657  	proto.RegisterType((*Test_Nested__NestedNested_NestedNestedNested)(nil), "foo.bar.Test.Nested._NestedNested.NestedNestedNested")
  1658  	proto.RegisterType((*MessageWithReservations)(nil), "foo.bar.MessageWithReservations")
  1659  	proto.RegisterType((*Another)(nil), "foo.bar.Another")
  1660  	proto.RegisterType((*Validator)(nil), "foo.bar.Validator")
  1661  	proto.RegisterType((*Validator_Permission)(nil), "foo.bar.Validator.Permission")
  1662  	proto.RegisterType((*Rule)(nil), "foo.bar.Rule")
  1663  	proto.RegisterType((*Rule_StringRule)(nil), "foo.bar.Rule.StringRule")
  1664  	proto.RegisterType((*Rule_IntRule)(nil), "foo.bar.Rule.IntRule")
  1665  	proto.RegisterType((*Rule_RepeatedRule)(nil), "foo.bar.Rule.RepeatedRule")
  1666  	proto.RegisterType((*IsAuthorizedReq)(nil), "foo.bar.IsAuthorizedReq")
  1667  	proto.RegisterType((*KeywordCollisions)(nil), "foo.bar.KeywordCollisions")
  1668  	proto.RegisterType((*KeywordCollisionOptions)(nil), "foo.bar.KeywordCollisionOptions")
  1669  	proto.RegisterExtension(E_Label)
  1670  	proto.RegisterExtension(E_Rept)
  1671  	proto.RegisterExtension(E_Eee)
  1672  	proto.RegisterExtension(E_A)
  1673  	proto.RegisterExtension(E_Validator)
  1674  	proto.RegisterExtension(E_Rules)
  1675  	proto.RegisterExtension(E_Syntax)
  1676  	proto.RegisterExtension(E_Import)
  1677  	proto.RegisterExtension(E_Public)
  1678  	proto.RegisterExtension(E_Weak)
  1679  	proto.RegisterExtension(E_Package)
  1680  	proto.RegisterExtension(E_String)
  1681  	proto.RegisterExtension(E_Bytes)
  1682  	proto.RegisterExtension(E_Int32)
  1683  	proto.RegisterExtension(E_Int64)
  1684  	proto.RegisterExtension(E_Uint32)
  1685  	proto.RegisterExtension(E_Uint64)
  1686  	proto.RegisterExtension(E_Sint32)
  1687  	proto.RegisterExtension(E_Sint64)
  1688  	proto.RegisterExtension(E_Fixed32)
  1689  	proto.RegisterExtension(E_Fixed64)
  1690  	proto.RegisterExtension(E_Sfixed32)
  1691  	proto.RegisterExtension(E_Sfixed64)
  1692  	proto.RegisterExtension(E_Bool)
  1693  	proto.RegisterExtension(E_Float)
  1694  	proto.RegisterExtension(E_Double)
  1695  	proto.RegisterExtension(E_Optional)
  1696  	proto.RegisterExtension(E_Repeated)
  1697  	proto.RegisterExtension(E_Required)
  1698  	proto.RegisterExtension(E_Message)
  1699  	proto.RegisterExtension(E_Enum)
  1700  	proto.RegisterExtension(E_Service)
  1701  	proto.RegisterExtension(E_Rpc)
  1702  	proto.RegisterExtension(E_Option)
  1703  	proto.RegisterExtension(E_Extend)
  1704  	proto.RegisterExtension(E_Extensions)
  1705  	proto.RegisterExtension(E_Reserved)
  1706  	proto.RegisterExtension(E_To)
  1707  	proto.RegisterExtension(E_True)
  1708  	proto.RegisterExtension(E_False)
  1709  	proto.RegisterExtension(E_Default)
  1710  	proto.RegisterExtension(E_Boom)
  1711  }
  1712  
  1713  func init() { proto.RegisterFile("desc_test_complex.proto", fileDescriptor_2643e20efc4f24c4) }
  1714  
  1715  var fileDescriptor_2643e20efc4f24c4 = []byte{
  1716  	// 2590 bytes of a gzipped FileDescriptorProto
  1717  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x98, 0x5b, 0x6c, 0x1c, 0xd5,
  1718  	0x19, 0xc7, 0xfd, 0xcd, 0xec, 0xae, 0xe7, 0x1c, 0x3b, 0xc9, 0x70, 0x08, 0x64, 0xb2, 0x34, 0x64,
  1719  	0xb3, 0xa0, 0x68, 0xe3, 0xb6, 0x9b, 0xf5, 0xda, 0x31, 0x30, 0x01, 0x12, 0x3b, 0xb8, 0x90, 0x70,
  1720  	0x09, 0x1d, 0x68, 0xa0, 0x60, 0x6a, 0x66, 0x77, 0xcf, 0xda, 0x03, 0xb3, 0x33, 0xcb, 0xcc, 0x6c,
  1721  	0xb0, 0xd3, 0x48, 0x58, 0x45, 0x45, 0xf4, 0xa5, 0x4d, 0xa3, 0x3e, 0x44, 0x95, 0x91, 0xc0, 0xb4,
  1722  	0x05, 0x0a, 0x6d, 0x29, 0xbd, 0x01, 0xbd, 0x85, 0xd2, 0x87, 0x14, 0x09, 0x29, 0xe2, 0x89, 0xbe,
  1723  	0x00, 0xda, 0x8d, 0xaa, 0x3c, 0x46, 0xa2, 0x48, 0xa0, 0xaa, 0x4d, 0x75, 0x2e, 0x33, 0x6b, 0x27,
  1724  	0xa9, 0x86, 0xae, 0x64, 0xcf, 0x7c, 0xe7, 0xfb, 0x7e, 0xdf, 0xb9, 0x9f, 0xf3, 0xdf, 0xc5, 0x9b,
  1725  	0x1a, 0x34, 0xac, 0xcf, 0x46, 0x34, 0x8c, 0x66, 0xeb, 0x7e, 0xab, 0xed, 0xd2, 0x85, 0x72, 0x3b,
  1726  	0xf0, 0x23, 0x9f, 0x0c, 0x36, 0x7d, 0xbf, 0x5c, 0xb3, 0x83, 0x7c, 0x61, 0xce, 0xf7, 0xe7, 0x5c,
  1727  	0xba, 0x93, 0x17, 0xd7, 0x3a, 0xcd, 0x9d, 0x8c, 0x08, 0x9c, 0x76, 0xe4, 0x07, 0x22, 0xb4, 0xf8,
  1728  	0x25, 0x9c, 0xbb, 0xc7, 0x61, 0x2c, 0x21, 0x38, 0xe3, 0xd9, 0x2d, 0x6a, 0x40, 0x01, 0x4a, 0xc8,
  1729  	0xe2, 0xef, 0x64, 0x3d, 0x56, 0x9c, 0x86, 0xa1, 0x14, 0xa0, 0x94, 0xb1, 0x14, 0xa7, 0x51, 0x7c,
  1730  	0x37, 0x83, 0x33, 0xf7, 0xd2, 0x30, 0x22, 0x04, 0xab, 0x4d, 0xdf, 0x97, 0xb1, 0xd9, 0xa3, 0x4d,
  1731  	0xdf, 0x3f, 0x4a, 0x36, 0xe2, 0xac, 0x1d, 0x04, 0xf6, 0xa2, 0xa1, 0x14, 0xd4, 0x52, 0xd6, 0x12,
  1732  	0x06, 0xd9, 0x82, 0x21, 0x34, 0xd4, 0x02, 0x94, 0x86, 0xaa, 0x1b, 0xca, 0xb2, 0x5d, 0x65, 0x51,
  1733  	0xa5, 0x05, 0x21, 0x73, 0x07, 0x46, 0xa6, 0xa0, 0x5e, 0xd2, 0x1d, 0x90, 0x22, 0x86, 0x96, 0x91,
  1734  	0xe5, 0xee, 0x8d, 0x89, 0x9b, 0xb5, 0xa0, 0x7c, 0xe7, 0xb4, 0x17, 0x05, 0x8b, 0x16, 0xb4, 0xc8,
  1735  	0x38, 0x86, 0x9a, 0x91, 0x2b, 0x40, 0x69, 0xd8, 0xdc, 0x3e, 0x53, 0xa9, 0x54, 0x66, 0x2a, 0x95,
  1736  	0xd1, 0x99, 0x4a, 0xa5, 0x3a, 0x53, 0xa9, 0x8c, 0xcd, 0x54, 0x2a, 0xe3, 0x33, 0x95, 0xca, 0xae,
  1737  	0x99, 0x4a, 0x65, 0x62, 0xa6, 0x52, 0xb9, 0xae, 0xd9, 0xa9, 0xd9, 0xc1, 0x36, 0x0b, 0x6a, 0xf9,
  1738  	0x71, 0x9c, 0x13, 0x29, 0x88, 0x8e, 0xd5, 0x47, 0xe9, 0xa2, 0xec, 0x0b, 0x7b, 0x65, 0x3d, 0x39,
  1739  	0x6c, 0xbb, 0x1d, 0xca, 0x7b, 0x9e, 0xb5, 0x84, 0x61, 0x2a, 0xd7, 0x43, 0xfe, 0x39, 0x05, 0xe7,
  1740  	0xee, 0xa2, 0x61, 0x44, 0x1b, 0xf9, 0xbf, 0x03, 0x5e, 0x37, 0x2b, 0xde, 0x65, 0xc9, 0x7e, 0x4c,
  1741  	0x56, 0xdb, 0xe2, 0x3f, 0xd9, 0x26, 0x86, 0x8c, 0xe7, 0x1f, 0xaa, 0xae, 0x5b, 0xd3, 0x0b, 0x8b,
  1742  	0xbb, 0x4c, 0xfd, 0x78, 0x17, 0x0d, 0x63, 0x75, 0xde, 0xf7, 0x57, 0x72, 0x99, 0xb0, 0xed, 0xfb,
  1743  	0xc5, 0x9b, 0xb0, 0x3a, 0x3d, 0x3d, 0x4d, 0x72, 0x58, 0x39, 0x78, 0xbb, 0x3e, 0xc0, 0x9e, 0x87,
  1744  	0x46, 0x75, 0xe0, 0xcf, 0xaa, 0xae, 0xf0, 0xe7, 0x98, 0xae, 0xf2, 0xe7, 0xb8, 0x9e, 0xe1, 0xcf,
  1745  	0x5d, 0x7a, 0x96, 0x3f, 0x27, 0xf4, 0x5c, 0xb5, 0x84, 0xb5, 0xd9, 0x39, 0x3b, 0xa8, 0xb9, 0xf4,
  1746  	0x08, 0x59, 0x5b, 0xa3, 0xd1, 0xe0, 0xdd, 0x1c, 0xbc, 0x55, 0x78, 0xcd, 0x8d, 0xc7, 0xbb, 0x68,
  1747  	0x08, 0xab, 0x73, 0xac, 0x6a, 0xb5, 0xe6, 0xfb, 0x27, 0xba, 0xe8, 0x93, 0xbb, 0xaa, 0xbb, 0x31,
  1748  	0x5b, 0x42, 0x1c, 0xdf, 0x5a, 0x16, 0x6b, 0xa8, 0x1c, 0xaf, 0xa1, 0xf2, 0x9d, 0x34, 0x0c, 0xed,
  1749  	0x39, 0x7a, 0xb0, 0x1d, 0x39, 0xbe, 0x17, 0x1a, 0xcf, 0x2f, 0x03, 0x1f, 0xa5, 0x98, 0x18, 0xc9,
  1750  	0x6a, 0x0d, 0xfd, 0x6f, 0x30, 0xa2, 0x6b, 0xaf, 0x28, 0xfa, 0x87, 0x4a, 0x5e, 0xfb, 0x56, 0x17,
  1751  	0x65, 0x1e, 0xb1, 0x8f, 0x1c, 0x19, 0xd1, 0xb5, 0x7f, 0xaa, 0xfa, 0x0b, 0x99, 0x7e, 0x49, 0x71,
  1752  	0x0f, 0xde, 0x24, 0xb3, 0xdd, 0xe7, 0x44, 0xf3, 0x16, 0x0d, 0x69, 0x70, 0xd8, 0xe6, 0x69, 0x0f,
  1753  	0x64, 0xb4, 0xac, 0x3e, 0x74, 0x20, 0xa3, 0x0d, 0xeb, 0xfa, 0x81, 0x8c, 0x46, 0xf4, 0xcb, 0x0f,
  1754  	0x20, 0xed, 0xec, 0xa0, 0xbe, 0xb4, 0xb4, 0xb4, 0xa4, 0x58, 0x30, 0x69, 0xc1, 0x94, 0x05, 0xfb,
  1755  	0x8a, 0x27, 0x14, 0x3c, 0x38, 0xe9, 0xf9, 0xd1, 0x3c, 0x0d, 0xd8, 0x40, 0x47, 0xff, 0x7b, 0xa0,
  1756  	0x99, 0x8b, 0xdc, 0x88, 0xd5, 0x66, 0xb3, 0xc9, 0xa7, 0x75, 0x7d, 0x75, 0xfb, 0xda, 0x05, 0x25,
  1757  	0xa6, 0xab, 0xbc, 0x66, 0x4a, 0xcb, 0xd3, 0xd3, 0xd3, 0xa6, 0x72, 0x68, 0xd4, 0x62, 0x98, 0xf9,
  1758  	0x32, 0x1c, 0xef, 0xa2, 0x6b, 0xb0, 0x6a, 0xd7, 0xea, 0x3a, 0xe8, 0x8a, 0xae, 0xe6, 0x07, 0xf9,
  1759  	0x36, 0xd0, 0xbf, 0x59, 0x54, 0x31, 0x34, 0xd9, 0xbf, 0xb0, 0xa8, 0xea, 0xa7, 0xd4, 0xe3, 0x5d,
  1760  	0xb4, 0x15, 0xab, 0x0d, 0xda, 0xd4, 0x55, 0x5d, 0xd1, 0x21, 0xaf, 0x61, 0xb5, 0x66, 0x07, 0xfa,
  1761  	0x5b, 0x0a, 0x0b, 0x99, 0xe3, 0x71, 0xc7, 0xbb, 0x28, 0xcb, 0x43, 0x4e, 0x77, 0x11, 0xac, 0xf4,
  1762  	0x90, 0xa2, 0x0f, 0xac, 0xf4, 0xd0, 0x15, 0xf8, 0xf2, 0x11, 0x99, 0xb3, 0x31, 0x22, 0xa9, 0x53,
  1763  	0xcc, 0x3d, 0x88, 0xb3, 0x58, 0x6d, 0x6d, 0x6f, 0xad, 0xf4, 0x10, 0xc6, 0x5a, 0x3e, 0x87, 0x33,
  1764  	0x8b, 0xbe, 0xeb, 0xaf, 0xf4, 0x90, 0x86, 0x73, 0xf9, 0x8c, 0xfe, 0xee, 0x93, 0xb9, 0x95, 0x1e,
  1765  	0xca, 0x60, 0x45, 0x07, 0xf9, 0x54, 0x8a, 0x1f, 0x03, 0x46, 0x87, 0x6c, 0xd7, 0x69, 0xd8, 0x91,
  1766  	0x1f, 0x90, 0x6b, 0xf1, 0x3a, 0xbb, 0x13, 0xcd, 0x53, 0x2f, 0x72, 0xea, 0x76, 0x44, 0x1b, 0x7c,
  1767  	0x94, 0x34, 0x6b, 0x6d, 0x21, 0xb9, 0x09, 0xe3, 0x36, 0x0d, 0x5a, 0x4e, 0x18, 0x3a, 0xbe, 0xc7,
  1768  	0xf7, 0xf1, 0x50, 0x75, 0x4b, 0x32, 0x4c, 0x49, 0xb6, 0xf2, 0xdd, 0x49, 0x90, 0xb5, 0x0a, 0xc8,
  1769  	0xdf, 0x87, 0x71, 0xdf, 0x43, 0x46, 0x71, 0xce, 0xae, 0xb3, 0xc9, 0xe4, 0x75, 0xad, 0xaf, 0x6e,
  1770  	0xbe, 0x44, 0xa2, 0x49, 0x1e, 0x60, 0xc9, 0x40, 0x72, 0x25, 0xce, 0xb1, 0xc6, 0x44, 0x8b, 0x7c,
  1771  	0x8a, 0x90, 0x25, 0xad, 0x62, 0x09, 0xe7, 0x44, 0x24, 0x41, 0x38, 0x7b, 0xc7, 0xc1, 0x5b, 0xf7,
  1772  	0xdf, 0xa5, 0x0f, 0x10, 0x0d, 0x67, 0xac, 0xe9, 0xc9, 0x5b, 0x74, 0x60, 0x85, 0xf7, 0x59, 0xfb,
  1773  	0xef, 0x9d, 0xd6, 0x95, 0xe2, 0x39, 0x15, 0x67, 0xac, 0x8e, 0x4b, 0x49, 0x15, 0xe7, 0xc2, 0x28,
  1774  	0x70, 0xbc, 0x39, 0xb9, 0x1e, 0x8c, 0xa4, 0x76, 0xe6, 0x2e, 0xdf, 0xc3, 0x7d, 0xec, 0xf5, 0xb6,
  1775  	0x01, 0x4b, 0x46, 0x92, 0xeb, 0xb1, 0x16, 0xd0, 0x36, 0xe5, 0xe3, 0xa3, 0x70, 0x2a, 0xbf, 0x96,
  1776  	0xb2, 0xa4, 0x57, 0x72, 0x49, 0x34, 0xd9, 0x81, 0x55, 0xc7, 0x8b, 0xe4, 0x39, 0x77, 0xc5, 0x5a,
  1777  	0x68, 0xbf, 0x17, 0xc9, 0x78, 0x16, 0x93, 0x5f, 0xc4, 0xb8, 0x5f, 0x39, 0x31, 0xf0, 0x60, 0xdb,
  1778  	0x8e, 0x22, 0x1a, 0x78, 0xf2, 0x00, 0x8a, 0x4d, 0xb2, 0x15, 0x0f, 0xd9, 0xae, 0xeb, 0x3f, 0x3e,
  1779  	0x4b, 0x5b, 0x6d, 0x39, 0x20, 0x9a, 0x85, 0x79, 0xd1, 0x34, 0x2b, 0x21, 0x9b, 0xf0, 0x60, 0xcb,
  1780  	0xf1, 0x66, 0x5d, 0xea, 0xf1, 0x7a, 0xb3, 0x56, 0xae, 0xe5, 0x78, 0x77, 0x50, 0x8f, 0x3b, 0xec,
  1781  	0x05, 0xee, 0xc8, 0x48, 0x87, 0xbd, 0x70, 0x07, 0xf5, 0xf2, 0xbb, 0xf1, 0xa0, 0x6c, 0x4c, 0x0c,
  1782  	0x1f, 0xb6, 0x5d, 0x5e, 0xaf, 0xca, 0xe1, 0x43, 0xb6, 0x1b, 0xc3, 0xcc, 0x21, 0xce, 0x7d, 0x06,
  1783  	0x1f, 0xb2, 0xdd, 0xfc, 0x77, 0x01, 0x0f, 0xaf, 0xee, 0xff, 0x85, 0x0d, 0x84, 0x8b, 0x1a, 0x78,
  1784  	0x15, 0x46, 0xac, 0x0e, 0x27, 0xa2, 0xad, 0x50, 0x1e, 0xa5, 0x5a, 0xcb, 0xf1, 0xf6, 0x33, 0x9b,
  1785  	0x3b, 0xed, 0x05, 0xe9, 0x54, 0xa5, 0xd3, 0x5e, 0x10, 0xce, 0x6b, 0x70, 0x56, 0x38, 0x32, 0x17,
  1786  	0xec, 0x65, 0x56, 0xb1, 0x25, 0x7c, 0x53, 0x39, 0x9c, 0x09, 0x3a, 0x2e, 0x2d, 0xb6, 0xf0, 0x86,
  1787  	0xfd, 0xe1, 0x64, 0x27, 0x9a, 0xf7, 0x03, 0xe7, 0x08, 0x6d, 0x58, 0xf4, 0x31, 0xf2, 0x00, 0xd6,
  1788  	0xc2, 0x4e, 0xed, 0x11, 0x5a, 0x8f, 0x42, 0x03, 0x0a, 0x6a, 0x09, 0x4d, 0xdd, 0x7c, 0xfc, 0xce,
  1789  	0xdd, 0xe4, 0x06, 0x1d, 0x8a, 0xbb, 0xf0, 0x18, 0x1e, 0xfd, 0x46, 0x69, 0x8f, 0x59, 0xda, 0x63,
  1790  	0x46, 0xd4, 0x6e, 0xb1, 0xa7, 0xeb, 0xd7, 0x6d, 0xf7, 0xa8, 0xdb, 0xb0, 0xdb, 0x3b, 0x76, 0x1c,
  1791  	0xed, 0x84, 0x34, 0xd8, 0x61, 0x3e, 0xf8, 0xa0, 0x69, 0xbb, 0x5e, 0xa7, 0x65, 0x3e, 0x34, 0xfb,
  1792  	0xe5, 0x87, 0xbe, 0x78, 0xad, 0x95, 0xe4, 0x2b, 0x7e, 0x98, 0xc3, 0x97, 0xdd, 0x4e, 0x17, 0x1f,
  1793  	0xf7, 0x83, 0xc6, 0x3e, 0xdf, 0x75, 0x1d, 0xb6, 0xd6, 0x43, 0xb6, 0x72, 0xc3, 0x45, 0x2f, 0xb2,
  1794  	0x17, 0xe4, 0x38, 0x48, 0x8b, 0x95, 0x3b, 0xad, 0xb6, 0x1f, 0x44, 0x72, 0x02, 0xa5, 0xc5, 0xca,
  1795  	0xdb, 0x9d, 0x9a, 0xeb, 0xd4, 0x79, 0xdf, 0x35, 0x4b, 0x5a, 0xec, 0x16, 0x7e, 0x9c, 0xda, 0x8f,
  1796  	0xf2, 0x8e, 0x6b, 0x16, 0x7f, 0x17, 0x6b, 0xa4, 0xfe, 0xa8, 0x3d, 0x47, 0x8d, 0x2c, 0x2f, 0x8e,
  1797  	0x4d, 0x5e, 0xab, 0x58, 0xe4, 0x39, 0xb1, 0x5f, 0xe4, 0x42, 0xde, 0x88, 0xb3, 0xb5, 0xc5, 0x88,
  1798  	0x86, 0xc6, 0x20, 0xbb, 0x16, 0x2d, 0x61, 0xb0, 0x52, 0xc7, 0x8b, 0xc6, 0xaa, 0x86, 0x26, 0xae,
  1799  	0x35, 0x6e, 0xc8, 0xd2, 0x89, 0x71, 0x03, 0xf1, 0x75, 0x20, 0x0c, 0x96, 0xb9, 0x23, 0x82, 0x71,
  1800  	0x01, 0x4a, 0xeb, 0x2c, 0x69, 0xc5, 0xe5, 0x13, 0xe3, 0xc6, 0x90, 0x58, 0x1d, 0x9d, 0x24, 0x3e,
  1801  	0x14, 0xf1, 0xc3, 0x05, 0x28, 0x5d, 0x66, 0x49, 0x2b, 0x2e, 0x9f, 0x18, 0x37, 0xd6, 0x15, 0xa0,
  1802  	0x44, 0x2c, 0x69, 0xb1, 0x3e, 0x35, 0x9d, 0x05, 0xda, 0x18, 0xab, 0x1a, 0xeb, 0x0b, 0x50, 0x1a,
  1803  	0xb4, 0x62, 0x33, 0xf1, 0x4c, 0x8c, 0x1b, 0x1b, 0x0a, 0x50, 0xca, 0x59, 0xb1, 0x49, 0xf2, 0x58,
  1804  	0x0b, 0x63, 0x48, 0x2f, 0x40, 0x69, 0x83, 0x95, 0xd8, 0x7d, 0xdf, 0xc4, 0xb8, 0x71, 0x59, 0x01,
  1805  	0x4a, 0xba, 0x95, 0xd8, 0x6c, 0x4c, 0x6b, 0xbe, 0xef, 0x1a, 0x44, 0x8c, 0x29, 0x7b, 0x67, 0xbd,
  1806  	0x6e, 0xba, 0xbe, 0x1d, 0x19, 0x97, 0x17, 0xa0, 0xa4, 0x58, 0xc2, 0x60, 0xad, 0x6d, 0xf8, 0x9d,
  1807  	0x9a, 0x4b, 0x8d, 0x8d, 0x05, 0x28, 0x81, 0x25, 0x2d, 0x96, 0xdd, 0xe7, 0xd7, 0x9d, 0xed, 0x1a,
  1808  	0x57, 0xf0, 0x2c, 0x89, 0xcd, 0x7c, 0xc9, 0xa1, 0x71, 0xa5, 0xf0, 0x25, 0xc7, 0x02, 0xf7, 0x3d,
  1809  	0xd6, 0x71, 0x02, 0xda, 0x30, 0x36, 0xc5, 0x3e, 0x61, 0xb3, 0x7e, 0xb6, 0xc4, 0xdd, 0x67, 0x18,
  1810  	0x62, 0x56, 0xa5, 0xc9, 0xda, 0x4b, 0xbd, 0x4e, 0xcb, 0xd8, 0x2c, 0xda, 0xcb, 0xde, 0x59, 0x34,
  1811  	0xbb, 0x1c, 0x9d, 0x3a, 0x35, 0xf2, 0x22, 0x5a, 0x9a, 0x4c, 0xbe, 0x04, 0xed, 0xba, 0x71, 0x15,
  1812  	0x2f, 0x65, 0xaf, 0xac, 0x17, 0xa2, 0x75, 0xc6, 0x17, 0xc4, 0xda, 0x12, 0x16, 0x3f, 0x5d, 0x17,
  1813  	0x22, 0xea, 0x35, 0x8c, 0x2d, 0xa2, 0x5c, 0x58, 0xe4, 0x6a, 0x8c, 0xf9, 0x1b, 0x5f, 0xc9, 0xc6,
  1814  	0xd5, 0x62, 0x1f, 0xf7, 0x4b, 0x44, 0x2f, 0x58, 0x75, 0xb4, 0x61, 0x6c, 0x8d, 0x7b, 0x21, 0x6c,
  1815  	0xa6, 0x10, 0x23, 0xdf, 0x28, 0xf0, 0x52, 0x25, 0xf2, 0x59, 0xdb, 0xa3, 0xa0, 0x43, 0x8d, 0x6d,
  1816  	0x7c, 0x89, 0xf1, 0x77, 0x3e, 0xd6, 0xb6, 0x1b, 0x52, 0xa3, 0x28, 0xd6, 0x1d, 0x37, 0x58, 0x8f,
  1817  	0x1a, 0xb4, 0x69, 0x77, 0xdc, 0xc8, 0xb8, 0x46, 0x08, 0x08, 0x69, 0x16, 0x7f, 0xa8, 0xe2, 0x4d,
  1818  	0x17, 0xee, 0x30, 0xa9, 0x36, 0xc8, 0x7b, 0xc0, 0x25, 0x29, 0xdb, 0x64, 0x99, 0xa9, 0xb7, 0xe0,
  1819  	0xe9, 0x2e, 0x82, 0x63, 0x5d, 0x04, 0x27, 0xba, 0x08, 0x9e, 0xed, 0x22, 0x78, 0xb1, 0x8b, 0xe0,
  1820  	0xb5, 0x2e, 0x92, 0xfb, 0xe0, 0xcd, 0x2e, 0x12, 0x4b, 0xff, 0x64, 0x17, 0x15, 0x4e, 0x75, 0xd1,
  1821  	0xde, 0xd3, 0x5d, 0xb4, 0xb4, 0xf9, 0xfd, 0x2e, 0x5a, 0xaa, 0x7e, 0xd4, 0x45, 0x7b, 0xce, 0x76,
  1822  	0xd1, 0x13, 0x9f, 0x74, 0xd1, 0xb3, 0xc3, 0x03, 0x03, 0x9f, 0x75, 0xd1, 0xde, 0xcd, 0x03, 0xfc,
  1823  	0xf3, 0xed, 0x1e, 0x7a, 0xf8, 0xe3, 0xf3, 0xe7, 0xbf, 0xd3, 0x43, 0x27, 0xff, 0x71, 0x9e, 0x7f,
  1824  	0x8e, 0xf5, 0x10, 0x3c, 0xd3, 0x43, 0x6f, 0x7f, 0x72, 0xdb, 0xde, 0xe7, 0x7a, 0xc8, 0x7b, 0xea,
  1825  	0xaa, 0x73, 0x9f, 0x6d, 0x43, 0x7b, 0x5f, 0xec, 0x21, 0x78, 0xb5, 0x87, 0xe0, 0xf5, 0x1e, 0x82,
  1826  	0x93, 0x3d, 0x04, 0xa7, 0x7a, 0x08, 0x4e, 0xf7, 0x10, 0xbc, 0xdf, 0x43, 0xf0, 0x51, 0x0f, 0xc1,
  1827  	0xd9, 0x1e, 0x82, 0x73, 0x3d, 0x04, 0x9f, 0xf6, 0x10, 0x2c, 0x9d, 0x41, 0xf0, 0xf4, 0x19, 0xe4,
  1828  	0x1f, 0x3b, 0x83, 0xbe, 0x7f, 0x5e, 0x7e, 0xe0, 0xc4, 0x19, 0xf4, 0x01, 0x30, 0x59, 0x4d, 0x5e,
  1829  	0x02, 0xa9, 0xbd, 0xf9, 0xad, 0x37, 0xf5, 0x03, 0x58, 0x39, 0x83, 0xbe, 0x07, 0x1a, 0xe8, 0xc0,
  1830  	0x3b, 0x0a, 0x55, 0xd9, 0x1f, 0x53, 0xf4, 0x66, 0x6f, 0xe1, 0xb6, 0xbd, 0x77, 0x2f, 0x6d, 0xbe,
  1831  	0x7f, 0xa9, 0xfa, 0xf0, 0x9e, 0xf9, 0x27, 0x3a, 0xac, 0xfd, 0x8b, 0x49, 0xeb, 0x81, 0x37, 0x1e,
  1832  	0x92, 0xb6, 0x03, 0x3c, 0x03, 0xbc, 0xe5, 0x90, 0x34, 0x1c, 0xe0, 0x55, 0x80, 0xd7, 0x01, 0x4e,
  1833  	0x02, 0x9c, 0x02, 0x38, 0x0d, 0xf0, 0x3e, 0xc0, 0x47, 0x00, 0x67, 0x01, 0xce, 0x01, 0x7c, 0x0a,
  1834  	0xb0, 0xa4, 0xc0, 0xd3, 0x8a, 0x7f, 0x4c, 0x59, 0xd5, 0x54, 0xe5, 0x03, 0x10, 0x5f, 0x09, 0x46,
  1835  	0x16, 0xf0, 0xc6, 0x69, 0xaf, 0xd3, 0xba, 0x50, 0xaf, 0x91, 0x2c, 0x86, 0xfb, 0x75, 0x85, 0x3d,
  1836  	0xbe, 0xae, 0xab, 0xec, 0xf1, 0x80, 0x9e, 0x29, 0x72, 0xc9, 0xc6, 0x32, 0x0c, 0x16, 0xd7, 0x69,
  1837  	0xff, 0x49, 0xd2, 0xe9, 0x50, 0x64, 0xf2, 0x0e, 0x17, 0x99, 0xbc, 0xdb, 0x50, 0x64, 0xf2, 0x8e,
  1838  	0x14, 0xaf, 0xd4, 0xfe, 0xd5, 0x0f, 0xf8, 0x77, 0xf2, 0x3a, 0x02, 0xfb, 0x46, 0x60, 0x6a, 0x04,
  1839  	0x26, 0xab, 0x4f, 0x01, 0xde, 0xc0, 0x94, 0x1a, 0xfb, 0xbb, 0x47, 0x2e, 0xfe, 0x1b, 0xb1, 0xf6,
  1840  	0xb5, 0x90, 0x06, 0xec, 0xf4, 0xbf, 0x40, 0xe8, 0xe6, 0xd7, 0x9a, 0x45, 0xf2, 0xce, 0x93, 0xb9,
  1841  	0xf5, 0x1a, 0x10, 0xac, 0x0d, 0x90, 0x5c, 0xdd, 0x75, 0xa8, 0x17, 0x91, 0x5d, 0x58, 0xbd, 0x95,
  1842  	0x46, 0x29, 0xa0, 0xfe, 0xce, 0x93, 0xb9, 0x61, 0x0d, 0x88, 0xa6, 0x01, 0xc9, 0xb0, 0xcb, 0xc1,
  1843  	0xbc, 0x19, 0x67, 0x5d, 0xbb, 0x46, 0x5d, 0xb2, 0xfd, 0x22, 0x6d, 0x3c, 0x1d, 0xef, 0x1a, 0xcb,
  1844  	0xf6, 0xfa, 0x12, 0xf9, 0xd9, 0x65, 0xf9, 0x45, 0x89, 0x63, 0xe6, 0x2d, 0x38, 0x13, 0xd0, 0x76,
  1845  	0x94, 0x2e, 0xad, 0x57, 0x96, 0x81, 0x4b, 0xb0, 0x0b, 0xb5, 0x2c, 0xa3, 0xcd, 0x07, 0xb1, 0x4a,
  1846  	0x29, 0x4d, 0x4f, 0xf2, 0xd3, 0x65, 0xf8, 0x7f, 0xe4, 0xae, 0xc5, 0xb2, 0x9a, 0x93, 0x18, 0xec,
  1847  	0xf4, 0xd4, 0xbf, 0x5e, 0x16, 0xda, 0x4a, 0x4f, 0x52, 0x4b, 0x2d, 0x6e, 0x81, 0x6d, 0x7e, 0x15,
  1848  	0xa3, 0xc3, 0x89, 0xfc, 0xbc, 0xfa, 0x12, 0xa9, 0xa2, 0x79, 0xbf, 0x11, 0x67, 0x7a, 0xe3, 0x61,
  1849  	0x9e, 0x88, 0x5c, 0x2c, 0x11, 0xad, 0x7e, 0x16, 0x73, 0x1f, 0xce, 0xb2, 0x1b, 0x3f, 0x24, 0x5b,
  1850  	0x2e, 0x4a, 0xf7, 0x15, 0x87, 0xba, 0x49, 0xb6, 0xf7, 0xd0, 0x25, 0x65, 0x03, 0x67, 0xcd, 0xeb,
  1851  	0xe2, 0x9b, 0x3a, 0x2d, 0xcb, 0x73, 0xcb, 0x6b, 0xae, 0x72, 0x06, 0xca, 0xcb, 0x3b, 0x05, 0x5c,
  1852  	0x89, 0x41, 0x11, 0xce, 0x40, 0x79, 0xbb, 0xa7, 0x80, 0xcf, 0xc7, 0xa0, 0x08, 0x37, 0xc7, 0x84,
  1853  	0x18, 0x48, 0xc3, 0x7e, 0x24, 0x31, 0x1e, 0x6c, 0xde, 0x90, 0xa8, 0x85, 0x34, 0xee, 0xc7, 0x92,
  1854  	0x8b, 0xe3, 0xf9, 0xd0, 0x08, 0x01, 0x91, 0x42, 0xfe, 0x44, 0x2e, 0xe8, 0xf8, 0x5c, 0xda, 0x25,
  1855  	0xf5, 0x46, 0x1a, 0xf7, 0x02, 0xe7, 0x62, 0x41, 0xc2, 0x30, 0xa1, 0x12, 0x52, 0xb0, 0x17, 0xe5,
  1856  	0x57, 0x4c, 0x11, 0x2d, 0xb1, 0x89, 0xf1, 0x34, 0xec, 0xa5, 0x65, 0x58, 0x25, 0x69, 0x58, 0xef,
  1857  	0x3a, 0x9f, 0xab, 0x3a, 0xb1, 0x63, 0x12, 0xcd, 0x13, 0x83, 0xe9, 0x15, 0xbe, 0xcc, 0xc1, 0x44,
  1858  	0x14, 0xf1, 0xf1, 0xfc, 0x5c, 0x35, 0xbe, 0xc2, 0xc1, 0x44, 0x35, 0xc5, 0x60, 0x7a, 0x8d, 0x3f,
  1859  	0xe3, 0x60, 0x22, 0xab, 0xd8, 0xe4, 0xc7, 0x8a, 0x28, 0x85, 0xfc, 0x39, 0x27, 0xfb, 0xba, 0x2b,
  1860  	0x41, 0xd3, 0x2b, 0xfd, 0x05, 0x47, 0xfb, 0xc2, 0xcc, 0xdc, 0xdd, 0x17, 0x66, 0x69, 0xec, 0xab,
  1861  	0x9c, 0x5d, 0xa5, 0xdc, 0xfa, 0x70, 0x7a, 0xc5, 0xbf, 0xe4, 0xf0, 0x2a, 0x69, 0xc7, 0x76, 0x08,
  1862  	0x97, 0x73, 0x29, 0xe0, 0x6b, 0xf1, 0x0e, 0x61, 0xc1, 0x6c, 0xfd, 0x08, 0xb9, 0x97, 0x42, 0xfd,
  1863  	0x8a, 0x53, 0xb1, 0x38, 0x64, 0x93, 0x22, 0xe5, 0x60, 0x0a, 0x27, 0x8e, 0xc5, 0x44, 0x3d, 0xb2,
  1864  	0x1e, 0x26, 0x6a, 0x31, 0x05, 0xfd, 0x8d, 0x6c, 0x68, 0x02, 0x30, 0x38, 0x91, 0x93, 0x29, 0xf0,
  1865  	0x6f, 0x63, 0x38, 0x06, 0x04, 0x2c, 0xf5, 0x66, 0x0a, 0xfc, 0xbb, 0x3e, 0x2c, 0x00, 0xb6, 0x20,
  1866  	0x62, 0x45, 0x9a, 0xc2, 0xbe, 0x1e, 0x1f, 0x24, 0x32, 0x9e, 0x4d, 0x0b, 0x57, 0xad, 0x29, 0xdc,
  1867  	0x1b, 0xf1, 0xb4, 0xb0, 0x60, 0x56, 0x5f, 0xac, 0x69, 0x53, 0xb8, 0x37, 0xe3, 0xfa, 0x64, 0xbc,
  1868  	0x39, 0xca, 0x35, 0x70, 0x1a, 0xf6, 0x7b, 0x89, 0xb1, 0x58, 0x36, 0x9b, 0x52, 0x16, 0xa7, 0x50,
  1869  	0x7f, 0x88, 0x0f, 0x65, 0x11, 0xce, 0x40, 0xa9, 0x9b, 0x53, 0xc0, 0x3f, 0xc6, 0xa0, 0x08, 0x37,
  1870  	0xf7, 0xac, 0x96, 0xd9, 0x69, 0xf0, 0x9f, 0x24, 0xbc, 0x0a, 0x11, 0xb3, 0x29, 0x75, 0x77, 0x0a,
  1871  	0xfe, 0xe7, 0xfe, 0x6c, 0x0a, 0xc0, 0xdc, 0xc9, 0x84, 0x7a, 0x1a, 0x76, 0x52, 0x62, 0x4a, 0xe4,
  1872  	0xb3, 0x39, 0xe4, 0xea, 0x3d, 0x05, 0x79, 0x4b, 0x9e, 0xcd, 0x3c, 0x98, 0x6f, 0x2d, 0xae, 0xee,
  1873  	0x53, 0xa8, 0xbf, 0xc4, 0x27, 0x3a, 0x8f, 0x66, 0x53, 0x2f, 0xc5, 0x7f, 0x1a, 0xf8, 0x76, 0xfc,
  1874  	0x6b, 0xa3, 0x8c, 0x37, 0x0f, 0xf2, 0x13, 0x20, 0x75, 0xa9, 0xfd, 0x55, 0x4a, 0x95, 0xfe, 0x0f,
  1875  	0x3a, 0x17, 0x7d, 0x87, 0xe7, 0xa7, 0x43, 0x6b, 0x6a, 0xec, 0x81, 0xd1, 0x39, 0x27, 0x9a, 0xef,
  1876  	0xd4, 0xca, 0x75, 0xbf, 0xb5, 0xf3, 0x91, 0xf9, 0x4e, 0xab, 0x2d, 0x7e, 0x3f, 0x0f, 0x68, 0xd3,
  1877  	0xa5, 0xf5, 0x68, 0xa7, 0xe3, 0x45, 0x34, 0xf0, 0x6c, 0x77, 0x67, 0x44, 0xc3, 0x88, 0x7b, 0xc2,
  1878  	0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x3a, 0xf4, 0x5b, 0x8b, 0x17, 0x00, 0x00,
  1879  }
  1880  
  1881  // Reference imports to suppress errors if they are not otherwise used.
  1882  var _ context.Context
  1883  var _ grpc.ClientConn
  1884  
  1885  // This is a compile-time assertion to ensure that this generated file
  1886  // is compatible with the grpc package it is being compiled against.
  1887  const _ = grpc.SupportPackageIsVersion4
  1888  
  1889  // TestTestServiceClient is the client API for TestTestService service.
  1890  //
  1891  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1892  type TestTestServiceClient interface {
  1893  	UserAuth(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error)
  1894  	Get(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error)
  1895  }
  1896  
  1897  type testTestServiceClient struct {
  1898  	cc *grpc.ClientConn
  1899  }
  1900  
  1901  func NewTestTestServiceClient(cc *grpc.ClientConn) TestTestServiceClient {
  1902  	return &testTestServiceClient{cc}
  1903  }
  1904  
  1905  func (c *testTestServiceClient) UserAuth(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error) {
  1906  	out := new(Test)
  1907  	err := c.cc.Invoke(ctx, "/foo.bar.TestTestService/UserAuth", in, out, opts...)
  1908  	if err != nil {
  1909  		return nil, err
  1910  	}
  1911  	return out, nil
  1912  }
  1913  
  1914  func (c *testTestServiceClient) Get(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error) {
  1915  	out := new(Test)
  1916  	err := c.cc.Invoke(ctx, "/foo.bar.TestTestService/Get", in, out, opts...)
  1917  	if err != nil {
  1918  		return nil, err
  1919  	}
  1920  	return out, nil
  1921  }
  1922  
  1923  // TestTestServiceServer is the server API for TestTestService service.
  1924  type TestTestServiceServer interface {
  1925  	UserAuth(context.Context, *Test) (*Test, error)
  1926  	Get(context.Context, *Test) (*Test, error)
  1927  }
  1928  
  1929  func RegisterTestTestServiceServer(s *grpc.Server, srv TestTestServiceServer) {
  1930  	s.RegisterService(&_TestTestService_serviceDesc, srv)
  1931  }
  1932  
  1933  func _TestTestService_UserAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1934  	in := new(Test)
  1935  	if err := dec(in); err != nil {
  1936  		return nil, err
  1937  	}
  1938  	if interceptor == nil {
  1939  		return srv.(TestTestServiceServer).UserAuth(ctx, in)
  1940  	}
  1941  	info := &grpc.UnaryServerInfo{
  1942  		Server:     srv,
  1943  		FullMethod: "/foo.bar.TestTestService/UserAuth",
  1944  	}
  1945  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1946  		return srv.(TestTestServiceServer).UserAuth(ctx, req.(*Test))
  1947  	}
  1948  	return interceptor(ctx, in, info, handler)
  1949  }
  1950  
  1951  func _TestTestService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1952  	in := new(Test)
  1953  	if err := dec(in); err != nil {
  1954  		return nil, err
  1955  	}
  1956  	if interceptor == nil {
  1957  		return srv.(TestTestServiceServer).Get(ctx, in)
  1958  	}
  1959  	info := &grpc.UnaryServerInfo{
  1960  		Server:     srv,
  1961  		FullMethod: "/foo.bar.TestTestService/Get",
  1962  	}
  1963  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1964  		return srv.(TestTestServiceServer).Get(ctx, req.(*Test))
  1965  	}
  1966  	return interceptor(ctx, in, info, handler)
  1967  }
  1968  
  1969  var _TestTestService_serviceDesc = grpc.ServiceDesc{
  1970  	ServiceName: "foo.bar.TestTestService",
  1971  	HandlerType: (*TestTestServiceServer)(nil),
  1972  	Methods: []grpc.MethodDesc{
  1973  		{
  1974  			MethodName: "UserAuth",
  1975  			Handler:    _TestTestService_UserAuth_Handler,
  1976  		},
  1977  		{
  1978  			MethodName: "Get",
  1979  			Handler:    _TestTestService_Get_Handler,
  1980  		},
  1981  	},
  1982  	Streams:  []grpc.StreamDesc{},
  1983  	Metadata: "desc_test_complex.proto",
  1984  }