Package com.google.cloud.visionai.v1
Interface NodeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Node,Node.Builder
@Generated
public interface NodeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA user friendly display name for the node.com.google.protobuf.ByteStringA user friendly display name for the node.getName()Required.com.google.protobuf.ByteStringRequired.Node config.Node config.booleanBy default, the output of the node will only be available to downstream nodes.getParents(int index) Parent node.intParent node.Parent node.getParentsOrBuilder(int index) Parent node.List<? extends Node.InputEdgeOrBuilder>Parent node.Processor name refer to the chosen processor resource.com.google.protobuf.ByteStringProcessor name refer to the chosen processor resource.booleanNode config.booleanBy default, the output of the node will only be available to downstream nodes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasOutputAllOutputChannelsToStream
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;- Returns:
- Whether the outputAllOutputChannelsToStream field is set.
-
getOutputAllOutputChannelsToStream
boolean getOutputAllOutputChannelsToStream()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;- Returns:
- The outputAllOutputChannelsToStream.
-
getName
String getName()Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()A user friendly display name for the node.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()A user friendly display name for the node.
string display_name = 2;- Returns:
- The bytes for displayName.
-
hasNodeConfig
boolean hasNodeConfig()Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
ProcessorConfig getNodeConfig()Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;- Returns:
- The nodeConfig.
-
getNodeConfigOrBuilder
ProcessorConfigOrBuilder getNodeConfigOrBuilder()Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3; -
getProcessor
String getProcessor()Processor name refer to the chosen processor resource.
string processor = 4;- Returns:
- The processor.
-
getProcessorBytes
com.google.protobuf.ByteString getProcessorBytes()Processor name refer to the chosen processor resource.
string processor = 4;- Returns:
- The bytes for processor.
-
getParentsList
List<Node.InputEdge> 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; -
getParents
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; -
getParentsCount
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; -
getParentsOrBuilderList
List<? extends 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; -
getParentsOrBuilder
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; -
getStreamOutputConfigCase
Node.StreamOutputConfigCase getStreamOutputConfigCase()
-