Class CostGraphDef.Node.InputInfo.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, CostGraphDef.Node.InputInfoOrBuilder
    Enclosing class:
    CostGraphDef.Node.InputInfo

    public static final class CostGraphDef.Node.InputInfo.Builder
    extends com.google.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 org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.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.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • getDefaultInstanceForType

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

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

        public CostGraphDef.Node.InputInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public CostGraphDef.Node.InputInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • addRepeatedField

        public CostGraphDef.Node.InputInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.InputInfo.Builder>
      • isInitialized

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

        public CostGraphDef.Node.InputInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.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<CostGraphDef.Node.InputInfo.Builder>
        Throws:
        java.io.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.
      • mergeUnknownFields

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