Struct gapi_grpc::google::genomics::v1::StreamReadsRequest[][src]

pub struct StreamReadsRequest {
    pub project_id: String,
    pub read_group_set_id: String,
    pub reference_name: String,
    pub start: i64,
    pub end: i64,
    pub shard: i32,
    pub total_shards: i32,
}

The stream reads request.

Fields

project_id: String

The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required.

read_group_set_id: String

The ID of the read group set from which to stream reads.

reference_name: String

The reference sequence name, for example chr1, 1, or chrX. If set to *, only unmapped reads are returned.

start: i64

The start position of the range on the reference, 0-based inclusive. If specified, referenceName must also be specified.

end: i64

The end position of the range on the reference, 0-based exclusive. If specified, referenceName must also be specified.

shard: i32

Restricts results to a shard containing approximately 1/totalShards of the normal response payload for this query. Results from a sharded request are disjoint from those returned by all queries which differ only in their shard parameter. A shard may yield 0 results; this is especially likely for large values of totalShards.

Valid values are [0, totalShards).

total_shards: i32

Specifying totalShards causes a disjoint subset of the normal response payload to be returned for each query with a unique shard parameter specified. A best effort is made to yield equally sized shards. Sharding can be used to distribute processing amongst workers, where each worker is assigned a unique shard number and all workers specify the same totalShards number. The union of reads returned for all sharded queries [0, totalShards) is equal to those returned by a single unsharded query.

Queries for different values of totalShards with common divisors will share shard boundaries. For example, streaming shard 2 of 5 totalShards yields the same results as streaming shards 4 and 5 of 10 totalShards. This property can be leveraged for adaptive retries.

Trait Implementations

impl Clone for StreamReadsRequest[src]

impl Debug for StreamReadsRequest[src]

impl Default for StreamReadsRequest[src]

impl Message for StreamReadsRequest[src]

impl PartialEq<StreamReadsRequest> for StreamReadsRequest[src]

impl StructuralPartialEq for StreamReadsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for StreamReadsRequest

impl Send for StreamReadsRequest

impl Sync for StreamReadsRequest

impl Unpin for StreamReadsRequest

impl UnwindSafe for StreamReadsRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]