Enum gapi_grpc::google::devtools::resultstore::v2::upload_request::UploadOperation[][src]

#[repr(i32)]pub enum UploadOperation {
    Unspecified,
    Create,
    Update,
    Merge,
    Finalize,
}

The operation for the request (e.g. Create(), Update(), etc.)

Variants

Unspecified

Unspecified

Create

Create the given resources except Invocation. For more information, check the Create APIs.

Update

Applies a standard update to the resource identified by the given proto’s name. For more information, see the Update APIs. UploadBatch does not support arbitrary field masks. The list of allowed field masks can be found below.

Merge

Applies an merge update to the resource identified by the given proto’s name. For more information, see the Merge APIs. UploadBatch does not support arbitrary field masks. The list of allowed field masks can be found below.

Finalize

Declares the resource with the given name as finalized and immutable by the uploader. Only supported for Invocation, Target, ConfiguredTarget. There must be no operation on child resources after parent resource is Finalized. If there is a Finalize of Invocation, it must be the final UploadRequest. For more information, see the Finalize APIs. An empty resource should be provided below.

Implementations

impl UploadOperation[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of UploadOperation.

pub fn from_i32(value: i32) -> Option<UploadOperation>[src]

Converts an i32 to a UploadOperation, or None if value is not a valid variant.

Trait Implementations

impl Clone for UploadOperation[src]

impl Copy for UploadOperation[src]

impl Debug for UploadOperation[src]

impl Default for UploadOperation[src]

impl Eq for UploadOperation[src]

impl From<UploadOperation> for i32[src]

impl Hash for UploadOperation[src]

impl Ord for UploadOperation[src]

impl PartialEq<UploadOperation> for UploadOperation[src]

impl PartialOrd<UploadOperation> for UploadOperation[src]

impl StructuralEq for UploadOperation[src]

impl StructuralPartialEq for UploadOperation[src]

Auto Trait Implementations

impl RefUnwindSafe for UploadOperation

impl Send for UploadOperation

impl Sync for UploadOperation

impl Unpin for UploadOperation

impl UnwindSafe for UploadOperation

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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]