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.
 
 
 

109 lines
4.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/genomics/v1/position.proto
  3. package genomics // import "google.golang.org/genproto/googleapis/genomics/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // An abstraction for referring to a genomic position, in relation to some
  18. // already known reference. For now, represents a genomic position as a
  19. // reference name, a base number on that reference (0-based), and a
  20. // determination of forward or reverse strand.
  21. type Position struct {
  22. // The name of the reference in whatever reference set is being used.
  23. ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"`
  24. // The 0-based offset from the start of the forward strand for that reference.
  25. Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
  26. // Whether this position is on the reverse strand, as opposed to the forward
  27. // strand.
  28. ReverseStrand bool `protobuf:"varint,3,opt,name=reverse_strand,json=reverseStrand,proto3" json:"reverse_strand,omitempty"`
  29. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  30. XXX_unrecognized []byte `json:"-"`
  31. XXX_sizecache int32 `json:"-"`
  32. }
  33. func (m *Position) Reset() { *m = Position{} }
  34. func (m *Position) String() string { return proto.CompactTextString(m) }
  35. func (*Position) ProtoMessage() {}
  36. func (*Position) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_position_598a3e40ba0a9425, []int{0}
  38. }
  39. func (m *Position) XXX_Unmarshal(b []byte) error {
  40. return xxx_messageInfo_Position.Unmarshal(m, b)
  41. }
  42. func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. return xxx_messageInfo_Position.Marshal(b, m, deterministic)
  44. }
  45. func (dst *Position) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_Position.Merge(dst, src)
  47. }
  48. func (m *Position) XXX_Size() int {
  49. return xxx_messageInfo_Position.Size(m)
  50. }
  51. func (m *Position) XXX_DiscardUnknown() {
  52. xxx_messageInfo_Position.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_Position proto.InternalMessageInfo
  55. func (m *Position) GetReferenceName() string {
  56. if m != nil {
  57. return m.ReferenceName
  58. }
  59. return ""
  60. }
  61. func (m *Position) GetPosition() int64 {
  62. if m != nil {
  63. return m.Position
  64. }
  65. return 0
  66. }
  67. func (m *Position) GetReverseStrand() bool {
  68. if m != nil {
  69. return m.ReverseStrand
  70. }
  71. return false
  72. }
  73. func init() {
  74. proto.RegisterType((*Position)(nil), "google.genomics.v1.Position")
  75. }
  76. func init() {
  77. proto.RegisterFile("google/genomics/v1/position.proto", fileDescriptor_position_598a3e40ba0a9425)
  78. }
  79. var fileDescriptor_position_598a3e40ba0a9425 = []byte{
  80. // 223 bytes of a gzipped FileDescriptorProto
  81. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4b, 0x03, 0x31,
  82. 0x14, 0x84, 0x89, 0x05, 0x59, 0x03, 0xf5, 0xb0, 0x07, 0x59, 0x8a, 0x87, 0x55, 0x10, 0xf6, 0x94,
  83. 0x50, 0xbc, 0xe9, 0xad, 0x3f, 0x40, 0x96, 0x7a, 0xf3, 0x52, 0x9e, 0xeb, 0x33, 0x06, 0xba, 0xef,
  84. 0x85, 0x24, 0xec, 0x6f, 0xf7, 0x28, 0x49, 0x9a, 0x22, 0xf4, 0x96, 0x4c, 0x66, 0x26, 0x1f, 0x23,
  85. 0x1f, 0x0c, 0xb3, 0x39, 0xa2, 0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