Struct google_api_proto::google::genomics::v1::ImportReadGroupSetsRequest
source · pub struct ImportReadGroupSetsRequest {
pub dataset_id: String,
pub reference_set_id: String,
pub source_uris: Vec<String>,
pub partition_strategy: i32,
}
Expand description
The read group set import request.
Fields§
§dataset_id: String
Required. The ID of the dataset these read group sets will belong to. The caller must have WRITE permissions to this dataset.
reference_set_id: String
The reference set to which the imported read group sets are aligned to, if any. The reference names of this reference set must be a superset of those found in the imported file headers. If no reference set id is provided, a best effort is made to associate with a matching reference set.
source_uris: Vec<String>
A list of URIs pointing at BAM files in Google Cloud Storage. Those URIs can include wildcards (*), but do not add or remove matching files before import has completed.
Note that Google Cloud Storage object listing is only eventually consistent: files added may be not be immediately visible to everyone. Thus, if using a wildcard it is preferable not to start the import immediately after the files are created.
partition_strategy: i32
The partition strategy describes how read groups are partitioned into read group sets.
Implementations§
source§impl ImportReadGroupSetsRequest
impl ImportReadGroupSetsRequest
sourcepub fn partition_strategy(&self) -> PartitionStrategy
pub fn partition_strategy(&self) -> PartitionStrategy
Returns the enum value of partition_strategy
, or the default if the field is set to an invalid enum value.
sourcepub fn set_partition_strategy(&mut self, value: PartitionStrategy)
pub fn set_partition_strategy(&mut self, value: PartitionStrategy)
Sets partition_strategy
to the provided enum value.
Trait Implementations§
source§impl Clone for ImportReadGroupSetsRequest
impl Clone for ImportReadGroupSetsRequest
source§fn clone(&self) -> ImportReadGroupSetsRequest
fn clone(&self) -> ImportReadGroupSetsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportReadGroupSetsRequest
impl Debug for ImportReadGroupSetsRequest
source§impl Default for ImportReadGroupSetsRequest
impl Default for ImportReadGroupSetsRequest
source§impl Message for ImportReadGroupSetsRequest
impl Message for ImportReadGroupSetsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ImportReadGroupSetsRequest
impl PartialEq for ImportReadGroupSetsRequest
source§fn eq(&self, other: &ImportReadGroupSetsRequest) -> bool
fn eq(&self, other: &ImportReadGroupSetsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportReadGroupSetsRequest
Auto Trait Implementations§
impl Freeze for ImportReadGroupSetsRequest
impl RefUnwindSafe for ImportReadGroupSetsRequest
impl Send for ImportReadGroupSetsRequest
impl Sync for ImportReadGroupSetsRequest
impl Unpin for ImportReadGroupSetsRequest
impl UnwindSafe for ImportReadGroupSetsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request