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

pub struct UploadBatchRequest {
    pub parent: String,
    pub authorization_token: String,
    pub next_resume_token: String,
    pub resume_token: String,
    pub uploader_state: Vec<u8>,
    pub upload_requests: Vec<UploadRequest>,
}

Request passed into UploadBatch

Fields

parent: String

Required. The name of the invocation being modified. The name format must be: invocations/${INVOCATION_ID}

authorization_token: String

Required. A UUID that must match the value provided in CreateInvocationRequest.

next_resume_token: String

Required. The token of this batch, that will be committed in this UploadBatchRequest. If this matches the previously uploaded resume_token, then this request will silently do nothing. See CreateInvocationRequest.initial_resume_token for more information. Must be web safe Base64 encoded bytes.

resume_token: String

Required. The token of the previous batch that was committed in a UploadBatchRequest. This will be checked after next_resume_token match is checked. If this does not match the previously uploaded resume_token, a 409 Conflict (HTTPS) or ABORTED (gRPC ) error code indicating a concurrency failure will be returned, and that the user should call GetInvocationUploadMetadata to fetch the current resume_token to reconstruct the state of the upload to resume it. See CreateInvocationRequest.initial_resume_token for more information. Must be web safe Base64 encoded bytes.

uploader_state: Vec<u8>

Client-specific data used to resume batch upload if an error occurs and retry is needed. This serves a role closely related to resume_token, as both fields may be used to provide state required to restore a Batch Upload, but they differ in two important aspects:

upload_requests: Vec<UploadRequest>

The individual upload requests for this batch. This field may be empty, allowing this RPC to be used like TouchInvocation.

Trait Implementations

impl Clone for UploadBatchRequest[src]

impl Debug for UploadBatchRequest[src]

impl Default for UploadBatchRequest[src]

impl Message for UploadBatchRequest[src]

impl PartialEq<UploadBatchRequest> for UploadBatchRequest[src]

impl StructuralPartialEq for UploadBatchRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UploadBatchRequest

impl Send for UploadBatchRequest

impl Sync for UploadBatchRequest

impl Unpin for UploadBatchRequest

impl UnwindSafe for UploadBatchRequest

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]