Class Node

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.Node
All Implemented Interfaces:
NodeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Node extends com.google.protobuf.GeneratedMessage implements NodeOrBuilder
 Message describing node object.
 
Protobuf type google.cloud.visionai.v1.Node
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Message describing node object.
    static final class 
    Message describing one edge pointing into a node.
    static interface 
     
    static enum 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static Node
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    A user friendly display name for the node.
    com.google.protobuf.ByteString
    A user friendly display name for the node.
    Required.
    com.google.protobuf.ByteString
    Required.
    Node config.
    Node config.
    boolean
    By default, the output of the node will only be available to downstream nodes.
    getParents(int index)
    Parent node.
    int
    Parent node.
    Parent node.
    Parent node.
    Parent node.
    com.google.protobuf.Parser<Node>
     
    Processor name refer to the chosen processor resource.
    com.google.protobuf.ByteString
    Processor name refer to the chosen processor resource.
    int
     
     
    int
     
    boolean
    Node config.
    boolean
    By default, the output of the node will only be available to downstream nodes.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Node prototype)
     
     
    protected Node.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Node
     
    static Node
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Node
    parseFrom(byte[] data)
     
    static Node
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Node
    parseFrom(com.google.protobuf.ByteString data)
     
    static Node
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Node
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Node
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Node
     
    static Node
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Node
     
    static Node
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Node>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • OUTPUT_ALL_OUTPUT_CHANNELS_TO_STREAM_FIELD_NUMBER

      public static final int OUTPUT_ALL_OUTPUT_CHANNELS_TO_STREAM_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • NODE_CONFIG_FIELD_NUMBER

      public static final int NODE_CONFIG_FIELD_NUMBER
      See Also:
    • PROCESSOR_FIELD_NUMBER

      public static final int PROCESSOR_FIELD_NUMBER
      See Also:
    • PARENTS_FIELD_NUMBER

      public static final int PARENTS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getStreamOutputConfigCase

      public Node.StreamOutputConfigCase getStreamOutputConfigCase()
      Specified by:
      getStreamOutputConfigCase in interface NodeOrBuilder
    • 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:
      hasOutputAllOutputChannelsToStream in interface NodeOrBuilder
      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:
      getOutputAllOutputChannelsToStream in interface NodeOrBuilder
      Returns:
      The outputAllOutputChannelsToStream.
    • getName

      public String getName()
       Required. A unique name for the node.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface NodeOrBuilder
      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:
      getNameBytes in interface NodeOrBuilder
      Returns:
      The bytes for name.
    • getDisplayName

      public String getDisplayName()
       A user friendly display name for the node.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface NodeOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       A user friendly display name for the node.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface NodeOrBuilder
      Returns:
      The bytes for displayName.
    • hasNodeConfig

      public boolean hasNodeConfig()
       Node config.
       
      .google.cloud.visionai.v1.ProcessorConfig node_config = 3;
      Specified by:
      hasNodeConfig in interface NodeOrBuilder
      Returns:
      Whether the nodeConfig field is set.
    • getNodeConfig

      public ProcessorConfig getNodeConfig()
       Node config.
       
      .google.cloud.visionai.v1.ProcessorConfig node_config = 3;
      Specified by:
      getNodeConfig in interface NodeOrBuilder
      Returns:
      The nodeConfig.
    • getNodeConfigOrBuilder

      public ProcessorConfigOrBuilder getNodeConfigOrBuilder()
       Node config.
       
      .google.cloud.visionai.v1.ProcessorConfig node_config = 3;
      Specified by:
      getNodeConfigOrBuilder in interface NodeOrBuilder
    • getProcessor

      public String getProcessor()
       Processor name refer to the chosen processor resource.
       
      string processor = 4;
      Specified by:
      getProcessor in interface NodeOrBuilder
      Returns:
      The processor.
    • getProcessorBytes

      public com.google.protobuf.ByteString getProcessorBytes()
       Processor name refer to the chosen processor resource.
       
      string processor = 4;
      Specified by:
      getProcessorBytes in interface NodeOrBuilder
      Returns:
      The bytes for processor.
    • 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;
      Specified by:
      getParentsList in interface NodeOrBuilder
    • 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;
      Specified by:
      getParentsOrBuilderList in interface NodeOrBuilder
    • 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:
      getParentsCount in interface NodeOrBuilder
    • getParents

      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;
      Specified by:
      getParents in interface NodeOrBuilder
    • getParentsOrBuilder

      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;
      Specified by:
      getParentsOrBuilder in interface NodeOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Node parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Node parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Node parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Node parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Node parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Node parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Node.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Node.Builder newBuilder()
    • newBuilder

      public static Node.Builder newBuilder(Node prototype)
    • toBuilder

      public Node.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Node.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Node getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Node> parser()
    • getParserForType

      public com.google.protobuf.Parser<Node> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Node getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder