Struct google_api_proto::google::cloud::visionai::v1::CustomProcessorSourceInfo
source · pub struct CustomProcessorSourceInfo {
pub source_type: i32,
pub additional_info: BTreeMap<String, String>,
pub model_schema: Option<ModelSchema>,
pub artifact_path: Option<ArtifactPath>,
}
Expand description
Describes the source info for a custom processor.
Fields§
§source_type: i32
The original product which holds the custom processor’s functionality.
additional_info: BTreeMap<String, String>
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
model_schema: Option<ModelSchema>
Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn’t exist, the creation will fail.
artifact_path: Option<ArtifactPath>
The path where App Platform loads the artifacts for the custom processor.
Implementations§
source§impl CustomProcessorSourceInfo
impl CustomProcessorSourceInfo
sourcepub fn source_type(&self) -> SourceType
pub fn source_type(&self) -> SourceType
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: SourceType)
pub fn set_source_type(&mut self, value: SourceType)
Sets source_type
to the provided enum value.
Trait Implementations§
source§impl Clone for CustomProcessorSourceInfo
impl Clone for CustomProcessorSourceInfo
source§fn clone(&self) -> CustomProcessorSourceInfo
fn clone(&self) -> CustomProcessorSourceInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomProcessorSourceInfo
impl Debug for CustomProcessorSourceInfo
source§impl Default for CustomProcessorSourceInfo
impl Default for CustomProcessorSourceInfo
source§impl Message for CustomProcessorSourceInfo
impl Message for CustomProcessorSourceInfo
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 CustomProcessorSourceInfo
impl PartialEq for CustomProcessorSourceInfo
source§fn eq(&self, other: &CustomProcessorSourceInfo) -> bool
fn eq(&self, other: &CustomProcessorSourceInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomProcessorSourceInfo
Auto Trait Implementations§
impl Freeze for CustomProcessorSourceInfo
impl RefUnwindSafe for CustomProcessorSourceInfo
impl Send for CustomProcessorSourceInfo
impl Sync for CustomProcessorSourceInfo
impl Unpin for CustomProcessorSourceInfo
impl UnwindSafe for CustomProcessorSourceInfo
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