
com.google.cloud.visionai.v1.NodeOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/visionai/v1/platform.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;
public interface NodeOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.Node)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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.
*
*
* bool output_all_output_channels_to_stream = 6;
*
* @return Whether the outputAllOutputChannelsToStream field is set.
*/
boolean hasOutputAllOutputChannelsToStream();
/**
*
*
*
* 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.
*
*
* bool output_all_output_channels_to_stream = 6;
*
* @return The outputAllOutputChannelsToStream.
*/
boolean getOutputAllOutputChannelsToStream();
/**
*
*
*
* Required. A unique name for the node.
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Required. A unique name for the node.
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* A user friendly display name for the node.
*
*
* string display_name = 2;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* A user friendly display name for the node.
*
*
* string display_name = 2;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Node config.
*
*
* .google.cloud.visionai.v1.ProcessorConfig node_config = 3;
*
* @return Whether the nodeConfig field is set.
*/
boolean hasNodeConfig();
/**
*
*
*
* Node config.
*
*
* .google.cloud.visionai.v1.ProcessorConfig node_config = 3;
*
* @return The nodeConfig.
*/
com.google.cloud.visionai.v1.ProcessorConfig getNodeConfig();
/**
*
*
*
* Node config.
*
*
* .google.cloud.visionai.v1.ProcessorConfig node_config = 3;
*/
com.google.cloud.visionai.v1.ProcessorConfigOrBuilder getNodeConfigOrBuilder();
/**
*
*
*
* Processor name refer to the chosen processor resource.
*
*
* string processor = 4;
*
* @return The processor.
*/
java.lang.String getProcessor();
/**
*
*
*
* Processor name refer to the chosen processor resource.
*
*
* string processor = 4;
*
* @return The bytes for processor.
*/
com.google.protobuf.ByteString getProcessorBytes();
/**
*
*
*
* Parent node. Input node should not have parent node. For V1 Alpha1/Beta
* only media warehouse node can have multiple parents, other types of nodes
* will only have one parent.
*
*
* repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
*/
java.util.List getParentsList();
/**
*
*
*
* Parent node. Input node should not have parent node. For V1 Alpha1/Beta
* only media warehouse node can have multiple parents, other types of nodes
* will only have one parent.
*
*
* repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
*/
com.google.cloud.visionai.v1.Node.InputEdge getParents(int index);
/**
*
*
*
* Parent node. Input node should not have parent node. For V1 Alpha1/Beta
* only media warehouse node can have multiple parents, other types of nodes
* will only have one parent.
*
*
* repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
*/
int getParentsCount();
/**
*
*
*
* Parent node. Input node should not have parent node. For V1 Alpha1/Beta
* only media warehouse node can have multiple parents, other types of nodes
* will only have one parent.
*
*
* repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
*/
java.util.List extends com.google.cloud.visionai.v1.Node.InputEdgeOrBuilder>
getParentsOrBuilderList();
/**
*
*
*
* Parent node. Input node should not have parent node. For V1 Alpha1/Beta
* only media warehouse node can have multiple parents, other types of nodes
* will only have one parent.
*
*
* repeated .google.cloud.visionai.v1.Node.InputEdge parents = 5;
*/
com.google.cloud.visionai.v1.Node.InputEdgeOrBuilder getParentsOrBuilder(int index);
com.google.cloud.visionai.v1.Node.StreamOutputConfigCase getStreamOutputConfigCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy