Class NodeDef.ExperimentalDebugInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
org.tensorflow.framework.NodeDef.ExperimentalDebugInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, NodeDef.ExperimentalDebugInfoOrBuilder
Enclosing class:
NodeDef.ExperimentalDebugInfo

public static final class NodeDef.ExperimentalDebugInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder> implements NodeDef.ExperimentalDebugInfoOrBuilder
Protobuf type tensorflow.NodeDef.ExperimentalDebugInfo
  • Method Details

    • 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>
    • 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.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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • setField

      public NodeDef.ExperimentalDebugInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • clearField

      public NodeDef.ExperimentalDebugInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • clearOneof

      public NodeDef.ExperimentalDebugInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • setRepeatedField

      public NodeDef.ExperimentalDebugInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • mergeFrom

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

    • 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 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:
      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 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, 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(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 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, 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(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.
    • setUnknownFields

      public final NodeDef.ExperimentalDebugInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
    • mergeUnknownFields

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