Interface NodeOrBuilder (0.5.0)

public interface NodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

A user friendly display name for the node.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

A user friendly display name for the node.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public abstract String getName()

Required. A unique name for the node.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. A unique name for the node.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getNodeConfig()

public abstract ProcessorConfig getNodeConfig()

Node config.

.google.cloud.visionai.v1.ProcessorConfig node_config = 3;

Returns
Type Description
ProcessorConfig

The nodeConfig.

getNodeConfigOrBuilder()

public abstract ProcessorConfigOrBuilder getNodeConfigOrBuilder()

Node config.

.google.cloud.visionai.v1.ProcessorConfig node_config = 3;

Returns
Type Description
ProcessorConfigOrBuilder

getOutputAllOutputChannelsToStream()

public abstract 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
Type Description
boolean

The outputAllOutputChannelsToStream.

getParents(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
Node.InputEdge

getParentsCount()

public abstract 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;

Returns
Type Description
int

getParentsList()

public abstract 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;

Returns
Type Description
List<InputEdge>

getParentsOrBuilder(int index)

public abstract Node.InputEdgeOrBuilder getParentsOrBuilder(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;

Parameter
Name Description
index int
Returns
Type Description
Node.InputEdgeOrBuilder

getParentsOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.Node.InputEdgeOrBuilder>

getProcessor()

public abstract String getProcessor()

Processor name refer to the chosen processor resource.

string processor = 4;

Returns
Type Description
String

The processor.

getProcessorBytes()

public abstract ByteString getProcessorBytes()

Processor name refer to the chosen processor resource.

string processor = 4;

Returns
Type Description
ByteString

The bytes for processor.

getStreamOutputConfigCase()

public abstract Node.StreamOutputConfigCase getStreamOutputConfigCase()
Returns
Type Description
Node.StreamOutputConfigCase

hasNodeConfig()

public abstract boolean hasNodeConfig()

Node config.

.google.cloud.visionai.v1.ProcessorConfig node_config = 3;

Returns
Type Description
boolean

Whether the nodeConfig field is set.

hasOutputAllOutputChannelsToStream()

public abstract 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
Type Description
boolean

Whether the outputAllOutputChannelsToStream field is set.