Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: google/protobuf/source_context.proto |
| 3 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 4 | package source_context // import "google.golang.org/genproto/protobuf/source_context" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 5 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 6 | import proto "github.com/golang/protobuf/proto" |
| 7 | import fmt "fmt" |
| 8 | import math "math" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 9 | |
| 10 | // Reference imports to suppress errors if they are not otherwise used. |
| 11 | var _ = proto.Marshal |
| 12 | var _ = fmt.Errorf |
| 13 | var _ = math.Inf |
| 14 | |
| 15 | // This is a compile-time assertion to ensure that this generated file |
| 16 | // is compatible with the proto package it is being compiled against. |
| 17 | // A compilation error at this line likely means your copy of the |
| 18 | // proto package needs to be updated. |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 19 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 20 | |
| 21 | // `SourceContext` represents information about the source of a |
| 22 | // protobuf element, like the file in which it is defined. |
| 23 | type SourceContext struct { |
| 24 | // The path-qualified name of the .proto file that contained the associated |
| 25 | // protobuf element. For example: `"google/protobuf/source_context.proto"`. |
| 26 | FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` |
| 27 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 28 | XXX_unrecognized []byte `json:"-"` |
| 29 | XXX_sizecache int32 `json:"-"` |
| 30 | } |
| 31 | |
| 32 | func (m *SourceContext) Reset() { *m = SourceContext{} } |
| 33 | func (m *SourceContext) String() string { return proto.CompactTextString(m) } |
| 34 | func (*SourceContext) ProtoMessage() {} |
| 35 | func (*SourceContext) Descriptor() ([]byte, []int) { |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 36 | return fileDescriptor_source_context_4ade4e806de19b22, []int{0} |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 37 | } |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 38 | func (m *SourceContext) XXX_Unmarshal(b []byte) error { |
| 39 | return xxx_messageInfo_SourceContext.Unmarshal(m, b) |
| 40 | } |
| 41 | func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 42 | return xxx_messageInfo_SourceContext.Marshal(b, m, deterministic) |
| 43 | } |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 44 | func (dst *SourceContext) XXX_Merge(src proto.Message) { |
| 45 | xxx_messageInfo_SourceContext.Merge(dst, src) |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 46 | } |
| 47 | func (m *SourceContext) XXX_Size() int { |
| 48 | return xxx_messageInfo_SourceContext.Size(m) |
| 49 | } |
| 50 | func (m *SourceContext) XXX_DiscardUnknown() { |
| 51 | xxx_messageInfo_SourceContext.DiscardUnknown(m) |
| 52 | } |
| 53 | |
| 54 | var xxx_messageInfo_SourceContext proto.InternalMessageInfo |
| 55 | |
| 56 | func (m *SourceContext) GetFileName() string { |
| 57 | if m != nil { |
| 58 | return m.FileName |
| 59 | } |
| 60 | return "" |
| 61 | } |
| 62 | |
| 63 | func init() { |
| 64 | proto.RegisterType((*SourceContext)(nil), "google.protobuf.SourceContext") |
| 65 | } |
| 66 | |
| 67 | func init() { |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 68 | proto.RegisterFile("google/protobuf/source_context.proto", fileDescriptor_source_context_4ade4e806de19b22) |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 69 | } |
| 70 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 71 | var fileDescriptor_source_context_4ade4e806de19b22 = []byte{ |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 72 | // 184 bytes of a gzipped FileDescriptorProto |
| 73 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xcf, 0xcf, 0x4f, |
| 74 | 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xce, 0x2f, 0x2d, |
| 75 | 0x4a, 0x4e, 0x8d, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xad, 0x28, 0xd1, 0x03, 0x8b, 0x0b, 0xf1, 0x43, |
| 76 | 0x54, 0xe9, 0xc1, 0x54, 0x29, 0xe9, 0x70, 0xf1, 0x06, 0x83, 0x15, 0x3a, 0x43, 0xd4, 0x09, 0x49, |
| 77 | 0x73, 0x71, 0xa6, 0x65, 0xe6, 0xa4, 0xc6, 0xe7, 0x25, 0xe6, 0xa6, 0x4a, 0x30, 0x2a, 0x30, 0x6a, |
| 78 | 0x70, 0x06, 0x71, 0x80, 0x04, 0xfc, 0x12, 0x73, 0x53, 0x9d, 0xa6, 0x32, 0x72, 0x09, 0x27, 0xe7, |
| 79 | 0xe7, 0xea, 0xa1, 0x99, 0xe2, 0x24, 0x84, 0x62, 0x46, 0x00, 0x48, 0x38, 0x80, 0x31, 0xca, 0x11, |
| 80 | 0xaa, 0x2c, 0x3d, 0x3f, 0x27, 0x31, 0x2f, 0x5d, 0x2f, 0xbf, 0x28, 0x5d, 0x3f, 0x3d, 0x35, 0x0f, |
| 81 | 0xac, 0x09, 0x97, 0x33, 0xad, 0x51, 0xb9, 0x8b, 0x98, 0x98, 0xdd, 0x03, 0x9c, 0x56, 0x31, 0xc9, |
| 82 | 0xb9, 0x43, 0x4c, 0x0a, 0x80, 0xea, 0xd2, 0x0b, 0x4f, 0xcd, 0xc9, 0xf1, 0xce, 0xcb, 0x2f, 0xcf, |
| 83 | 0x0b, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x1b, 0x67, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, |
| 84 | 0x5c, 0xbd, 0xa4, 0x22, 0x05, 0x01, 0x00, 0x00, |
| 85 | } |