...

Source file src/github.com/gogo/protobuf/test/proto3extension/proto3ext.pb.go

Documentation: github.com/gogo/protobuf/test/proto3extension

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: proto3ext.proto
     3  
     4  package proto3extension
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/gogo/protobuf/proto"
     9  	descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
    10  	math "math"
    11  )
    12  
    13  // Reference imports to suppress errors if they are not otherwise used.
    14  var _ = proto.Marshal
    15  var _ = fmt.Errorf
    16  var _ = math.Inf
    17  
    18  // This is a compile-time assertion to ensure that this generated file
    19  // is compatible with the proto package it is being compiled against.
    20  // A compilation error at this line likely means your copy of the
    21  // proto package needs to be updated.
    22  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    23  
    24  var E_Primary = &proto.ExtensionDesc{
    25  	ExtendedType:  (*descriptor.FieldOptions)(nil),
    26  	ExtensionType: (*bool)(nil),
    27  	Field:         51234,
    28  	Name:          "proto3extension.primary",
    29  	Tag:           "varint,51234,opt,name=primary",
    30  	Filename:      "proto3ext.proto",
    31  }
    32  
    33  var E_Index = &proto.ExtensionDesc{
    34  	ExtendedType:  (*descriptor.FieldOptions)(nil),
    35  	ExtensionType: (*bool)(nil),
    36  	Field:         51235,
    37  	Name:          "proto3extension.index",
    38  	Tag:           "varint,51235,opt,name=index",
    39  	Filename:      "proto3ext.proto",
    40  }
    41  
    42  func init() {
    43  	proto.RegisterExtension(E_Primary)
    44  	proto.RegisterExtension(E_Index)
    45  }
    46  
    47  func init() { proto.RegisterFile("proto3ext.proto", fileDescriptor_a399cd792699f40f) }
    48  
    49  var fileDescriptor_a399cd792699f40f = []byte{
    50  	// 137 bytes of a gzipped FileDescriptorProto
    51  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2f, 0x28, 0xca, 0x2f,
    52  	0xc9, 0x37, 0x4e, 0xad, 0x28, 0xd1, 0x03, 0xb3, 0x84, 0x10, 0x02, 0xa9, 0x79, 0xc5, 0x99, 0xf9,
    53  	0x79, 0x52, 0x0a, 0xe9, 0xf9, 0xf9, 0xe9, 0x39, 0xa9, 0xfa, 0x60, 0xf1, 0xa4, 0xd2, 0x34, 0xfd,
    54  	0x94, 0xd4, 0xe2, 0xe4, 0xa2, 0xcc, 0x82, 0x92, 0xfc, 0x22, 0x88, 0x16, 0x2b, 0x4b, 0x2e, 0xf6,
    55  	0x82, 0xa2, 0xcc, 0xdc, 0xc4, 0xa2, 0x4a, 0x21, 0x59, 0x3d, 0x88, 0x6a, 0x3d, 0x98, 0x6a, 0x3d,
    56  	0xb7, 0xcc, 0xd4, 0x9c, 0x14, 0xff, 0x82, 0x92, 0xcc, 0xfc, 0xbc, 0x62, 0x89, 0x45, 0x13, 0x98,
    57  	0x15, 0x18, 0x35, 0x38, 0x82, 0x60, 0xea, 0xad, 0x4c, 0xb9, 0x58, 0x33, 0xf3, 0x52, 0x52, 0x2b,
    58  	0x08, 0x69, 0x5c, 0x0c, 0xd5, 0x08, 0x51, 0x9d, 0xc4, 0x06, 0x71, 0x24, 0x20, 0x00, 0x00, 0xff,
    59  	0xff, 0xff, 0xd4, 0x32, 0x01, 0xbe, 0x00, 0x00, 0x00,
    60  }
    61  

View as plain text