Enum google_api_proto::google::cloud::visionai::v1::custom_processor_source_info::ArtifactPath
source · pub enum ArtifactPath {
VertexModel(String),
ProductRecognizerArtifact(ProductRecognizerArtifact),
}
Expand description
The path where App Platform loads the artifacts for the custom processor.
Variants§
VertexModel(String)
The resource name original model hosted in the vertex AI platform.
ProductRecognizerArtifact(ProductRecognizerArtifact)
Artifact for product recognizer.
Implementations§
source§impl ArtifactPath
impl ArtifactPath
sourcepub fn merge(
field: &mut Option<ArtifactPath>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<ArtifactPath>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
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 ArtifactPath
impl Clone for ArtifactPath
source§fn clone(&self) -> ArtifactPath
fn clone(&self) -> ArtifactPath
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 ArtifactPath
impl Debug for ArtifactPath
source§impl PartialEq for ArtifactPath
impl PartialEq for ArtifactPath
source§fn eq(&self, other: &ArtifactPath) -> bool
fn eq(&self, other: &ArtifactPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArtifactPath
Auto Trait Implementations§
impl Freeze for ArtifactPath
impl RefUnwindSafe for ArtifactPath
impl Send for ArtifactPath
impl Sync for ArtifactPath
impl Unpin for ArtifactPath
impl UnwindSafe for ArtifactPath
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