Package org.tensorflow.framework
Class GraphDebugInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.framework.GraphDebugInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GraphDebugInfoOrBuilder
public final class GraphDebugInfo
extends com.google.protobuf.GeneratedMessageV3
implements GraphDebugInfoOrBuilder
Protobuf type
tensorflow.GraphDebugInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetensorflow.GraphDebugInfostatic final classThis represents a file/line location in the source code.static interfacestatic final classThis represents a stack trace which is a ordered list of `FileLineCol`.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<GraphDebugInfo> Deprecated.static final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsFramesById(long key) Stack traces and frames are uniqueified during construction.booleanThis maps a node name to a trace id contained in `traces_by_id`.booleancontainsTraces(String key) Deprecated.booleancontainsTracesById(long key) map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;booleanstatic GraphDebugInfostatic final com.google.protobuf.Descriptors.DescriptorgetFiles(int index) This stores all the source code file names and can be indexed by the `file_index`.com.google.protobuf.ByteStringgetFilesBytes(int index) This stores all the source code file names and can be indexed by the `file_index`.intThis stores all the source code file names and can be indexed by the `file_index`.com.google.protobuf.ProtocolStringListThis stores all the source code file names and can be indexed by the `file_index`.Deprecated.intStack traces and frames are uniqueified during construction.Stack traces and frames are uniqueified during construction.getFramesByIdOrDefault(long key, GraphDebugInfo.FileLineCol defaultValue) Stack traces and frames are uniqueified during construction.getFramesByIdOrThrow(long key) Stack traces and frames are uniqueified during construction.Deprecated.intThis maps a node name to a trace id contained in `traces_by_id`.This maps a node name to a trace id contained in `traces_by_id`.longgetNameToTraceIdOrDefault(String key, long defaultValue) This maps a node name to a trace id contained in `traces_by_id`.longThis maps a node name to a trace id contained in `traces_by_id`.com.google.protobuf.Parser<GraphDebugInfo> intDeprecated.Deprecated.intmap<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;getTracesByIdOrDefault(long key, GraphDebugInfo.StackTrace defaultValue) map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;getTracesByIdOrThrow(long key) map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;intDeprecated.Deprecated.getTracesOrDefault(String key, GraphDebugInfo.StackTrace defaultValue) Deprecated.getTracesOrThrow(String key) Deprecated.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic GraphDebugInfo.Builderstatic GraphDebugInfo.BuildernewBuilder(GraphDebugInfo prototype) protected GraphDebugInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GraphDebugInfoparseDelimitedFrom(InputStream input) static GraphDebugInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GraphDebugInfoparseFrom(byte[] data) static GraphDebugInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GraphDebugInfoparseFrom(com.google.protobuf.ByteString data) static GraphDebugInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GraphDebugInfoparseFrom(com.google.protobuf.CodedInputStream input) static GraphDebugInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GraphDebugInfoparseFrom(InputStream input) static GraphDebugInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GraphDebugInfoparseFrom(ByteBuffer data) static GraphDebugInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GraphDebugInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER- See Also:
-
FRAMES_BY_ID_FIELD_NUMBER
public static final int FRAMES_BY_ID_FIELD_NUMBER- See Also:
-
TRACES_BY_ID_FIELD_NUMBER
public static final int TRACES_BY_ID_FIELD_NUMBER- See Also:
-
TRACES_FIELD_NUMBER
public static final int TRACES_FIELD_NUMBER- See Also:
-
NAME_TO_TRACE_ID_FIELD_NUMBER
public static final int NAME_TO_TRACE_ID_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFilesList
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;- Specified by:
getFilesListin interfaceGraphDebugInfoOrBuilder- Returns:
- A list containing the files.
-
getFilesCount
public int getFilesCount()This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;- Specified by:
getFilesCountin interfaceGraphDebugInfoOrBuilder- Returns:
- The count of files.
-
getFiles
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;- Specified by:
getFilesin interfaceGraphDebugInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The files at the given index.
-
getFilesBytes
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;- Specified by:
getFilesBytesin interfaceGraphDebugInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the files at the given index.
-
getFramesByIdCount
public int getFramesByIdCount()Description copied from interface:GraphDebugInfoOrBuilderStack traces and frames are uniqueified during construction. These maps index from the unique id for a frame/trace to the value.
map<fixed64, .tensorflow.GraphDebugInfo.FileLineCol> frames_by_id = 4;- Specified by:
getFramesByIdCountin interfaceGraphDebugInfoOrBuilder
-
containsFramesById
public boolean containsFramesById(long key) Stack traces and frames are uniqueified during construction. These maps index from the unique id for a frame/trace to the value.
map<fixed64, .tensorflow.GraphDebugInfo.FileLineCol> frames_by_id = 4;- Specified by:
containsFramesByIdin interfaceGraphDebugInfoOrBuilder
-
getFramesById
Deprecated.UsegetFramesByIdMap()instead.- Specified by:
getFramesByIdin interfaceGraphDebugInfoOrBuilder
-
getFramesByIdMap
Stack traces and frames are uniqueified during construction. These maps index from the unique id for a frame/trace to the value.
map<fixed64, .tensorflow.GraphDebugInfo.FileLineCol> frames_by_id = 4;- Specified by:
getFramesByIdMapin interfaceGraphDebugInfoOrBuilder
-
getFramesByIdOrDefault
public GraphDebugInfo.FileLineCol getFramesByIdOrDefault(long key, GraphDebugInfo.FileLineCol defaultValue) Stack traces and frames are uniqueified during construction. These maps index from the unique id for a frame/trace to the value.
map<fixed64, .tensorflow.GraphDebugInfo.FileLineCol> frames_by_id = 4;- Specified by:
getFramesByIdOrDefaultin interfaceGraphDebugInfoOrBuilder
-
getFramesByIdOrThrow
Stack traces and frames are uniqueified during construction. These maps index from the unique id for a frame/trace to the value.
map<fixed64, .tensorflow.GraphDebugInfo.FileLineCol> frames_by_id = 4;- Specified by:
getFramesByIdOrThrowin interfaceGraphDebugInfoOrBuilder
-
getTracesByIdCount
public int getTracesByIdCount()Description copied from interface:GraphDebugInfoOrBuildermap<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;- Specified by:
getTracesByIdCountin interfaceGraphDebugInfoOrBuilder
-
containsTracesById
public boolean containsTracesById(long key) map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;- Specified by:
containsTracesByIdin interfaceGraphDebugInfoOrBuilder
-
getTracesById
Deprecated.UsegetTracesByIdMap()instead.- Specified by:
getTracesByIdin interfaceGraphDebugInfoOrBuilder
-
getTracesByIdMap
map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;- Specified by:
getTracesByIdMapin interfaceGraphDebugInfoOrBuilder
-
getTracesByIdOrDefault
public GraphDebugInfo.StackTrace getTracesByIdOrDefault(long key, GraphDebugInfo.StackTrace defaultValue) map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;- Specified by:
getTracesByIdOrDefaultin interfaceGraphDebugInfoOrBuilder
-
getTracesByIdOrThrow
map<fixed64, .tensorflow.GraphDebugInfo.StackTrace> traces_by_id = 6;- Specified by:
getTracesByIdOrThrowin interfaceGraphDebugInfoOrBuilder
-
getTracesCount
public int getTracesCount()Description copied from interface:GraphDebugInfoOrBuilderDeprecated.
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;- Specified by:
getTracesCountin interfaceGraphDebugInfoOrBuilder
-
containsTraces
Deprecated.
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;- Specified by:
containsTracesin interfaceGraphDebugInfoOrBuilder
-
getTraces
Deprecated.UsegetTracesMap()instead.- Specified by:
getTracesin interfaceGraphDebugInfoOrBuilder
-
getTracesMap
Deprecated.
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;- Specified by:
getTracesMapin interfaceGraphDebugInfoOrBuilder
-
getTracesOrDefault
public GraphDebugInfo.StackTrace getTracesOrDefault(String key, GraphDebugInfo.StackTrace defaultValue) Deprecated.
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;- Specified by:
getTracesOrDefaultin interfaceGraphDebugInfoOrBuilder
-
getTracesOrThrow
Deprecated.
map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2;- Specified by:
getTracesOrThrowin interfaceGraphDebugInfoOrBuilder
-
getNameToTraceIdCount
public int getNameToTraceIdCount()Description copied from interface:GraphDebugInfoOrBuilderThis maps a node name to a trace id contained in `traces_by_id`. 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 and hence the `@` may be ommitted. 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, fixed64> name_to_trace_id = 5;- Specified by:
getNameToTraceIdCountin interfaceGraphDebugInfoOrBuilder
-
containsNameToTraceId
This maps a node name to a trace id contained in `traces_by_id`. 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 and hence the `@` may be ommitted. 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, fixed64> name_to_trace_id = 5;- Specified by:
containsNameToTraceIdin interfaceGraphDebugInfoOrBuilder
-
getNameToTraceId
Deprecated.UsegetNameToTraceIdMap()instead.- Specified by:
getNameToTraceIdin interfaceGraphDebugInfoOrBuilder
-
getNameToTraceIdMap
This maps a node name to a trace id contained in `traces_by_id`. 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 and hence the `@` may be ommitted. 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, fixed64> name_to_trace_id = 5;- Specified by:
getNameToTraceIdMapin interfaceGraphDebugInfoOrBuilder
-
getNameToTraceIdOrDefault
This maps a node name to a trace id contained in `traces_by_id`. 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 and hence the `@` may be ommitted. 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, fixed64> name_to_trace_id = 5;- Specified by:
getNameToTraceIdOrDefaultin interfaceGraphDebugInfoOrBuilder
-
getNameToTraceIdOrThrow
This maps a node name to a trace id contained in `traces_by_id`. 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 and hence the `@` may be ommitted. 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, fixed64> name_to_trace_id = 5;- Specified by:
getNameToTraceIdOrThrowin interfaceGraphDebugInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GraphDebugInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphDebugInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphDebugInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphDebugInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphDebugInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GraphDebugInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GraphDebugInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GraphDebugInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GraphDebugInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GraphDebugInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GraphDebugInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-