blob: c073ffb6b07dae0de5df2a2154dfbbd8c279b1db [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/protobuf/source_context.proto
3
Scott Baker4a35a702019-11-26 08:17:33 -08004package source_context // import "google.golang.org/genproto/protobuf/source_context"
Zack Williamse940c7a2019-08-21 14:25:39 -07005
Scott Baker4a35a702019-11-26 08:17:33 -08006import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
Zack Williamse940c7a2019-08-21 14:25:39 -07009
10// Reference imports to suppress errors if they are not otherwise used.
11var _ = proto.Marshal
12var _ = fmt.Errorf
13var _ = 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 Baker4a35a702019-11-26 08:17:33 -080019const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
Zack Williamse940c7a2019-08-21 14:25:39 -070020
21// `SourceContext` represents information about the source of a
22// protobuf element, like the file in which it is defined.
23type 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
32func (m *SourceContext) Reset() { *m = SourceContext{} }
33func (m *SourceContext) String() string { return proto.CompactTextString(m) }
34func (*SourceContext) ProtoMessage() {}
35func (*SourceContext) Descriptor() ([]byte, []int) {
Scott Baker4a35a702019-11-26 08:17:33 -080036 return fileDescriptor_source_context_4ade4e806de19b22, []int{0}
Zack Williamse940c7a2019-08-21 14:25:39 -070037}
Zack Williamse940c7a2019-08-21 14:25:39 -070038func (m *SourceContext) XXX_Unmarshal(b []byte) error {
39 return xxx_messageInfo_SourceContext.Unmarshal(m, b)
40}
41func (m *SourceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
42 return xxx_messageInfo_SourceContext.Marshal(b, m, deterministic)
43}
Scott Baker4a35a702019-11-26 08:17:33 -080044func (dst *SourceContext) XXX_Merge(src proto.Message) {
45 xxx_messageInfo_SourceContext.Merge(dst, src)
Zack Williamse940c7a2019-08-21 14:25:39 -070046}
47func (m *SourceContext) XXX_Size() int {
48 return xxx_messageInfo_SourceContext.Size(m)
49}
50func (m *SourceContext) XXX_DiscardUnknown() {
51 xxx_messageInfo_SourceContext.DiscardUnknown(m)
52}
53
54var xxx_messageInfo_SourceContext proto.InternalMessageInfo
55
56func (m *SourceContext) GetFileName() string {
57 if m != nil {
58 return m.FileName
59 }
60 return ""
61}
62
63func init() {
64 proto.RegisterType((*SourceContext)(nil), "google.protobuf.SourceContext")
65}
66
67func init() {
Scott Baker4a35a702019-11-26 08:17:33 -080068 proto.RegisterFile("google/protobuf/source_context.proto", fileDescriptor_source_context_4ade4e806de19b22)
Zack Williamse940c7a2019-08-21 14:25:39 -070069}
70
Scott Baker4a35a702019-11-26 08:17:33 -080071var fileDescriptor_source_context_4ade4e806de19b22 = []byte{
Zack Williamse940c7a2019-08-21 14:25:39 -070072 // 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}