Enum google_api_proto::google::cloud::documentai::v1beta3::import_documents_request::batch_documents_import_config::SplitTypeConfig
source · pub enum SplitTypeConfig {
DatasetSplit(i32),
AutoSplitConfig(AutoSplitConfig),
}
Variants§
DatasetSplit(i32)
Target dataset split where the documents must be stored.
AutoSplitConfig(AutoSplitConfig)
If set, documents will be automatically split into training and test split category with the specified ratio.
Implementations§
source§impl SplitTypeConfig
impl SplitTypeConfig
sourcepub fn merge<B>(
field: &mut Option<SplitTypeConfig>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<SplitTypeConfig>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for SplitTypeConfig
impl Clone for SplitTypeConfig
source§fn clone(&self) -> SplitTypeConfig
fn clone(&self) -> SplitTypeConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SplitTypeConfig
impl Debug for SplitTypeConfig
source§impl PartialEq for SplitTypeConfig
impl PartialEq for SplitTypeConfig
source§fn eq(&self, other: &SplitTypeConfig) -> bool
fn eq(&self, other: &SplitTypeConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SplitTypeConfig
Auto Trait Implementations§
impl Freeze for SplitTypeConfig
impl RefUnwindSafe for SplitTypeConfig
impl Send for SplitTypeConfig
impl Sync for SplitTypeConfig
impl Unpin for SplitTypeConfig
impl UnwindSafe for SplitTypeConfig
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request