Class NodeDef.ExperimentalDebugInfo.Builder

All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, NodeDef.ExperimentalDebugInfoOrBuilder
Enclosing class:
NodeDef.ExperimentalDebugInfo

public static final class NodeDef.ExperimentalDebugInfo.Builder extends GeneratedMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder> implements NodeDef.ExperimentalDebugInfoOrBuilder
Protobuf type tensorflow.NodeDef.ExperimentalDebugInfo
  • Method Details

    • getDescriptor

      public static final Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

    • clear

      Specified by:
      clear in interface Message.Builder
      Specified by:
      clear in interface MessageLite.Builder
      Overrides:
      clear in class GeneratedMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • getDescriptorForType

      public Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface Message.Builder
      Specified by:
      getDescriptorForType in interface MessageOrBuilder
      Overrides:
      getDescriptorForType in class GeneratedMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface Message.Builder
      Specified by:
      build in interface MessageLite.Builder
    • buildPartial

      public NodeDef.ExperimentalDebugInfo buildPartial()
      Specified by:
      buildPartial in interface Message.Builder
      Specified by:
      buildPartial in interface MessageLite.Builder
    • mergeFrom

    • mergeFrom

    • isInitialized

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

      public NodeDef.ExperimentalDebugInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface Message.Builder
      Specified by:
      mergeFrom in interface MessageLite.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>
      Throws:
      IOException
    • getOriginalNodeNamesList

      public 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 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 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, 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(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(Iterable<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(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 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 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 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, 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(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(Iterable<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(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.