Package org.tensorflow.framework
Class NodeDef.ExperimentalDebugInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
org.tensorflow.framework.NodeDef.ExperimentalDebugInfo.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,NodeDef.ExperimentalDebugInfoOrBuilder
- Enclosing class:
- NodeDef.ExperimentalDebugInfo
public static final class NodeDef.ExperimentalDebugInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder> implements NodeDef.ExperimentalDebugInfoOrBuilder
Protobuf type
tensorflow.NodeDef.ExperimentalDebugInfo-
Method Summary
Modifier and Type Method Description NodeDef.ExperimentalDebugInfo.BuilderaddAllOriginalFuncNames(java.lang.Iterable<java.lang.String> values)This is intended to store the list of names of the functions from the original graph that this node was derived.NodeDef.ExperimentalDebugInfo.BuilderaddAllOriginalNodeNames(java.lang.Iterable<java.lang.String> values)Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.BuilderaddOriginalFuncNames(java.lang.String value)This is intended to store the list of names of the functions from the original graph that this node was derived.NodeDef.ExperimentalDebugInfo.BuilderaddOriginalFuncNamesBytes(com.google.protobuf.ByteString value)This is intended to store the list of names of the functions from the original graph that this node was derived.NodeDef.ExperimentalDebugInfo.BuilderaddOriginalNodeNames(java.lang.String value)Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.BuilderaddOriginalNodeNamesBytes(com.google.protobuf.ByteString value)Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NodeDef.ExperimentalDebugInfobuild()NodeDef.ExperimentalDebugInfobuildPartial()NodeDef.ExperimentalDebugInfo.Builderclear()NodeDef.ExperimentalDebugInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NodeDef.ExperimentalDebugInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NodeDef.ExperimentalDebugInfo.BuilderclearOriginalFuncNames()This is intended to store the list of names of the functions from the original graph that this node was derived.NodeDef.ExperimentalDebugInfo.BuilderclearOriginalNodeNames()Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.Builderclone()NodeDef.ExperimentalDebugInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetOriginalFuncNames(int index)This is intended to store the list of names of the functions from the original graph that this node was derived.com.google.protobuf.ByteStringgetOriginalFuncNamesBytes(int index)This is intended to store the list of names of the functions from the original graph that this node was derived.intgetOriginalFuncNamesCount()This is intended to store the list of names of the functions from the original graph that this node was derived.com.google.protobuf.ProtocolStringListgetOriginalFuncNamesList()This is intended to store the list of names of the functions from the original graph that this node was derived.java.lang.StringgetOriginalNodeNames(int index)Opaque string inserted into error messages created by the runtime.com.google.protobuf.ByteStringgetOriginalNodeNamesBytes(int index)Opaque string inserted into error messages created by the runtime.intgetOriginalNodeNamesCount()Opaque string inserted into error messages created by the runtime.com.google.protobuf.ProtocolStringListgetOriginalNodeNamesList()Opaque string inserted into error messages created by the runtime.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NodeDef.ExperimentalDebugInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NodeDef.ExperimentalDebugInfo.BuildermergeFrom(com.google.protobuf.Message other)NodeDef.ExperimentalDebugInfo.BuildermergeFrom(NodeDef.ExperimentalDebugInfo other)NodeDef.ExperimentalDebugInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NodeDef.ExperimentalDebugInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NodeDef.ExperimentalDebugInfo.BuildersetOriginalFuncNames(int index, java.lang.String value)This is intended to store the list of names of the functions from the original graph that this node was derived.NodeDef.ExperimentalDebugInfo.BuildersetOriginalNodeNames(int index, java.lang.String value)Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)NodeDef.ExperimentalDebugInfo.BuildersetUnknownFields(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, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
setField
public NodeDef.ExperimentalDebugInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
clearField
public NodeDef.ExperimentalDebugInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
clearOneof
public NodeDef.ExperimentalDebugInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
setRepeatedField
public NodeDef.ExperimentalDebugInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
addRepeatedField
public NodeDef.ExperimentalDebugInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
mergeFrom
public NodeDef.ExperimentalDebugInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>- Throws:
java.io.IOException
-
getOriginalNodeNamesList
public com.google.protobuf.ProtocolStringList getOriginalNodeNamesList()Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Specified by:
getOriginalNodeNamesListin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Returns:
- A list containing the originalNodeNames.
-
getOriginalNodeNamesCount
public int getOriginalNodeNamesCount()Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Specified by:
getOriginalNodeNamesCountin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Returns:
- The count of originalNodeNames.
-
getOriginalNodeNames
public java.lang.String getOriginalNodeNames(int index)Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Specified by:
getOriginalNodeNamesin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The originalNodeNames at the given index.
-
getOriginalNodeNamesBytes
public com.google.protobuf.ByteString getOriginalNodeNamesBytes(int index)Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Specified by:
getOriginalNodeNamesBytesin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the originalNodeNames at the given index.
-
setOriginalNodeNames
public NodeDef.ExperimentalDebugInfo.Builder setOriginalNodeNames(int index, java.lang.String value)Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Parameters:
index- The index to set the value at.value- The originalNodeNames to set.- Returns:
- This builder for chaining.
-
addOriginalNodeNames
Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Parameters:
value- The originalNodeNames to add.- Returns:
- This builder for chaining.
-
addAllOriginalNodeNames
public NodeDef.ExperimentalDebugInfo.Builder addAllOriginalNodeNames(java.lang.Iterable<java.lang.String> values)Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Parameters:
values- The originalNodeNames to add.- Returns:
- This builder for chaining.
-
clearOriginalNodeNames
Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Returns:
- This builder for chaining.
-
addOriginalNodeNamesBytes
public NodeDef.ExperimentalDebugInfo.Builder addOriginalNodeNamesBytes(com.google.protobuf.ByteString value)Opaque string inserted into error messages created by the runtime. This is intended to store the list of names of the nodes from the original graph that this node was derived. For example if this node, say C, was result of a fusion of 2 nodes A and B, then 'original_node' would be {A, B}. This information can be used to map errors originating at the current node to some top level source code.repeated string original_node_names = 1;- Parameters:
value- The bytes of the originalNodeNames to add.- Returns:
- This builder for chaining.
-
getOriginalFuncNamesList
public com.google.protobuf.ProtocolStringList getOriginalFuncNamesList()This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Specified by:
getOriginalFuncNamesListin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Returns:
- A list containing the originalFuncNames.
-
getOriginalFuncNamesCount
public int getOriginalFuncNamesCount()This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Specified by:
getOriginalFuncNamesCountin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Returns:
- The count of originalFuncNames.
-
getOriginalFuncNames
public java.lang.String getOriginalFuncNames(int index)This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Specified by:
getOriginalFuncNamesin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The originalFuncNames at the given index.
-
getOriginalFuncNamesBytes
public com.google.protobuf.ByteString getOriginalFuncNamesBytes(int index)This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Specified by:
getOriginalFuncNamesBytesin interfaceNodeDef.ExperimentalDebugInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the originalFuncNames at the given index.
-
setOriginalFuncNames
public NodeDef.ExperimentalDebugInfo.Builder setOriginalFuncNames(int index, java.lang.String value)This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Parameters:
index- The index to set the value at.value- The originalFuncNames to set.- Returns:
- This builder for chaining.
-
addOriginalFuncNames
This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Parameters:
value- The originalFuncNames to add.- Returns:
- This builder for chaining.
-
addAllOriginalFuncNames
public NodeDef.ExperimentalDebugInfo.Builder addAllOriginalFuncNames(java.lang.Iterable<java.lang.String> values)This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Parameters:
values- The originalFuncNames to add.- Returns:
- This builder for chaining.
-
clearOriginalFuncNames
This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Returns:
- This builder for chaining.
-
addOriginalFuncNamesBytes
public NodeDef.ExperimentalDebugInfo.Builder addOriginalFuncNamesBytes(com.google.protobuf.ByteString value)This is intended to store the list of names of the functions from the original graph that this node was derived. For example if this node, say C, was result of a fusion of node A in function FA and node B in function FB, then `original_funcs` would be {FA, FB}. If the node is in the top level graph, the `original_func` is empty. This information, with the `original_node_names` can be used to map errors originating at the current ndoe to some top level source code.repeated string original_func_names = 2;- Parameters:
value- The bytes of the originalFuncNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NodeDef.ExperimentalDebugInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
mergeUnknownFields
public final NodeDef.ExperimentalDebugInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-