pub struct RestoreTableMetadata {
pub name: String,
pub source_type: i32,
pub optimize_table_operation_name: String,
pub progress: Option<OperationProgress>,
pub source_info: Option<SourceInfo>,
}
Expand description
Metadata type for the long-running operation returned by [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
Fields§
§name: String
Name of the table being created and restored to.
source_type: i32
The type of the restore source.
optimize_table_operation_name: String
If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is [OptimizeRestoreTableMetadata][]. The response type is [Empty][google.protobuf.Empty]. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.
progress: Option<OperationProgress>
The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.
source_info: Option<SourceInfo>
Information about the source used to restore the table, as specified by
source
in
[RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest].
Implementations§
Source§impl RestoreTableMetadata
impl RestoreTableMetadata
Sourcepub fn source_type(&self) -> RestoreSourceType
pub fn source_type(&self) -> RestoreSourceType
Returns the enum value of source_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source_type(&mut self, value: RestoreSourceType)
pub fn set_source_type(&mut self, value: RestoreSourceType)
Sets source_type
to the provided enum value.
Trait Implementations§
Source§impl Clone for RestoreTableMetadata
impl Clone for RestoreTableMetadata
Source§fn clone(&self) -> RestoreTableMetadata
fn clone(&self) -> RestoreTableMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RestoreTableMetadata
impl Debug for RestoreTableMetadata
Source§impl Default for RestoreTableMetadata
impl Default for RestoreTableMetadata
Source§impl Message for RestoreTableMetadata
impl Message for RestoreTableMetadata
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 RestoreTableMetadata
impl PartialEq for RestoreTableMetadata
impl StructuralPartialEq for RestoreTableMetadata
Auto Trait Implementations§
impl Freeze for RestoreTableMetadata
impl RefUnwindSafe for RestoreTableMetadata
impl Send for RestoreTableMetadata
impl Sync for RestoreTableMetadata
impl Unpin for RestoreTableMetadata
impl UnwindSafe for RestoreTableMetadata
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