GraphDebugInfo.Builder

public static final class GraphDebugInfo.Builder

Protobuf type tensorflow.GraphDebugInfo

Public Methods

GraphDebugInfo.Builder
addAllFiles(Iterable<String> values)
 This stores all the source code file names and can be indexed by the
 `file_index`.
GraphDebugInfo.Builder
addFiles(String value)
 This stores all the source code file names and can be indexed by the
 `file_index`.
GraphDebugInfo.Builder
addFilesBytes(com.google.protobuf.ByteString value)
 This stores all the source code file names and can be indexed by the
 `file_index`.
GraphDebugInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphDebugInfo
build()
GraphDebugInfo
GraphDebugInfo.Builder
clear()
GraphDebugInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GraphDebugInfo.Builder
clearFiles()
 This stores all the source code file names and can be indexed by the
 `file_index`.
GraphDebugInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphDebugInfo.Builder
GraphDebugInfo.Builder
clone()
boolean
containsTraces(String key)
 This maps a node name to a stack trace in the source code.
GraphDebugInfo
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getFiles(int index)
 This stores all the source code file names and can be indexed by the
 `file_index`.
com.google.protobuf.ByteString
getFilesBytes(int index)
 This stores all the source code file names and can be indexed by the
 `file_index`.
int
getFilesCount()
 This stores all the source code file names and can be indexed by the
 `file_index`.
com.google.protobuf.ProtocolStringList
getFilesList()
 This stores all the source code file names and can be indexed by the
 `file_index`.
Map<String, GraphDebugInfo.StackTrace>
getMutableTraces()
Use alternate mutation accessors instead.
Map<String, GraphDebugInfo.StackTrace>
getTraces()
Use getTracesMap() instead.
int
getTracesCount()
 This maps a node name to a stack trace in the source code.
Map<String, GraphDebugInfo.StackTrace>
getTracesMap()
 This maps a node name to a stack trace in the source code.
GraphDebugInfo.StackTrace
getTracesOrDefault(String key, GraphDebugInfo.StackTrace defaultValue)
 This maps a node name to a stack trace in the source code.
GraphDebugInfo.StackTrace
getTracesOrThrow(String key)
 This maps a node name to a stack trace in the source code.
final boolean
GraphDebugInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphDebugInfo.Builder
mergeFrom(com.google.protobuf.Message other)
final GraphDebugInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GraphDebugInfo.Builder
putAllTraces(Map<String, GraphDebugInfo.StackTrace> values)
 This maps a node name to a stack trace in the source code.
GraphDebugInfo.Builder
putTraces(String key, GraphDebugInfo.StackTrace value)
 This maps a node name to a stack trace in the source code.
GraphDebugInfo.Builder
removeTraces(String key)
 This maps a node name to a stack trace in the source code.
GraphDebugInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphDebugInfo.Builder
setFiles(int index, String value)
 This stores all the source code file names and can be indexed by the
 `file_index`.
GraphDebugInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final GraphDebugInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public GraphDebugInfo.Builder addAllFiles (Iterable<String> values)

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public GraphDebugInfo.Builder addFiles (String value)

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public GraphDebugInfo.Builder addFilesBytes (com.google.protobuf.ByteString value)

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public GraphDebugInfo.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public GraphDebugInfo build ()

public GraphDebugInfo buildPartial ()

public GraphDebugInfo.Builder clear ()

public GraphDebugInfo.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public GraphDebugInfo.Builder clearFiles ()

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public GraphDebugInfo.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public GraphDebugInfo.Builder clearTraces ()

public GraphDebugInfo.Builder clone ()

public boolean containsTraces (String key)

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public GraphDebugInfo getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getFiles (int index)

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public com.google.protobuf.ByteString getFilesBytes (int index)

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public int getFilesCount ()

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public com.google.protobuf.ProtocolStringList getFilesList ()

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public Map<String, GraphDebugInfo.StackTrace> getMutableTraces ()

Use alternate mutation accessors instead.

public Map<String, GraphDebugInfo.StackTrace> getTraces ()

Use getTracesMap() instead.

public int getTracesCount ()

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public Map<String, GraphDebugInfo.StackTrace> getTracesMap ()

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public GraphDebugInfo.StackTrace getTracesOrDefault (String key, GraphDebugInfo.StackTrace defaultValue)

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public GraphDebugInfo.StackTrace getTracesOrThrow (String key)

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public final boolean isInitialized ()

public GraphDebugInfo.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public GraphDebugInfo.Builder mergeFrom (com.google.protobuf.Message other)

public final GraphDebugInfo.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public GraphDebugInfo.Builder putAllTraces (Map<String, GraphDebugInfo.StackTrace> values)

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public GraphDebugInfo.Builder putTraces (String key, GraphDebugInfo.StackTrace value)

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public GraphDebugInfo.Builder removeTraces (String key)

 This maps a node name to a stack trace in the source code.
 The map key is a mangling of the containing function and op name with
 syntax:
   op.name '@' func_name
 For ops in the top-level graph, the func_name is the empty string.
 Note that op names are restricted to a small number of characters which
 exclude '@', making it impossible to collide keys of this form. Function
 names accept a much wider set of characters.
 It would be preferable to avoid mangling and use a tuple key of (op.name,
 func_name), but this is not supported with protocol buffers.
 
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;

public GraphDebugInfo.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public GraphDebugInfo.Builder setFiles (int index, String value)

 This stores all the source code file names and can be indexed by the
 `file_index`.
 
repeated string files = 1;

public GraphDebugInfo.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final GraphDebugInfo.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)