Struct gapi_grpc::google::devtools::resultstore::v2::GetFileRequest[][src]

pub struct GetFileRequest {
    pub uri: String,
    pub read_offset: i64,
    pub read_limit: i64,
    pub archive_entry: String,
}

Request object for GetFile

Fields

uri: String

This corresponds to the uri field in the File message.

read_offset: i64

The offset for the first byte to return in the read, relative to the start 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 in the sum of all ReadResponse messages. A read_limit of zero indicates that there is no limit, and a negative read_limit will cause an error.

If the stream returns fewer bytes than allowed by the read_limit and no error occurred, the stream includes all data from the read_offset to the end of the resource.

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

impl Clone for GetFileRequest[src]

impl Debug for GetFileRequest[src]

impl Default for GetFileRequest[src]

impl Message for GetFileRequest[src]

impl PartialEq<GetFileRequest> for GetFileRequest[src]

impl StructuralPartialEq for GetFileRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GetFileRequest

impl Send for GetFileRequest

impl Sync for GetFileRequest

impl Unpin for GetFileRequest

impl UnwindSafe for GetFileRequest

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]