Package org.tensorflow.framework
Class NodeDef.ExperimentalDebugInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>
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,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 TypeMethodDescriptionaddAllOriginalFuncNames(Iterable<String> values) This is intended to store the list of names of the functions from the original graph that this node was derived.addAllOriginalNodeNames(Iterable<String> values) Opaque string inserted into error messages created by the runtime.addOriginalFuncNames(String value) This is intended to store the list of names of the functions from the original graph that this node was derived.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.addOriginalNodeNames(String value) Opaque string inserted into error messages created by the runtime.addOriginalNodeNamesBytes(com.google.protobuf.ByteString value) Opaque string inserted into error messages created by the runtime.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) This is intended to store the list of names of the functions from the original graph that this node was derived.Opaque string inserted into error messages created by the runtime.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetOriginalFuncNames(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.intThis is intended to store the list of names of the functions from the original graph that this node was derived.com.google.protobuf.ProtocolStringListThis is intended to store the list of names of the functions from the original graph that this node was derived.getOriginalNodeNames(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.intOpaque string inserted into error messages created by the runtime.com.google.protobuf.ProtocolStringListOpaque string inserted into error messages created by the runtime.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setOriginalFuncNames(int index, String value) This is intended to store the list of names of the functions from the original graph that this node was derived.setOriginalNodeNames(int index, String value) Opaque string inserted into error messages created by the runtime.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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, 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, 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, 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 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:
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
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
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
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
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
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
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>
-