Struct google_api_proto::google::cloud::bigquery::storage::v1beta2::AppendRowsRequest
source · pub struct AppendRowsRequest {
pub write_stream: String,
pub offset: Option<i64>,
pub trace_id: String,
pub rows: Option<Rows>,
}
Expand description
Request message for AppendRows
.
Fields§
§write_stream: String
Required. The stream that is the target of the append operation. This value
must be specified for the initial request. If subsequent requests specify
the stream name, it must equal to the value provided in the first request.
To write to the _default stream, populate this field with a string in the
format projects/{project}/datasets/{dataset}/tables/{table}/_default
.
offset: Option<i64>
If present, the write is only performed if the next append offset is same as the provided value. If not present, the write is performed at the current end of stream. Specifying a value for this field is not allowed when calling AppendRows for the ‘_default’ stream.
trace_id: String
Id set by client to annotate its identity. Only initial request setting is respected.
rows: Option<Rows>
Input rows. The writer_schema
field must be specified at the initial
request and currently, it will be ignored if specified in following
requests. Following requests must have data in the same format as the
initial request.
Trait Implementations§
source§impl Clone for AppendRowsRequest
impl Clone for AppendRowsRequest
source§fn clone(&self) -> AppendRowsRequest
fn clone(&self) -> AppendRowsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AppendRowsRequest
impl Debug for AppendRowsRequest
source§impl Default for AppendRowsRequest
impl Default for AppendRowsRequest
source§impl Message for AppendRowsRequest
impl Message for AppendRowsRequest
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 AppendRowsRequest
impl PartialEq for AppendRowsRequest
source§fn eq(&self, other: &AppendRowsRequest) -> bool
fn eq(&self, other: &AppendRowsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AppendRowsRequest
Auto Trait Implementations§
impl Freeze for AppendRowsRequest
impl RefUnwindSafe for AppendRowsRequest
impl Send for AppendRowsRequest
impl Sync for AppendRowsRequest
impl Unpin for AppendRowsRequest
impl UnwindSafe for AppendRowsRequest
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