pub struct BatchJob {
pub resource_name: String,
pub id: i64,
pub next_add_sequence_token: String,
pub metadata: Option<BatchJobMetadata>,
pub status: i32,
pub long_running_operation: String,
}
Expand description
A list of mutates being processed asynchronously. The mutates are uploaded by the user. The mutates themselves aren’t readable and the results of the job can only be read using BatchJobService.ListBatchJobResults.
Fields§
§resource_name: String
Immutable. The resource name of the batch job. Batch job resource names have the form:
customers/{customer_id}/batchJobs/{batch_job_id}
id: i64
Output only. ID of this batch job.
next_add_sequence_token: String
Output only. The next sequence token to use when adding operations. Only set when the batch job status is PENDING.
metadata: Option<BatchJobMetadata>
Output only. Contains additional information about this batch job.
status: i32
Output only. Status of this batch job.
long_running_operation: String
Output only. The resource name of the long-running operation that can be used to poll for completion. Only set when the batch job status is RUNNING or DONE.
Implementations§
Source§impl BatchJob
impl BatchJob
Sourcepub fn status(&self) -> BatchJobStatus
pub fn status(&self) -> BatchJobStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_status(&mut self, value: BatchJobStatus)
pub fn set_status(&mut self, value: BatchJobStatus)
Sets status
to the provided enum value.
Trait Implementations§
Source§impl Message for BatchJob
impl Message for BatchJob
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for BatchJob
Auto Trait Implementations§
impl Freeze for BatchJob
impl RefUnwindSafe for BatchJob
impl Send for BatchJob
impl Sync for BatchJob
impl Unpin for BatchJob
impl UnwindSafe for BatchJob
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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