public static final class Node.Builder extends GeneratedMessageV3.Builder<Node.Builder> implements NodeOrBuilder
Message describing node object.
Protobuf type google.cloud.visionai.v1.Node
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Node.BuilderImplements
NodeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.Node.InputEdge> |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
value |
Node.InputEdge |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Node.InputEdge.Builder |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Node.InputEdge |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Node.InputEdge.Builder |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Node.InputEdge.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Node.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Node.Builder |
build()
public Node build()
Returns | |
---|---|
Type | Description |
Node |
buildPartial()
public Node buildPartial()
Returns | |
---|---|
Type | Description |
Node |
clear()
public Node.Builder clear()
Returns | |
---|---|
Type | Description |
Node.Builder |
clearDisplayName()
public Node.Builder clearDisplayName()
A user friendly display name for the node.
string display_name = 2;
Returns | |
---|---|
Type | Description |
Node.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Node.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Node.Builder |
clearName()
public Node.Builder clearName()
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Node.Builder |
This builder for chaining. |
clearNodeConfig()
public Node.Builder clearNodeConfig()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Returns | |
---|---|
Type | Description |
Node.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Node.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Node.Builder |
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 | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns | |
---|---|
Type | Description |
Node.Builder |
clearProcessor()
public Node.Builder clearProcessor()
Processor name refer to the chosen processor resource.
string processor = 4;
Returns | |
---|---|
Type | Description |
Node.Builder |
This builder for chaining. |
clearStreamOutputConfig()
public Node.Builder clearStreamOutputConfig()
Returns | |
---|---|
Type | Description |
Node.Builder |
clone()
public Node.Builder clone()
Returns | |
---|---|
Type | Description |
Node.Builder |
getDefaultInstanceForType()
public Node getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Node |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
A user friendly display name for the node.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
A user friendly display name for the node.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getName()
public 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 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 ProcessorConfig getNodeConfig()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Returns | |
---|---|
Type | Description |
ProcessorConfig |
The nodeConfig. |
getNodeConfigBuilder()
public ProcessorConfig.Builder getNodeConfigBuilder()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Returns | |
---|---|
Type | Description |
ProcessorConfig.Builder |
getNodeConfigOrBuilder()
public ProcessorConfigOrBuilder getNodeConfigOrBuilder()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.visionai.v1.Node.InputEdgeOrBuilder> |
getProcessor()
public String getProcessor()
Processor name refer to the chosen processor resource.
string processor = 4;
Returns | |
---|---|
Type | Description |
String |
The processor. |
getProcessorBytes()
public ByteString getProcessorBytes()
Processor name refer to the chosen processor resource.
string processor = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for processor. |
getStreamOutputConfigCase()
public Node.StreamOutputConfigCase getStreamOutputConfigCase()
Returns | |
---|---|
Type | Description |
Node.StreamOutputConfigCase |
hasNodeConfig()
public boolean hasNodeConfig()
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the outputAllOutputChannelsToStream field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Node other)
public Node.Builder mergeFrom(Node other)
Parameter | |
---|---|
Name | Description |
other |
Node |
Returns | |
---|---|
Type | Description |
Node.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Node.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Node.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Node.Builder |
mergeNodeConfig(ProcessorConfig value)
public Node.Builder mergeNodeConfig(ProcessorConfig value)
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Parameter | |
---|---|
Name | Description |
value |
ProcessorConfig |
Returns | |
---|---|
Type | Description |
Node.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Node.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Node.Builder |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Node.Builder |
setDisplayName(String value)
public Node.Builder setDisplayName(String value)
A user friendly display name for the node.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Node.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Node.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Node.Builder |
setName(String value)
public Node.Builder setName(String value)
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
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 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Node.Builder |
This builder for chaining. |
setNodeConfig(ProcessorConfig value)
public Node.Builder setNodeConfig(ProcessorConfig value)
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Parameter | |
---|---|
Name | Description |
value |
ProcessorConfig |
Returns | |
---|---|
Type | Description |
Node.Builder |
setNodeConfig(ProcessorConfig.Builder builderForValue)
public Node.Builder setNodeConfig(ProcessorConfig.Builder builderForValue)
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
ProcessorConfig.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
boolean The outputAllOutputChannelsToStream to set. |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Node.InputEdge |
Returns | |
---|---|
Type | Description |
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.cloud.visionai.v1.Node.InputEdge parents = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Node.InputEdge.Builder |
Returns | |
---|---|
Type | Description |
Node.Builder |
setProcessor(String value)
public Node.Builder setProcessor(String value)
Processor name refer to the chosen processor resource.
string processor = 4;
Parameter | |
---|---|
Name | Description |
value |
String The processor to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for processor to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Node.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Node.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Node.Builder |