Struct google_api_proto::google::devtools::resultstore::v2::GetFileTailRequest
source · pub struct GetFileTailRequest {
pub uri: String,
pub read_offset: i64,
pub read_limit: i64,
pub archive_entry: String,
}
Expand description
Request object for GetFileTail
Fields§
§uri: String
This corresponds to the uri field in the File message: for an obfuscated File.uri like CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ, the value here should be files/CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ
read_offset: i64
The offset for the first byte to return in the read, relative to the end of the resource.
A read_offset
that is negative or greater than the size of the resource
will cause an OUT_OF_RANGE
error.
read_limit: i64
The maximum number of data
bytes the server is allowed to return. The
server will return bytes starting from the tail of the file.
A read_limit
of zero indicates that there is no limit, and a negative
read_limit
will cause an error.
archive_entry: String
Only applies if the referenced file is a known archive type (ar, jar, zip) The above read_offset and read_limit fields are applied to this entry. If this file is not an archive, INVALID_ARGUMENT is thrown.
Trait Implementations§
source§impl Clone for GetFileTailRequest
impl Clone for GetFileTailRequest
source§fn clone(&self) -> GetFileTailRequest
fn clone(&self) -> GetFileTailRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFileTailRequest
impl Debug for GetFileTailRequest
source§impl Default for GetFileTailRequest
impl Default for GetFileTailRequest
source§impl Message for GetFileTailRequest
impl Message for GetFileTailRequest
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 GetFileTailRequest
impl PartialEq for GetFileTailRequest
source§fn eq(&self, other: &GetFileTailRequest) -> bool
fn eq(&self, other: &GetFileTailRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetFileTailRequest
Auto Trait Implementations§
impl Freeze for GetFileTailRequest
impl RefUnwindSafe for GetFileTailRequest
impl Send for GetFileTailRequest
impl Sync for GetFileTailRequest
impl Unpin for GetFileTailRequest
impl UnwindSafe for GetFileTailRequest
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