...

Source file src/google.golang.org/protobuf/internal/testprotos/news/news.pb.go

Documentation: google.golang.org/protobuf/internal/testprotos/news

     1  // Copyright 2020 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Code generated by protoc-gen-go. DO NOT EDIT.
     6  // source: internal/testprotos/news/news.proto
     7  
     8  package news
     9  
    10  import (
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	anypb "google.golang.org/protobuf/types/known/anypb"
    14  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    15  	reflect "reflect"
    16  	sync "sync"
    17  )
    18  
    19  type Article_Status int32
    20  
    21  const (
    22  	Article_DRAFT     Article_Status = 0
    23  	Article_PUBLISHED Article_Status = 1
    24  	Article_REVOKED   Article_Status = 2
    25  )
    26  
    27  // Enum value maps for Article_Status.
    28  var (
    29  	Article_Status_name = map[int32]string{
    30  		0: "DRAFT",
    31  		1: "PUBLISHED",
    32  		2: "REVOKED",
    33  	}
    34  	Article_Status_value = map[string]int32{
    35  		"DRAFT":     0,
    36  		"PUBLISHED": 1,
    37  		"REVOKED":   2,
    38  	}
    39  )
    40  
    41  func (x Article_Status) Enum() *Article_Status {
    42  	p := new(Article_Status)
    43  	*p = x
    44  	return p
    45  }
    46  
    47  func (x Article_Status) String() string {
    48  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    49  }
    50  
    51  func (Article_Status) Descriptor() protoreflect.EnumDescriptor {
    52  	return file_internal_testprotos_news_news_proto_enumTypes[0].Descriptor()
    53  }
    54  
    55  func (Article_Status) Type() protoreflect.EnumType {
    56  	return &file_internal_testprotos_news_news_proto_enumTypes[0]
    57  }
    58  
    59  func (x Article_Status) Number() protoreflect.EnumNumber {
    60  	return protoreflect.EnumNumber(x)
    61  }
    62  
    63  // Deprecated: Use Article_Status.Descriptor instead.
    64  func (Article_Status) EnumDescriptor() ([]byte, []int) {
    65  	return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{0, 0}
    66  }
    67  
    68  type Article struct {
    69  	state         protoimpl.MessageState
    70  	sizeCache     protoimpl.SizeCache
    71  	unknownFields protoimpl.UnknownFields
    72  
    73  	Author      string                 `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
    74  	Date        *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
    75  	Title       string                 `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
    76  	Content     string                 `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
    77  	Status      Article_Status         `protobuf:"varint,8,opt,name=status,proto3,enum=google.golang.org.Article_Status" json:"status,omitempty"`
    78  	Tags        []string               `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
    79  	Attachments []*anypb.Any           `protobuf:"bytes,6,rep,name=attachments,proto3" json:"attachments,omitempty"`
    80  }
    81  
    82  func (x *Article) Reset() {
    83  	*x = Article{}
    84  	if protoimpl.UnsafeEnabled {
    85  		mi := &file_internal_testprotos_news_news_proto_msgTypes[0]
    86  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    87  		ms.StoreMessageInfo(mi)
    88  	}
    89  }
    90  
    91  func (x *Article) String() string {
    92  	return protoimpl.X.MessageStringOf(x)
    93  }
    94  
    95  func (*Article) ProtoMessage() {}
    96  
    97  func (x *Article) ProtoReflect() protoreflect.Message {
    98  	mi := &file_internal_testprotos_news_news_proto_msgTypes[0]
    99  	if protoimpl.UnsafeEnabled && x != nil {
   100  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   101  		if ms.LoadMessageInfo() == nil {
   102  			ms.StoreMessageInfo(mi)
   103  		}
   104  		return ms
   105  	}
   106  	return mi.MessageOf(x)
   107  }
   108  
   109  // Deprecated: Use Article.ProtoReflect.Descriptor instead.
   110  func (*Article) Descriptor() ([]byte, []int) {
   111  	return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{0}
   112  }
   113  
   114  func (x *Article) GetAuthor() string {
   115  	if x != nil {
   116  		return x.Author
   117  	}
   118  	return ""
   119  }
   120  
   121  func (x *Article) GetDate() *timestamppb.Timestamp {
   122  	if x != nil {
   123  		return x.Date
   124  	}
   125  	return nil
   126  }
   127  
   128  func (x *Article) GetTitle() string {
   129  	if x != nil {
   130  		return x.Title
   131  	}
   132  	return ""
   133  }
   134  
   135  func (x *Article) GetContent() string {
   136  	if x != nil {
   137  		return x.Content
   138  	}
   139  	return ""
   140  }
   141  
   142  func (x *Article) GetStatus() Article_Status {
   143  	if x != nil {
   144  		return x.Status
   145  	}
   146  	return Article_DRAFT
   147  }
   148  
   149  func (x *Article) GetTags() []string {
   150  	if x != nil {
   151  		return x.Tags
   152  	}
   153  	return nil
   154  }
   155  
   156  func (x *Article) GetAttachments() []*anypb.Any {
   157  	if x != nil {
   158  		return x.Attachments
   159  	}
   160  	return nil
   161  }
   162  
   163  type BinaryAttachment struct {
   164  	state         protoimpl.MessageState
   165  	sizeCache     protoimpl.SizeCache
   166  	unknownFields protoimpl.UnknownFields
   167  
   168  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   169  	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
   170  }
   171  
   172  func (x *BinaryAttachment) Reset() {
   173  	*x = BinaryAttachment{}
   174  	if protoimpl.UnsafeEnabled {
   175  		mi := &file_internal_testprotos_news_news_proto_msgTypes[1]
   176  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   177  		ms.StoreMessageInfo(mi)
   178  	}
   179  }
   180  
   181  func (x *BinaryAttachment) String() string {
   182  	return protoimpl.X.MessageStringOf(x)
   183  }
   184  
   185  func (*BinaryAttachment) ProtoMessage() {}
   186  
   187  func (x *BinaryAttachment) ProtoReflect() protoreflect.Message {
   188  	mi := &file_internal_testprotos_news_news_proto_msgTypes[1]
   189  	if protoimpl.UnsafeEnabled && x != nil {
   190  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   191  		if ms.LoadMessageInfo() == nil {
   192  			ms.StoreMessageInfo(mi)
   193  		}
   194  		return ms
   195  	}
   196  	return mi.MessageOf(x)
   197  }
   198  
   199  // Deprecated: Use BinaryAttachment.ProtoReflect.Descriptor instead.
   200  func (*BinaryAttachment) Descriptor() ([]byte, []int) {
   201  	return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{1}
   202  }
   203  
   204  func (x *BinaryAttachment) GetName() string {
   205  	if x != nil {
   206  		return x.Name
   207  	}
   208  	return ""
   209  }
   210  
   211  func (x *BinaryAttachment) GetData() []byte {
   212  	if x != nil {
   213  		return x.Data
   214  	}
   215  	return nil
   216  }
   217  
   218  type KeyValueAttachment struct {
   219  	state         protoimpl.MessageState
   220  	sizeCache     protoimpl.SizeCache
   221  	unknownFields protoimpl.UnknownFields
   222  
   223  	Name string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   224  	Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   225  }
   226  
   227  func (x *KeyValueAttachment) Reset() {
   228  	*x = KeyValueAttachment{}
   229  	if protoimpl.UnsafeEnabled {
   230  		mi := &file_internal_testprotos_news_news_proto_msgTypes[2]
   231  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   232  		ms.StoreMessageInfo(mi)
   233  	}
   234  }
   235  
   236  func (x *KeyValueAttachment) String() string {
   237  	return protoimpl.X.MessageStringOf(x)
   238  }
   239  
   240  func (*KeyValueAttachment) ProtoMessage() {}
   241  
   242  func (x *KeyValueAttachment) ProtoReflect() protoreflect.Message {
   243  	mi := &file_internal_testprotos_news_news_proto_msgTypes[2]
   244  	if protoimpl.UnsafeEnabled && x != nil {
   245  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   246  		if ms.LoadMessageInfo() == nil {
   247  			ms.StoreMessageInfo(mi)
   248  		}
   249  		return ms
   250  	}
   251  	return mi.MessageOf(x)
   252  }
   253  
   254  // Deprecated: Use KeyValueAttachment.ProtoReflect.Descriptor instead.
   255  func (*KeyValueAttachment) Descriptor() ([]byte, []int) {
   256  	return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{2}
   257  }
   258  
   259  func (x *KeyValueAttachment) GetName() string {
   260  	if x != nil {
   261  		return x.Name
   262  	}
   263  	return ""
   264  }
   265  
   266  func (x *KeyValueAttachment) GetData() map[string]string {
   267  	if x != nil {
   268  		return x.Data
   269  	}
   270  	return nil
   271  }
   272  
   273  var File_internal_testprotos_news_news_proto protoreflect.FileDescriptor
   274  
   275  var file_internal_testprotos_news_news_proto_rawDesc = []byte{
   276  	0x0a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
   277  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6e, 0x65, 0x77, 0x73, 0x2f, 0x6e, 0x65, 0x77, 0x73, 0x2e,
   278  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
   279  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   280  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72,
   281  	0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   282  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
   283  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x02, 0x0a, 0x07, 0x41, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65,
   284  	0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   285  	0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65,
   286  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   287  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
   288  	0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
   289  	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18,
   290  	0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
   291  	0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
   292  	0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   293  	0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x41, 0x72, 0x74,
   294  	0x69, 0x63, 0x6c, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
   295  	0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
   296  	0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63,
   297  	0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67,
   298  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41,
   299  	0x6e, 0x79, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22,
   300  	0x2f, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x52, 0x41,
   301  	0x46, 0x54, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45,
   302  	0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x10, 0x02,
   303  	0x22, 0x3a, 0x0a, 0x10, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
   304  	0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   305  	0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
   306  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa6, 0x01, 0x0a,
   307  	0x12, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d,
   308  	0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   309  	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
   310  	0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
   311  	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c,
   312  	0x75, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x74,
   313  	0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09,
   314  	0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
   315  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
   316  	0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
   317  	0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   318  	0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   319  	0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
   320  	0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6e, 0x65, 0x77, 0x73, 0x62, 0x06, 0x70, 0x72,
   321  	0x6f, 0x74, 0x6f, 0x33,
   322  }
   323  
   324  var (
   325  	file_internal_testprotos_news_news_proto_rawDescOnce sync.Once
   326  	file_internal_testprotos_news_news_proto_rawDescData = file_internal_testprotos_news_news_proto_rawDesc
   327  )
   328  
   329  func file_internal_testprotos_news_news_proto_rawDescGZIP() []byte {
   330  	file_internal_testprotos_news_news_proto_rawDescOnce.Do(func() {
   331  		file_internal_testprotos_news_news_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_news_news_proto_rawDescData)
   332  	})
   333  	return file_internal_testprotos_news_news_proto_rawDescData
   334  }
   335  
   336  var file_internal_testprotos_news_news_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   337  var file_internal_testprotos_news_news_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   338  var file_internal_testprotos_news_news_proto_goTypes = []interface{}{
   339  	(Article_Status)(0),           // 0: google.golang.org.Article.Status
   340  	(*Article)(nil),               // 1: google.golang.org.Article
   341  	(*BinaryAttachment)(nil),      // 2: google.golang.org.BinaryAttachment
   342  	(*KeyValueAttachment)(nil),    // 3: google.golang.org.KeyValueAttachment
   343  	nil,                           // 4: google.golang.org.KeyValueAttachment.DataEntry
   344  	(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
   345  	(*anypb.Any)(nil),             // 6: google.protobuf.Any
   346  }
   347  var file_internal_testprotos_news_news_proto_depIdxs = []int32{
   348  	5, // 0: google.golang.org.Article.date:type_name -> google.protobuf.Timestamp
   349  	0, // 1: google.golang.org.Article.status:type_name -> google.golang.org.Article.Status
   350  	6, // 2: google.golang.org.Article.attachments:type_name -> google.protobuf.Any
   351  	4, // 3: google.golang.org.KeyValueAttachment.data:type_name -> google.golang.org.KeyValueAttachment.DataEntry
   352  	4, // [4:4] is the sub-list for method output_type
   353  	4, // [4:4] is the sub-list for method input_type
   354  	4, // [4:4] is the sub-list for extension type_name
   355  	4, // [4:4] is the sub-list for extension extendee
   356  	0, // [0:4] is the sub-list for field type_name
   357  }
   358  
   359  func init() { file_internal_testprotos_news_news_proto_init() }
   360  func file_internal_testprotos_news_news_proto_init() {
   361  	if File_internal_testprotos_news_news_proto != nil {
   362  		return
   363  	}
   364  	if !protoimpl.UnsafeEnabled {
   365  		file_internal_testprotos_news_news_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   366  			switch v := v.(*Article); i {
   367  			case 0:
   368  				return &v.state
   369  			case 1:
   370  				return &v.sizeCache
   371  			case 2:
   372  				return &v.unknownFields
   373  			default:
   374  				return nil
   375  			}
   376  		}
   377  		file_internal_testprotos_news_news_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   378  			switch v := v.(*BinaryAttachment); i {
   379  			case 0:
   380  				return &v.state
   381  			case 1:
   382  				return &v.sizeCache
   383  			case 2:
   384  				return &v.unknownFields
   385  			default:
   386  				return nil
   387  			}
   388  		}
   389  		file_internal_testprotos_news_news_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   390  			switch v := v.(*KeyValueAttachment); i {
   391  			case 0:
   392  				return &v.state
   393  			case 1:
   394  				return &v.sizeCache
   395  			case 2:
   396  				return &v.unknownFields
   397  			default:
   398  				return nil
   399  			}
   400  		}
   401  	}
   402  	type x struct{}
   403  	out := protoimpl.TypeBuilder{
   404  		File: protoimpl.DescBuilder{
   405  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   406  			RawDescriptor: file_internal_testprotos_news_news_proto_rawDesc,
   407  			NumEnums:      1,
   408  			NumMessages:   4,
   409  			NumExtensions: 0,
   410  			NumServices:   0,
   411  		},
   412  		GoTypes:           file_internal_testprotos_news_news_proto_goTypes,
   413  		DependencyIndexes: file_internal_testprotos_news_news_proto_depIdxs,
   414  		EnumInfos:         file_internal_testprotos_news_news_proto_enumTypes,
   415  		MessageInfos:      file_internal_testprotos_news_news_proto_msgTypes,
   416  	}.Build()
   417  	File_internal_testprotos_news_news_proto = out.File
   418  	file_internal_testprotos_news_news_proto_rawDesc = nil
   419  	file_internal_testprotos_news_news_proto_goTypes = nil
   420  	file_internal_testprotos_news_news_proto_depIdxs = nil
   421  }
   422  

View as plain text