Class NodeDef.ExperimentalDebugInfo.Builder

    • 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<NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
      • getDefaultInstanceForType

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

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

        public NodeDef.ExperimentalDebugInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
      • addRepeatedField

        public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
      • isInitialized

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

        public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
        Throws:
        java.io.IOException
      • getOriginalNodeNamesList

        public com.google.protobuf.ProtocolStringList getOriginalNodeNamesList()
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Specified by:
        getOriginalNodeNamesList in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Returns:
        A list containing the originalNodeNames.
      • getOriginalNodeNamesCount

        public int getOriginalNodeNamesCount()
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Specified by:
        getOriginalNodeNamesCount in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Returns:
        The count of originalNodeNames.
      • getOriginalNodeNames

        public java.lang.String getOriginalNodeNames​(int index)
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Specified by:
        getOriginalNodeNames in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The originalNodeNames at the given index.
      • getOriginalNodeNamesBytes

        public com.google.protobuf.ByteString getOriginalNodeNamesBytes​(int index)
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Specified by:
        getOriginalNodeNamesBytes in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the originalNodeNames at the given index.
      • setOriginalNodeNames

        public NodeDef.ExperimentalDebugInfo.Builder setOriginalNodeNames​(int index,
                                                                          java.lang.String value)
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Parameters:
        index - The index to set the value at.
        value - The originalNodeNames to set.
        Returns:
        This builder for chaining.
      • addOriginalNodeNames

        public NodeDef.ExperimentalDebugInfo.Builder addOriginalNodeNames​(java.lang.String value)
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Parameters:
        value - The originalNodeNames to add.
        Returns:
        This builder for chaining.
      • addAllOriginalNodeNames

        public NodeDef.ExperimentalDebugInfo.Builder addAllOriginalNodeNames​(java.lang.Iterable<java.lang.String> values)
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Parameters:
        values - The originalNodeNames to add.
        Returns:
        This builder for chaining.
      • clearOriginalNodeNames

        public NodeDef.ExperimentalDebugInfo.Builder clearOriginalNodeNames()
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Returns:
        This builder for chaining.
      • addOriginalNodeNamesBytes

        public NodeDef.ExperimentalDebugInfo.Builder addOriginalNodeNamesBytes​(com.google.protobuf.ByteString value)
         Opaque string inserted into error messages created by the runtime.
         This is intended to store the list of names of the nodes from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of 2 nodes A and B, then 'original_node' would
         be {A, B}. This information can be used to map errors originating at the
         current node to some top level source code.
         
        repeated string original_node_names = 1;
        Parameters:
        value - The bytes of the originalNodeNames to add.
        Returns:
        This builder for chaining.
      • getOriginalFuncNamesList

        public com.google.protobuf.ProtocolStringList getOriginalFuncNamesList()
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Specified by:
        getOriginalFuncNamesList in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Returns:
        A list containing the originalFuncNames.
      • getOriginalFuncNamesCount

        public int getOriginalFuncNamesCount()
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Specified by:
        getOriginalFuncNamesCount in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Returns:
        The count of originalFuncNames.
      • getOriginalFuncNames

        public java.lang.String getOriginalFuncNames​(int index)
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Specified by:
        getOriginalFuncNames in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The originalFuncNames at the given index.
      • getOriginalFuncNamesBytes

        public com.google.protobuf.ByteString getOriginalFuncNamesBytes​(int index)
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Specified by:
        getOriginalFuncNamesBytes in interface NodeDef.ExperimentalDebugInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the originalFuncNames at the given index.
      • setOriginalFuncNames

        public NodeDef.ExperimentalDebugInfo.Builder setOriginalFuncNames​(int index,
                                                                          java.lang.String value)
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Parameters:
        index - The index to set the value at.
        value - The originalFuncNames to set.
        Returns:
        This builder for chaining.
      • addOriginalFuncNames

        public NodeDef.ExperimentalDebugInfo.Builder addOriginalFuncNames​(java.lang.String value)
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Parameters:
        value - The originalFuncNames to add.
        Returns:
        This builder for chaining.
      • addAllOriginalFuncNames

        public NodeDef.ExperimentalDebugInfo.Builder addAllOriginalFuncNames​(java.lang.Iterable<java.lang.String> values)
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Parameters:
        values - The originalFuncNames to add.
        Returns:
        This builder for chaining.
      • clearOriginalFuncNames

        public NodeDef.ExperimentalDebugInfo.Builder clearOriginalFuncNames()
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Returns:
        This builder for chaining.
      • addOriginalFuncNamesBytes

        public NodeDef.ExperimentalDebugInfo.Builder addOriginalFuncNamesBytes​(com.google.protobuf.ByteString value)
         This is intended to store the list of names of the functions from the
         original graph that this node was derived. For example if this node, say
         C, was result of a fusion of node A in function FA and node B in function
         FB, then `original_funcs` would be {FA, FB}. If the node is in the top
         level graph, the `original_func` is empty. This information, with the
         `original_node_names` can be used to map errors originating at the
         current ndoe to some top level source code.
         
        repeated string original_func_names = 2;
        Parameters:
        value - The bytes of the originalFuncNames to add.
        Returns:
        This builder for chaining.