Package org.platanios.tensorflow.proto
Class GraphDebugInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
- org.platanios.tensorflow.proto.GraphDebugInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,GraphDebugInfoOrBuilder
- Enclosing class:
- GraphDebugInfo
public static final class GraphDebugInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder> implements GraphDebugInfoOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.GraphDebugInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GraphDebugInfo.Builder
addAllFiles(java.lang.Iterable<java.lang.String> values)
This stores all the source code file names and can be indexed by the `file_index`.GraphDebugInfo.Builder
addFiles(java.lang.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, java.lang.Object value)
GraphDebugInfo
build()
GraphDebugInfo
buildPartial()
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
clearTraces()
GraphDebugInfo.Builder
clone()
boolean
containsTraces(java.lang.String key)
This maps a node name to a stack trace in the source code.GraphDebugInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.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`.java.util.Map<java.lang.String,GraphDebugInfo.StackTrace>
getMutableTraces()
Deprecated.java.util.Map<java.lang.String,GraphDebugInfo.StackTrace>
getTraces()
Deprecated.int
getTracesCount()
This maps a node name to a stack trace in the source code.java.util.Map<java.lang.String,GraphDebugInfo.StackTrace>
getTracesMap()
This maps a node name to a stack trace in the source code.GraphDebugInfo.StackTrace
getTracesOrDefault(java.lang.String key, GraphDebugInfo.StackTrace defaultValue)
This maps a node name to a stack trace in the source code.GraphDebugInfo.StackTrace
getTracesOrThrow(java.lang.String key)
This maps a node name to a stack trace in the source code.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
GraphDebugInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphDebugInfo.Builder
mergeFrom(com.google.protobuf.Message other)
GraphDebugInfo.Builder
mergeFrom(GraphDebugInfo other)
GraphDebugInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GraphDebugInfo.Builder
putAllTraces(java.util.Map<java.lang.String,GraphDebugInfo.StackTrace> values)
This maps a node name to a stack trace in the source code.GraphDebugInfo.Builder
putTraces(java.lang.String key, GraphDebugInfo.StackTrace value)
This maps a node name to a stack trace in the source code.GraphDebugInfo.Builder
removeTraces(java.lang.String key)
This maps a node name to a stack trace in the source code.GraphDebugInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GraphDebugInfo.Builder
setFiles(int index, java.lang.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, java.lang.Object value)
GraphDebugInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
clear
public GraphDebugInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
getDefaultInstanceForType
public GraphDebugInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GraphDebugInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GraphDebugInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GraphDebugInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
setField
public GraphDebugInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
clearField
public GraphDebugInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
clearOneof
public GraphDebugInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
setRepeatedField
public GraphDebugInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
addRepeatedField
public GraphDebugInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
mergeFrom
public GraphDebugInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.Builder>
-
mergeFrom
public GraphDebugInfo.Builder mergeFrom(GraphDebugInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
mergeFrom
public GraphDebugInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.Builder>
- Throws:
java.io.IOException
-
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:
getFilesList
in 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:
getFilesCount
in interfaceGraphDebugInfoOrBuilder
- Returns:
- The count of files.
-
getFiles
public java.lang.String getFiles(int index)
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Specified by:
getFiles
in 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:
getFilesBytes
in interfaceGraphDebugInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the files at the given index.
-
setFiles
public GraphDebugInfo.Builder setFiles(int index, java.lang.String value)
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Parameters:
index
- The index to set the value at.value
- The files to set.- Returns:
- This builder for chaining.
-
addFiles
public GraphDebugInfo.Builder addFiles(java.lang.String value)
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Parameters:
value
- The files to add.- Returns:
- This builder for chaining.
-
addAllFiles
public GraphDebugInfo.Builder addAllFiles(java.lang.Iterable<java.lang.String> values)
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Parameters:
values
- The files to add.- Returns:
- This builder for chaining.
-
clearFiles
public GraphDebugInfo.Builder clearFiles()
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Returns:
- This builder for chaining.
-
addFilesBytes
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;
- Parameters:
value
- The bytes of the files to add.- Returns:
- This builder for chaining.
-
getTracesCount
public int getTracesCount()
Description copied from interface:GraphDebugInfoOrBuilder
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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
- Specified by:
getTracesCount
in interfaceGraphDebugInfoOrBuilder
-
containsTraces
public boolean containsTraces(java.lang.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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
- Specified by:
containsTraces
in interfaceGraphDebugInfoOrBuilder
-
getTraces
@Deprecated public java.util.Map<java.lang.String,GraphDebugInfo.StackTrace> getTraces()
Deprecated.UsegetTracesMap()
instead.- Specified by:
getTraces
in interfaceGraphDebugInfoOrBuilder
-
getTracesMap
public java.util.Map<java.lang.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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
- Specified by:
getTracesMap
in interfaceGraphDebugInfoOrBuilder
-
getTracesOrDefault
public GraphDebugInfo.StackTrace getTracesOrDefault(java.lang.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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
- Specified by:
getTracesOrDefault
in interfaceGraphDebugInfoOrBuilder
-
getTracesOrThrow
public GraphDebugInfo.StackTrace getTracesOrThrow(java.lang.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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
- Specified by:
getTracesOrThrow
in interfaceGraphDebugInfoOrBuilder
-
clearTraces
public GraphDebugInfo.Builder clearTraces()
-
removeTraces
public GraphDebugInfo.Builder removeTraces(java.lang.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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
getMutableTraces
@Deprecated public java.util.Map<java.lang.String,GraphDebugInfo.StackTrace> getMutableTraces()
Deprecated.Use alternate mutation accessors instead.
-
putTraces
public GraphDebugInfo.Builder putTraces(java.lang.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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
putAllTraces
public GraphDebugInfo.Builder putAllTraces(java.util.Map<java.lang.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, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
setUnknownFields
public final GraphDebugInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
mergeUnknownFields
public final GraphDebugInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.Builder>
-
-