Watch keynotes, product sessions, workshops, and more from Google I/O See playlist

SourceFile

public final class SourceFile

 Content of a source file involved in the execution of the debugged TensorFlow
 program.
 
Protobuf type tensorflow.SourceFile

Nested Classes

class SourceFile.Builder
 Content of a source file involved in the execution of the debugged TensorFlow
 program. 

Constants

int FILE_PATH_FIELD_NUMBER
int HOST_NAME_FIELD_NUMBER
int LINES_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
static SourceFile
SourceFile
final static 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.
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static SourceFile.Builder
static SourceFile.Builder
SourceFile.Builder
static SourceFile
parseDelimitedFrom (InputStream input)
static SourceFile
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceFile
parseFrom (ByteBuffer data)
static SourceFile
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceFile
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceFile
parseFrom (com.google.protobuf.CodedInputStream input)
static SourceFile
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceFile
parseFrom (com.google.protobuf.ByteString data)
static SourceFile
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceFile
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
SourceFile.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int FILE_PATH_FIELD_NUMBER

Constant Value: 1

public static final int HOST_NAME_FIELD_NUMBER

Constant Value: 2

public static final int LINES_FIELD_NUMBER

Constant Value: 3

Public Methods

public boolean equals (Object obj)

public static SourceFile getDefaultInstance ()

public SourceFile getDefaultInstanceForType ()

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

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 getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static SourceFile.Builder newBuilder ( SourceFile prototype)

public static SourceFile.Builder newBuilder ()

public SourceFile.Builder newBuilderForType ()

public static SourceFile parseDelimitedFrom (InputStream input)

Throws
IOException

public static SourceFile parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SourceFile parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static SourceFile parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SourceFile parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SourceFile parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static SourceFile