Class Node.InputEdge.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Node.InputEdge.Builder>
com.google.cloud.visionai.v1.Node.InputEdge.Builder
All Implemented Interfaces:
Node.InputEdgeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Node.InputEdge

public static final class Node.InputEdge.Builder extends com.google.protobuf.GeneratedMessage.Builder<Node.InputEdge.Builder> implements Node.InputEdgeOrBuilder
 Message describing one edge pointing into a node.
 
Protobuf type google.cloud.visionai.v1.Node.InputEdge
  • 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.Builder<Node.InputEdge.Builder>
    • clear

      public Node.InputEdge.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Node.InputEdge.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Node.InputEdge.Builder>
    • getDefaultInstanceForType

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

      public Node.InputEdge build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Node.InputEdge buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Node.InputEdge.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Node.InputEdge.Builder>
    • mergeFrom

      public Node.InputEdge.Builder mergeFrom(Node.InputEdge other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Node.InputEdge.Builder>
    • mergeFrom

      public Node.InputEdge.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Node.InputEdge.Builder>
      Throws:
      IOException
    • getParentNode

      public String getParentNode()
       The name of the parent node.
       
      string parent_node = 1;
      Specified by:
      getParentNode in interface Node.InputEdgeOrBuilder
      Returns:
      The parentNode.
    • getParentNodeBytes

      public com.google.protobuf.ByteString getParentNodeBytes()
       The name of the parent node.
       
      string parent_node = 1;
      Specified by:
      getParentNodeBytes in interface Node.InputEdgeOrBuilder
      Returns:
      The bytes for parentNode.
    • setParentNode

      public Node.InputEdge.Builder setParentNode(String value)
       The name of the parent node.
       
      string parent_node = 1;
      Parameters:
      value - The parentNode to set.
      Returns:
      This builder for chaining.
    • clearParentNode

      public Node.InputEdge.Builder clearParentNode()
       The name of the parent node.
       
      string parent_node = 1;
      Returns:
      This builder for chaining.
    • setParentNodeBytes

      public Node.InputEdge.Builder setParentNodeBytes(com.google.protobuf.ByteString value)
       The name of the parent node.
       
      string parent_node = 1;
      Parameters:
      value - The bytes for parentNode to set.
      Returns:
      This builder for chaining.
    • getParentOutputChannel

      public String getParentOutputChannel()
       The connected output artifact of the parent node.
       It can be omitted if target processor only has 1 output artifact.
       
      string parent_output_channel = 2;
      Specified by:
      getParentOutputChannel in interface Node.InputEdgeOrBuilder
      Returns:
      The parentOutputChannel.
    • getParentOutputChannelBytes

      public com.google.protobuf.ByteString getParentOutputChannelBytes()
       The connected output artifact of the parent node.
       It can be omitted if target processor only has 1 output artifact.
       
      string parent_output_channel = 2;
      Specified by:
      getParentOutputChannelBytes in interface Node.InputEdgeOrBuilder
      Returns:
      The bytes for parentOutputChannel.
    • setParentOutputChannel

      public Node.InputEdge.Builder setParentOutputChannel(String value)
       The connected output artifact of the parent node.
       It can be omitted if target processor only has 1 output artifact.
       
      string parent_output_channel = 2;
      Parameters:
      value - The parentOutputChannel to set.
      Returns:
      This builder for chaining.
    • clearParentOutputChannel

      public Node.InputEdge.Builder clearParentOutputChannel()
       The connected output artifact of the parent node.
       It can be omitted if target processor only has 1 output artifact.
       
      string parent_output_channel = 2;
      Returns:
      This builder for chaining.
    • setParentOutputChannelBytes

      public Node.InputEdge.Builder setParentOutputChannelBytes(com.google.protobuf.ByteString value)
       The connected output artifact of the parent node.
       It can be omitted if target processor only has 1 output artifact.
       
      string parent_output_channel = 2;
      Parameters:
      value - The bytes for parentOutputChannel to set.
      Returns:
      This builder for chaining.
    • getConnectedInputChannel

      public String getConnectedInputChannel()
       The connected input channel of the current node's processor.
       It can be omitted if target processor only has 1 input channel.
       
      string connected_input_channel = 3;
      Specified by:
      getConnectedInputChannel in interface Node.InputEdgeOrBuilder
      Returns:
      The connectedInputChannel.
    • getConnectedInputChannelBytes

      public com.google.protobuf.ByteString getConnectedInputChannelBytes()
       The connected input channel of the current node's processor.
       It can be omitted if target processor only has 1 input channel.
       
      string connected_input_channel = 3;
      Specified by:
      getConnectedInputChannelBytes in interface Node.InputEdgeOrBuilder
      Returns:
      The bytes for connectedInputChannel.
    • setConnectedInputChannel

      public Node.InputEdge.Builder setConnectedInputChannel(String value)
       The connected input channel of the current node's processor.
       It can be omitted if target processor only has 1 input channel.
       
      string connected_input_channel = 3;
      Parameters:
      value - The connectedInputChannel to set.
      Returns:
      This builder for chaining.
    • clearConnectedInputChannel

      public Node.InputEdge.Builder clearConnectedInputChannel()
       The connected input channel of the current node's processor.
       It can be omitted if target processor only has 1 input channel.
       
      string connected_input_channel = 3;
      Returns:
      This builder for chaining.
    • setConnectedInputChannelBytes

      public Node.InputEdge.Builder setConnectedInputChannelBytes(com.google.protobuf.ByteString value)
       The connected input channel of the current node's processor.
       It can be omitted if target processor only has 1 input channel.
       
      string connected_input_channel = 3;
      Parameters:
      value - The bytes for connectedInputChannel to set.
      Returns:
      This builder for chaining.