Class CostGraphDef.Node.InputInfo.Builder

  • All Implemented Interfaces:
    Cloneable, org.nd4j.shade.protobuf.Message.Builder, org.nd4j.shade.protobuf.MessageLite.Builder, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, CostGraphDef.Node.InputInfoOrBuilder
    Enclosing class:
    CostGraphDef.Node.InputInfo

    public static final class CostGraphDef.Node.InputInfo.Builder
    extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
    implements CostGraphDef.Node.InputInfoOrBuilder
     Inputs of this node. They must be executed before this node can be
     executed. An input is a particular output of another node, specified
     by the node id and the output index.
     
    Protobuf type tensorflow.CostGraphDef.Node.InputInfo
    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • getDefaultInstanceForType

        public CostGraphDef.Node.InputInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public CostGraphDef.Node.InputInfo build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public CostGraphDef.Node.InputInfo buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • setRepeatedField

        public CostGraphDef.Node.InputInfo.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • mergeFrom

        public CostGraphDef.Node.InputInfo.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                                             org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<CostGraphDef.Node.InputInfo.Builder>
        Throws:
        IOException
      • setPrecedingNode

        public CostGraphDef.Node.InputInfo.Builder setPrecedingNode​(int value)
        int32 preceding_node = 1;
        Parameters:
        value - The precedingNode to set.
        Returns:
        This builder for chaining.
      • setPrecedingPort

        public CostGraphDef.Node.InputInfo.Builder setPrecedingPort​(int value)
        int32 preceding_port = 2;
        Parameters:
        value - The precedingPort to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CostGraphDef.Node.InputInfo.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • mergeUnknownFields

        public final CostGraphDef.Node.InputInfo.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>