Class Node.Builder (0.14.1)

public static final class Node.Builder extends GeneratedMessageV3.Builder<Node.Builder> implements NodeOrBuilder

Message describing node object.

Protobuf type google.events.cloud.visionai.v1.Node

Implements

NodeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllParents(Iterable<? extends Node.InputEdge> values)

public Node.Builder addAllParents(Iterable<? extends Node.InputEdge> values)

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.visionai.v1.Node.InputEdge>
Returns
TypeDescription
Node.Builder

addParents(Node.InputEdge value)

public Node.Builder addParents(Node.InputEdge value)

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
valueNode.InputEdge
Returns
TypeDescription
Node.Builder

addParents(Node.InputEdge.Builder builderForValue)

public Node.Builder addParents(Node.InputEdge.Builder builderForValue)

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
builderForValueNode.InputEdge.Builder
Returns
TypeDescription
Node.Builder

addParents(int index, Node.InputEdge value)

public Node.Builder addParents(int index, Node.InputEdge value)

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameters
NameDescription
indexint
valueNode.InputEdge
Returns
TypeDescription
Node.Builder

addParents(int index, Node.InputEdge.Builder builderForValue)

public Node.Builder addParents(int index, Node.InputEdge.Builder builderForValue)

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameters
NameDescription
indexint
builderForValueNode.InputEdge.Builder
Returns
TypeDescription
Node.Builder

addParentsBuilder()

public Node.InputEdge.Builder addParentsBuilder()

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Returns
TypeDescription
Node.InputEdge.Builder

addParentsBuilder(int index)

public Node.InputEdge.Builder addParentsBuilder(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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Node.InputEdge.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Node.Builder
Overrides

build()

public Node build()
Returns
TypeDescription
Node

buildPartial()

public Node buildPartial()
Returns
TypeDescription
Node

clear()

public Node.Builder clear()
Returns
TypeDescription
Node.Builder
Overrides

clearDisplayName()

public Node.Builder clearDisplayName()

A user friendly display name for the node.

string display_name = 2;

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Node.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Node.Builder
Overrides

clearName()

public Node.Builder clearName()

Required. A unique name for the node.

string name = 1;

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearNodeConfig()

public Node.Builder clearNodeConfig()

Node config.

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

Returns
TypeDescription
Node.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Node.Builder
Overrides

clearOutputAllOutputChannelsToStream()

public Node.Builder clearOutputAllOutputChannelsToStream()

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
TypeDescription
Node.Builder

This builder for chaining.

clearParents()

public Node.Builder clearParents()

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Returns
TypeDescription
Node.Builder

clearProcessor()

public Node.Builder clearProcessor()

Processor name refer to the chosen processor resource.

string processor = 4;

Returns
TypeDescription
Node.Builder

This builder for chaining.

clearStreamOutputConfig()

public Node.Builder clearStreamOutputConfig()
Returns
TypeDescription
Node.Builder

clone()

public Node.Builder clone()
Returns
TypeDescription
Node.Builder
Overrides

getDefaultInstanceForType()

public Node getDefaultInstanceForType()
Returns
TypeDescription
Node

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

A user friendly display name for the node.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

A user friendly display name for the node.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getName()

public String getName()

Required. A unique name for the node.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A unique name for the node.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNodeConfig()

public ProcessorConfig getNodeConfig()

Node config.

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

Returns
TypeDescription
ProcessorConfig

The nodeConfig.

getNodeConfigBuilder()

public ProcessorConfig.Builder getNodeConfigBuilder()

Node config.

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

Returns
TypeDescription
ProcessorConfig.Builder

getNodeConfigOrBuilder()

public ProcessorConfigOrBuilder getNodeConfigOrBuilder()

Node config.

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

Returns
TypeDescription
ProcessorConfigOrBuilder

getOutputAllOutputChannelsToStream()

public 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
TypeDescription
boolean

The outputAllOutputChannelsToStream.

getParents(int index)

public 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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Node.InputEdge

getParentsBuilder(int index)

public Node.InputEdge.Builder getParentsBuilder(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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Node.InputEdge.Builder

getParentsBuilderList()

public List<Node.InputEdge.Builder> getParentsBuilderList()

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Returns
TypeDescription
List<Builder>

getParentsCount()

public 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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Returns
TypeDescription
int

getParentsList()

public 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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Returns
TypeDescription
List<InputEdge>

getParentsOrBuilder(int index)

public 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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Node.InputEdgeOrBuilder

getParentsOrBuilderList()

public 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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Returns
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.Node.InputEdgeOrBuilder>

getProcessor()

public String getProcessor()

Processor name refer to the chosen processor resource.

string processor = 4;

Returns
TypeDescription
String

The processor.

getProcessorBytes()

public ByteString getProcessorBytes()

Processor name refer to the chosen processor resource.

string processor = 4;

Returns
TypeDescription
ByteString

The bytes for processor.

getStreamOutputConfigCase()

public Node.StreamOutputConfigCase getStreamOutputConfigCase()
Returns
TypeDescription
Node.StreamOutputConfigCase

hasNodeConfig()

public boolean hasNodeConfig()

Node config.

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

Returns
TypeDescription
boolean

Whether the nodeConfig field is set.

hasOutputAllOutputChannelsToStream()

public 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
TypeDescription
boolean

Whether the outputAllOutputChannelsToStream field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Node other)

public Node.Builder mergeFrom(Node other)
Parameter
NameDescription
otherNode
Returns
TypeDescription
Node.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Node.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Node.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Node.Builder
Overrides

mergeNodeConfig(ProcessorConfig value)

public Node.Builder mergeNodeConfig(ProcessorConfig value)

Node config.

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

Parameter
NameDescription
valueProcessorConfig
Returns
TypeDescription
Node.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Node.Builder
Overrides

removeParents(int index)

public Node.Builder removeParents(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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Node.Builder

setDisplayName(String value)

public Node.Builder setDisplayName(String value)

A user friendly display name for the node.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Node.Builder setDisplayNameBytes(ByteString value)

A user friendly display name for the node.

string display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Node.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Node.Builder
Overrides

setName(String value)

public Node.Builder setName(String value)

Required. A unique name for the node.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Node.Builder setNameBytes(ByteString value)

Required. A unique name for the node.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setNodeConfig(ProcessorConfig value)

public Node.Builder setNodeConfig(ProcessorConfig value)

Node config.

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

Parameter
NameDescription
valueProcessorConfig
Returns
TypeDescription
Node.Builder

setNodeConfig(ProcessorConfig.Builder builderForValue)

public Node.Builder setNodeConfig(ProcessorConfig.Builder builderForValue)

Node config.

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

Parameter
NameDescription
builderForValueProcessorConfig.Builder
Returns
TypeDescription
Node.Builder

setOutputAllOutputChannelsToStream(boolean value)

public Node.Builder setOutputAllOutputChannelsToStream(boolean value)

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;

Parameter
NameDescription
valueboolean

The outputAllOutputChannelsToStream to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setParents(int index, Node.InputEdge value)

public Node.Builder setParents(int index, Node.InputEdge value)

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameters
NameDescription
indexint
valueNode.InputEdge
Returns
TypeDescription
Node.Builder

setParents(int index, Node.InputEdge.Builder builderForValue)

public Node.Builder setParents(int index, Node.InputEdge.Builder builderForValue)

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.events.cloud.visionai.v1.Node.InputEdge parents = 5;

Parameters
NameDescription
indexint
builderForValueNode.InputEdge.Builder
Returns
TypeDescription
Node.Builder

setProcessor(String value)

public Node.Builder setProcessor(String value)

Processor name refer to the chosen processor resource.

string processor = 4;

Parameter
NameDescription
valueString

The processor to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setProcessorBytes(ByteString value)

public Node.Builder setProcessorBytes(ByteString value)

Processor name refer to the chosen processor resource.

string processor = 4;

Parameter
NameDescription
valueByteString

The bytes for processor to set.

Returns
TypeDescription
Node.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Node.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Node.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Node.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Node.Builder
Overrides