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