1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/genomics/v1/range.proto
3
4package genomics
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	_ "google.golang.org/genproto/googleapis/api/annotations"
12)
13
14// Reference imports to suppress errors if they are not otherwise used.
15var _ = proto.Marshal
16var _ = fmt.Errorf
17var _ = math.Inf
18
19// This is a compile-time assertion to ensure that this generated file
20// is compatible with the proto package it is being compiled against.
21// A compilation error at this line likely means your copy of the
22// proto package needs to be updated.
23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
24
25// A 0-based half-open genomic coordinate range for search requests.
26type Range struct {
27	// The reference sequence name, for example `chr1`,
28	// `1`, or `chrX`.
29	ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"`
30	// The start position of the range on the reference, 0-based inclusive.
31	Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
32	// The end position of the range on the reference, 0-based exclusive.
33	End                  int64    `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
34	XXX_NoUnkeyedLiteral struct{} `json:"-"`
35	XXX_unrecognized     []byte   `json:"-"`
36	XXX_sizecache        int32    `json:"-"`
37}
38
39func (m *Range) Reset()         { *m = Range{} }
40func (m *Range) String() string { return proto.CompactTextString(m) }
41func (*Range) ProtoMessage()    {}
42func (*Range) Descriptor() ([]byte, []int) {
43	return fileDescriptor_296c87a77538e516, []int{0}
44}
45
46func (m *Range) XXX_Unmarshal(b []byte) error {
47	return xxx_messageInfo_Range.Unmarshal(m, b)
48}
49func (m *Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
50	return xxx_messageInfo_Range.Marshal(b, m, deterministic)
51}
52func (m *Range) XXX_Merge(src proto.Message) {
53	xxx_messageInfo_Range.Merge(m, src)
54}
55func (m *Range) XXX_Size() int {
56	return xxx_messageInfo_Range.Size(m)
57}
58func (m *Range) XXX_DiscardUnknown() {
59	xxx_messageInfo_Range.DiscardUnknown(m)
60}
61
62var xxx_messageInfo_Range proto.InternalMessageInfo
63
64func (m *Range) GetReferenceName() string {
65	if m != nil {
66		return m.ReferenceName
67	}
68	return ""
69}
70
71func (m *Range) GetStart() int64 {
72	if m != nil {
73		return m.Start
74	}
75	return 0
76}
77
78func (m *Range) GetEnd() int64 {
79	if m != nil {
80		return m.End
81	}
82	return 0
83}
84
85func init() {
86	proto.RegisterType((*Range)(nil), "google.genomics.v1.Range")
87}
88
89func init() { proto.RegisterFile("google/genomics/v1/range.proto", fileDescriptor_296c87a77538e516) }
90
91var fileDescriptor_296c87a77538e516 = []byte{
92	// 209 bytes of a gzipped FileDescriptorProto
93	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x4f, 0x4d, 0x4b, 0xc4, 0x30,
94	0x10, 0x25, 0x96, 0x15, 0x0c, 0x28, 0x12, 0x44, 0x8a, 0x88, 0x2c, 0x82, 0xb0, 0xa7, 0x84, 0xe2,
95	0x4d, 0x6f, 0xfd, 0x01, 0x52, 0x7a, 0xf0, 0xe0, 0x45, 0xc6, 0x3a, 0x86, 0x40, 0x33, 0x53, 0x92,
96	0xd0, 0xdf, 0xee, 0x51, 0x92, 0x58, 0x11, 0xf6, 0x36, 0x79, 0x1f, 0x79, 0xef, 0xc9, 0x3b, 0xcb,
97	0x6c, 0x67, 0x34, 0x16, 0x89, 0xbd, 0x9b, 0xa2, 0x59, 0x3b, 0x13, 0x80, 0x2c, 0xea, 0x25, 0x70,
98	0x62, 0xa5, 0x2a, 0xaf, 0x37, 0x5e, 0xaf, 0xdd, 0xcd, 0xed, 0xaf, 0x07, 0x16, 0x67, 0x80, 0x88,
99	0x13, 0x24, 0xc7, 0x14, 0xab, 0xe3, 0xfe, 0x55, 0xee, 0xc6, 0xfc, 0x81, 0x7a, 0x90, 0x17, 0x01,
100	0xbf, 0x30, 0x20, 0x4d, 0xf8, 0x4e, 0xe0, 0xb1, 0x15, 0x7b, 0x71, 0x38, 0x1b, 0xcf, 0xff, 0xd0,
101	0x17, 0xf0, 0xa8, 0xae, 0xe4, 0x2e, 0x26, 0x08, 0xa9, 0x3d, 0xd9, 0x8b, 0x43, 0x33, 0xd6, 0x87,
102	0xba, 0x94, 0x0d, 0xd2, 0x67, 0xdb, 0x14, 0x2c, 0x9f, 0x3d, 0xca, 0xeb, 0x89, 0xbd, 0x3e, 0xee,
103	0xd3, 0xcb, 0x92, 0x37, 0xe4, 0xf4, 0x41, 0xbc, 0x3d, 0x6d, 0x0a, 0x9e, 0x81, 0xac, 0xe6, 0x60,
104	0xf3, 0xb8, 0xd2, 0xcd, 0x54, 0x0a, 0x16, 0x17, 0xff, 0x0f, 0x7e, 0xde, 0xee, 0x6f, 0x21, 0x3e,
105	0x4e, 0x8b, 0xf2, 0xf1, 0x27, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x3e, 0xf1, 0x62, 0x19, 0x01, 0x00,
106	0x00,
107}
108