You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

86 lines
3.7 KiB

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