Struct google_api_proto::google::bigtable::admin::v2::RestoreTableMetadata
source · 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
source§fn eq(&self, other: &RestoreTableMetadata) -> bool
fn eq(&self, other: &RestoreTableMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.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
§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