SourceFileOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
SourceFile |
Content of a source file involved in the execution of the debugged TensorFlow
program. |
SourceFile.Builder |
Content of a source file involved in the execution of the debugged TensorFlow
program. |
|
Public Methods
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
getHostName()
Name of the host on which the file is located.
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
getLines(int index)
Line-by-line content of the file.
|
abstract
com.google.protobuf.ByteString
|
|
abstract
int
|
|
abstract
List<String>
|
|
Public Methods
public
abstract
String
getFilePath
()
Path to the file.
string file_path = 1;
public
abstract
com.google.protobuf.ByteString
getFilePathBytes
()
Path to the file.
string file_path = 1;
public
abstract
String
getHostName
()
Name of the host on which the file is located.
string host_name = 2;
public
abstract
com.google.protobuf.ByteString
getHostNameBytes
()
Name of the host on which the file is located.
string host_name = 2;
public
abstract
String
getLines
(int index)
Line-by-line content of the file.
repeated string lines = 3;
public
abstract
com.google.protobuf.ByteString
getLinesBytes
(int index)
Line-by-line content of the file.
repeated string lines = 3;
public
abstract
int
getLinesCount
()
Line-by-line content of the file.
repeated string lines = 3;
public
abstract
List<String>
getLinesList
()
Line-by-line content of the file.
repeated string lines = 3;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# SourceFileOrBuilder\n\npublic interface **SourceFileOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [SourceFile](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFile), [SourceFile.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFile.Builder) |---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------| | [SourceFile](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFile) | ``` Content of a source file involved in the execution of the debugged TensorFlow program. ``` | | [SourceFile.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFile.Builder) | ``` Content of a source file involved in the execution of the debugged TensorFlow program. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getFilePath](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getFilePath())() ``` Path to the file. ``` |\n| abstract com.google.protobuf.ByteString | [getFilePathBytes](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getFilePathBytes())() ``` Path to the file. ``` |\n| abstract String | [getHostName](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getHostName())() ``` Name of the host on which the file is located. ``` |\n| abstract com.google.protobuf.ByteString | [getHostNameBytes](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getHostNameBytes())() ``` Name of the host on which the file is located. ``` |\n| abstract String | [getLines](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getLines(int))(int index) ``` Line-by-line content of the file. ``` |\n| abstract com.google.protobuf.ByteString | [getLinesBytes](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getLinesBytes(int))(int index) ``` Line-by-line content of the file. ``` |\n| abstract int | [getLinesCount](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getLinesCount())() ``` Line-by-line content of the file. ``` |\n| abstract List\\\u003cString\\\u003e | [getLinesList](/jvm/api_docs/java/org/tensorflow/proto/util/SourceFileOrBuilder#getLinesList())() ``` Line-by-line content of the file. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getFilePath**\n()\n\n\u003cbr /\u003e\n\n```\n Path to the file.\n \n```\n`string file_path = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getFilePathBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Path to the file.\n \n```\n`string file_path = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getHostName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the host on which the file is located.\n \n```\n`string host_name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getHostNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the host on which the file is located.\n \n```\n`string host_name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getLines**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Line-by-line content of the file.\n \n```\n`repeated string lines = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getLinesBytes**\n(int index)\n\n\u003cbr /\u003e\n\n```\n Line-by-line content of the file.\n \n```\n`repeated string lines = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getLinesCount**\n()\n\n\u003cbr /\u003e\n\n```\n Line-by-line content of the file.\n \n```\n`repeated string lines = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003cString\\\u003e\n**getLinesList**\n()\n\n\u003cbr /\u003e\n\n```\n Line-by-line content of the file.\n \n```\n`repeated string lines = 3;`\n\n\u003cbr /\u003e"]]