Struct google_api_proto::google::storagetransfer::v1::TransferCounters
source · pub struct TransferCounters {Show 21 fields
pub objects_found_from_source: i64,
pub bytes_found_from_source: i64,
pub objects_found_only_from_sink: i64,
pub bytes_found_only_from_sink: i64,
pub objects_from_source_skipped_by_sync: i64,
pub bytes_from_source_skipped_by_sync: i64,
pub objects_copied_to_sink: i64,
pub bytes_copied_to_sink: i64,
pub objects_deleted_from_source: i64,
pub bytes_deleted_from_source: i64,
pub objects_deleted_from_sink: i64,
pub bytes_deleted_from_sink: i64,
pub objects_from_source_failed: i64,
pub bytes_from_source_failed: i64,
pub objects_failed_to_delete_from_sink: i64,
pub bytes_failed_to_delete_from_sink: i64,
pub directories_found_from_source: i64,
pub directories_failed_to_list_from_source: i64,
pub directories_successfully_listed_from_source: i64,
pub intermediate_objects_cleaned_up: i64,
pub intermediate_objects_failed_cleaned_up: i64,
}
Expand description
A collection of counters that report the progress of a transfer operation.
Fields§
§objects_found_from_source: i64
Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
bytes_found_from_source: i64
Bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
objects_found_only_from_sink: i64
Objects found only in the data sink that are scheduled to be deleted.
bytes_found_only_from_sink: i64
Bytes found only in the data sink that are scheduled to be deleted.
objects_from_source_skipped_by_sync: i64
Objects in the data source that are not transferred because they already exist in the data sink.
bytes_from_source_skipped_by_sync: i64
Bytes in the data source that are not transferred because they already exist in the data sink.
objects_copied_to_sink: i64
Objects that are copied to the data sink.
bytes_copied_to_sink: i64
Bytes that are copied to the data sink.
objects_deleted_from_source: i64
Objects that are deleted from the data source.
bytes_deleted_from_source: i64
Bytes that are deleted from the data source.
objects_deleted_from_sink: i64
Objects that are deleted from the data sink.
bytes_deleted_from_sink: i64
Bytes that are deleted from the data sink.
objects_from_source_failed: i64
Objects in the data source that failed to be transferred or that failed to be deleted after being transferred.
bytes_from_source_failed: i64
Bytes in the data source that failed to be transferred or that failed to be deleted after being transferred.
objects_failed_to_delete_from_sink: i64
Objects that failed to be deleted from the data sink.
bytes_failed_to_delete_from_sink: i64
Bytes that failed to be deleted from the data sink.
directories_found_from_source: i64
For transfers involving PosixFilesystem only.
Number of directories found while listing. For example, if the root
directory of the transfer is base/
and there are two other directories,
a/
and b/
under this directory, the count after listing base/
,
base/a/
and base/b/
is 3.
directories_failed_to_list_from_source: i64
For transfers involving PosixFilesystem only.
Number of listing failures for each directory found at the source. Potential failures when listing a directory include permission failure or block failure. If listing a directory fails, no files in the directory are transferred.
directories_successfully_listed_from_source: i64
For transfers involving PosixFilesystem only.
Number of successful listings for each directory found at the source.
intermediate_objects_cleaned_up: i64
Number of successfully cleaned up intermediate objects.
intermediate_objects_failed_cleaned_up: i64
Number of intermediate objects failed cleaned up.
Trait Implementations§
source§impl Clone for TransferCounters
impl Clone for TransferCounters
source§fn clone(&self) -> TransferCounters
fn clone(&self) -> TransferCounters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransferCounters
impl Debug for TransferCounters
source§impl Default for TransferCounters
impl Default for TransferCounters
source§impl Message for TransferCounters
impl Message for TransferCounters
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TransferCounters
impl PartialEq for TransferCounters
source§fn eq(&self, other: &TransferCounters) -> bool
fn eq(&self, other: &TransferCounters) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for TransferCounters
impl StructuralPartialEq for TransferCounters
Auto Trait Implementations§
impl Freeze for TransferCounters
impl RefUnwindSafe for TransferCounters
impl Send for TransferCounters
impl Sync for TransferCounters
impl Unpin for TransferCounters
impl UnwindSafe for TransferCounters
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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