Enum google_api_proto::google::cloud::visionai::v1alpha1::node::StreamOutputConfig
source · pub enum StreamOutputConfig {
OutputAllOutputChannelsToStream(bool),
}
Variants§
OutputAllOutputChannelsToStream(bool)
By default, the output of the node will only be available to downstream nodes. To consume the direct output from the application node, the output must be sent to Vision AI Streams at first.
By setting output_all_output_channels_to_stream to true, App Platform will automatically send all the outputs of the current node to Vision AI Stream resources (one stream per output channel). The output stream resource will be created by App Platform automatically during deployment and deleted after application un-deployment. Note that this config applies to all the Application Instances.
The output stream can be override at instance level by
configuring the output_resources
section of Instance resource.
producer_node
should be current node, output_resource_binding
should
be the output channel name (or leave it blank if there is only 1 output
channel of the processor) and output_resource
should be the target
output stream.
Implementations§
source§impl StreamOutputConfig
impl StreamOutputConfig
sourcepub fn merge(
field: &mut Option<StreamOutputConfig>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<StreamOutputConfig>, 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 StreamOutputConfig
impl Clone for StreamOutputConfig
source§fn clone(&self) -> StreamOutputConfig
fn clone(&self) -> StreamOutputConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamOutputConfig
impl Debug for StreamOutputConfig
source§impl PartialEq for StreamOutputConfig
impl PartialEq for StreamOutputConfig
source§fn eq(&self, other: &StreamOutputConfig) -> bool
fn eq(&self, other: &StreamOutputConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for StreamOutputConfig
impl StructuralPartialEq for StreamOutputConfig
Auto Trait Implementations§
impl Freeze for StreamOutputConfig
impl RefUnwindSafe for StreamOutputConfig
impl Send for StreamOutputConfig
impl Sync for StreamOutputConfig
impl Unpin for StreamOutputConfig
impl UnwindSafe for StreamOutputConfig
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