Struct googapis::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>,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more