Package com.google.cloud.visionai.v1
Class Node.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
com.google.cloud.visionai.v1.Node.Builder
- All Implemented Interfaces:
NodeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Node
public static final class Node.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Node.Builder>
implements NodeOrBuilder
Message describing node object.Protobuf type
google.cloud.visionai.v1.Node-
Method Summary
Modifier and TypeMethodDescriptionaddAllParents(Iterable<? extends Node.InputEdge> values) Parent node.addParents(int index, Node.InputEdge value) Parent node.addParents(int index, Node.InputEdge.Builder builderForValue) Parent node.addParents(Node.InputEdge value) Parent node.addParents(Node.InputEdge.Builder builderForValue) Parent node.Parent node.addParentsBuilder(int index) Parent node.build()clear()A user friendly display name for the node.Required.Node config.By default, the output of the node will only be available to downstream nodes.Parent node.Processor name refer to the chosen processor resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA 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.Node config.booleanBy default, the output of the node will only be available to downstream nodes.getParents(int index) Parent node.getParentsBuilder(int index) Parent node.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNodeConfig(ProcessorConfig value) Node config.removeParents(int index) Parent node.setDisplayName(String value) A user friendly display name for the node.setDisplayNameBytes(com.google.protobuf.ByteString value) A user friendly display name for the node.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setNodeConfig(ProcessorConfig value) Node config.setNodeConfig(ProcessorConfig.Builder builderForValue) Node config.setOutputAllOutputChannelsToStream(boolean value) By default, the output of the node will only be available to downstream nodes.setParents(int index, Node.InputEdge value) Parent node.setParents(int index, Node.InputEdge.Builder builderForValue) Parent node.setProcessor(String value) Processor name refer to the chosen processor resource.setProcessorBytes(com.google.protobuf.ByteString value) Processor name refer to the chosen processor resource.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Node.Builder>
-
mergeFrom
public Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Node.Builder>- Throws:
IOException
-
getStreamOutputConfigCase
- Specified by:
getStreamOutputConfigCasein interfaceNodeOrBuilder
-
clearStreamOutputConfig
-
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;- Specified by:
hasOutputAllOutputChannelsToStreamin interfaceNodeOrBuilder- Returns:
- Whether the outputAllOutputChannelsToStream field is set.
-
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;- Specified by:
getOutputAllOutputChannelsToStreamin interfaceNodeOrBuilder- Returns:
- The outputAllOutputChannelsToStream.
-
setOutputAllOutputChannelsToStream
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;- Parameters:
value- The outputAllOutputChannelsToStream to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getName
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceNodeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceNodeOrBuilder- Returns:
- The bytes for name.
-
setName
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. A unique name for the node.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
A user friendly display name for the node.
string display_name = 2;- Specified by:
getDisplayNamein interfaceNodeOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()A user friendly display name for the node.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceNodeOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
A user friendly display name for the node.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
A user friendly display name for the node.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
A user friendly display name for the node.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasNodeConfig
public boolean hasNodeConfig()Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;- Specified by:
hasNodeConfigin interfaceNodeOrBuilder- Returns:
- Whether the nodeConfig field is set.
-
getNodeConfig
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;- Specified by:
getNodeConfigin interfaceNodeOrBuilder- Returns:
- The nodeConfig.
-
setNodeConfig
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3; -
setNodeConfig
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3; -
mergeNodeConfig
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3; -
clearNodeConfig
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3; -
getNodeConfigBuilder
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3; -
getNodeConfigOrBuilder
Node config.
.google.cloud.visionai.v1.ProcessorConfig node_config = 3;- Specified by:
getNodeConfigOrBuilderin interfaceNodeOrBuilder
-
getProcessor
Processor name refer to the chosen processor resource.
string processor = 4;- Specified by:
getProcessorin interfaceNodeOrBuilder- Returns:
- The processor.
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()Processor name refer to the chosen processor resource.
string processor = 4;- Specified by:
getProcessorBytesin interfaceNodeOrBuilder- Returns:
- The bytes for processor.
-
setProcessor
Processor name refer to the chosen processor resource.
string processor = 4;- Parameters:
value- The processor to set.- Returns:
- This builder for chaining.
-
clearProcessor
Processor name refer to the chosen processor resource.
string processor = 4;- Returns:
- This builder for chaining.
-
setProcessorBytes
Processor name refer to the chosen processor resource.
string processor = 4;- Parameters:
value- The bytes for processor to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getParentsListin interfaceNodeOrBuilder
-
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;- Specified by:
getParentsCountin interfaceNodeOrBuilder
-
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;- Specified by:
getParentsin interfaceNodeOrBuilder
-
setParents
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; -
setParents
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; -
addParents
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; -
addParents
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; -
addParents
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; -
addParents
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; -
addAllParents
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; -
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; -
removeParents
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; -
getParentsBuilder
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;- Specified by:
getParentsOrBuilderin interfaceNodeOrBuilder
-
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;- Specified by:
getParentsOrBuilderListin interfaceNodeOrBuilder
-
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; -
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; -
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;
-