1// Copyright 2016 Google Inc. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.genomics.v1; 18 19import "google/api/annotations.proto"; 20 21option cc_enable_arenas = true; 22option go_package = "google.golang.org/genproto/googleapis/genomics/v1;genomics"; 23option java_multiple_files = true; 24option java_outer_classname = "RangeProto"; 25option java_package = "com.google.genomics.v1"; 26 27// A 0-based half-open genomic coordinate range for search requests. 28message Range { 29 // The reference sequence name, for example `chr1`, 30 // `1`, or `chrX`. 31 string reference_name = 1; 32 33 // The start position of the range on the reference, 0-based inclusive. 34 int64 start = 2; 35 36 // The end position of the range on the reference, 0-based exclusive. 37 int64 end = 3; 38} 39