1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/genomics/v1/position.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// An abstraction for referring to a genomic position, in relation to some 23// already known reference. For now, represents a genomic position as a 24// reference name, a base number on that reference (0-based), and a 25// determination of forward or reverse strand. 26type Position struct { 27 // The name of the reference in whatever reference set is being used. 28 ReferenceName string `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` 29 // The 0-based offset from the start of the forward strand for that reference. 30 Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` 31 // Whether this position is on the reverse strand, as opposed to the forward 32 // strand. 33 ReverseStrand bool `protobuf:"varint,3,opt,name=reverse_strand,json=reverseStrand,proto3" json:"reverse_strand,omitempty"` 34 XXX_NoUnkeyedLiteral struct{} `json:"-"` 35 XXX_unrecognized []byte `json:"-"` 36 XXX_sizecache int32 `json:"-"` 37} 38 39func (m *Position) Reset() { *m = Position{} } 40func (m *Position) String() string { return proto.CompactTextString(m) } 41func (*Position) ProtoMessage() {} 42func (*Position) Descriptor() ([]byte, []int) { 43 return fileDescriptor_position_a03b9f5830126916, []int{0} 44} 45func (m *Position) XXX_Unmarshal(b []byte) error { 46 return xxx_messageInfo_Position.Unmarshal(m, b) 47} 48func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 49 return xxx_messageInfo_Position.Marshal(b, m, deterministic) 50} 51func (dst *Position) XXX_Merge(src proto.Message) { 52 xxx_messageInfo_Position.Merge(dst, src) 53} 54func (m *Position) XXX_Size() int { 55 return xxx_messageInfo_Position.Size(m) 56} 57func (m *Position) XXX_DiscardUnknown() { 58 xxx_messageInfo_Position.DiscardUnknown(m) 59} 60 61var xxx_messageInfo_Position proto.InternalMessageInfo 62 63func (m *Position) GetReferenceName() string { 64 if m != nil { 65 return m.ReferenceName 66 } 67 return "" 68} 69 70func (m *Position) GetPosition() int64 { 71 if m != nil { 72 return m.Position 73 } 74 return 0 75} 76 77func (m *Position) GetReverseStrand() bool { 78 if m != nil { 79 return m.ReverseStrand 80 } 81 return false 82} 83 84func init() { 85 proto.RegisterType((*Position)(nil), "google.genomics.v1.Position") 86} 87 88func init() { 89 proto.RegisterFile("google/genomics/v1/position.proto", fileDescriptor_position_a03b9f5830126916) 90} 91 92var fileDescriptor_position_a03b9f5830126916 = []byte{ 93 // 223 bytes of a gzipped FileDescriptorProto 94 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4b, 0x03, 0x31, 95 0x14, 0x84, 0x89, 0x05, 0x59, 0x03, 0xf5, 0xb0, 0x07, 0x59, 0x8a, 0x87, 0x55, 0x10, 0xf6, 0x94, 96 0x50, 0xbc, 0xe9, 0xad, 0x3f, 0x40, 0x96, 0x7a, 0xf3, 0x52, 0x9e, 0xeb, 0x33, 0x06, 0xba, 0xef, 97 0x85, 0x24, 0xec, 0x6f, 0xf7, 0x28, 0x49, 0x9a, 0x22, 0xf4, 0x96, 0x4c, 0x66, 0x26, 0x1f, 0x23, 98 0x1f, 0x0c, 0xb3, 0x39, 0xa2, 0x36, 0x48, 0x3c, 0xdb, 0x29, 0xe8, 0x65, 0xab, 0x1d, 0x07, 0x1b, 99 0x2d, 0x93, 0x72, 0x9e, 0x23, 0xb7, 0x6d, 0xb1, 0xa8, 0x6a, 0x51, 0xcb, 0x76, 0x73, 0x7f, 0x8a, 100 0x81, 0xb3, 0x1a, 0x88, 0x38, 0x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