public static final class
SourceFile.Builder
Content of a source file involved in the execution of the debugged TensorFlow program.
tensorflow.SourceFile
Public Methods
SourceFile.Builder |
addAllLines(Iterable<String> values)
Line-by-line content of the file. |
SourceFile.Builder |
addLines(String value)
Line-by-line content of the file. |
SourceFile.Builder |
addLinesBytes(com.google.protobuf.ByteString value)
Line-by-line content of the file. |
SourceFile.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SourceFile |
build()
|
SourceFile | |
SourceFile.Builder |
clear()
|
SourceFile.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
SourceFile.Builder |
clearFilePath()
Path to the file. |
SourceFile.Builder |
clearHostName()
Name of the host on which the file is located. |
SourceFile.Builder |
clearLines()
Line-by-line content of the file. |
SourceFile.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
SourceFile.Builder |
clone()
|
SourceFile | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
String |
getFilePath()
Path to the file. |
com.google.protobuf.ByteString |
getFilePathBytes()
Path to the file. |
String |
getHostName()
Name of the host on which the file is located. |
com.google.protobuf.ByteString |
getHostNameBytes()
Name of the host on which the file is located. |
String |
getLines(int index)
Line-by-line content of the file. |
com.google.protobuf.ByteString |
getLinesBytes(int index)
Line-by-line content of the file. |
int |
getLinesCount()
Line-by-line content of the file. |
com.google.protobuf.ProtocolStringList |
getLinesList()
Line-by-line content of the file. |
final boolean | |
SourceFile.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
SourceFile.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final SourceFile.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SourceFile.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SourceFile.Builder |
setFilePath(String value)
Path to the file. |
SourceFile.Builder |
setFilePathBytes(com.google.protobuf.ByteString value)
Path to the file. |
SourceFile.Builder |
setHostName(String value)
Name of the host on which the file is located. |
SourceFile.Builder |
setHostNameBytes(com.google.protobuf.ByteString value)
Name of the host on which the file is located. |
SourceFile.Builder |
setLines(int index, String value)
Line-by-line content of the file. |
SourceFile.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final SourceFile.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public SourceFile.Builder addAllLines (Iterable<String> values)
Line-by-line content of the file.
repeated string lines = 3;
public SourceFile.Builder addLines (String value)
Line-by-line content of the file.
repeated string lines = 3;
public SourceFile.Builder addLinesBytes (com.google.protobuf.ByteString value)
Line-by-line content of the file.
repeated string lines = 3;
public SourceFile.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SourceFile.Builder clearHostName ()
Name of the host on which the file is located.
string host_name = 2;
public SourceFile.Builder clearLines ()
Line-by-line content of the file.
repeated string lines = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getFilePath ()
Path to the file.
string file_path = 1;
public com.google.protobuf.ByteString getFilePathBytes ()
Path to the file.
string file_path = 1;
public String getHostName ()
Name of the host on which the file is located.
string host_name = 2;
public com.google.protobuf.ByteString getHostNameBytes ()
Name of the host on which the file is located.
string host_name = 2;
public String getLines (int index)
Line-by-line content of the file.
repeated string lines = 3;
public com.google.protobuf.ByteString getLinesBytes (int index)
Line-by-line content of the file.
repeated string lines = 3;
public int getLinesCount ()
Line-by-line content of the file.
repeated string lines = 3;
public com.google.protobuf.ProtocolStringList getLinesList ()
Line-by-line content of the file.
repeated string lines = 3;
public final boolean isInitialized ()
public SourceFile.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final SourceFile.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SourceFile.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SourceFile.Builder setFilePathBytes (com.google.protobuf.ByteString value)
Path to the file.
string file_path = 1;
public SourceFile.Builder setHostName (String value)
Name of the host on which the file is located.
string host_name = 2;
public SourceFile.Builder setHostNameBytes (com.google.protobuf.ByteString value)
Name of the host on which the file is located.
string host_name = 2;
public SourceFile.Builder setLines (int index, String value)
Line-by-line content of the file.
repeated string lines = 3;