Package org.platanios.tensorflow.proto
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.platanios.tensorflow.proto.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 typeorg.platanios.tensorflow.proto.NodeDef.ExperimentalDebugInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.NodeDef.ExperimentalDebugInfo.Builder
addAllOriginalNodeNames(java.lang.Iterable<java.lang.String> values)
Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.Builder
addOriginalFuncNames(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.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.NodeDef.ExperimentalDebugInfo.Builder
addOriginalNodeNames(java.lang.String value)
Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.Builder
addOriginalNodeNamesBytes(com.google.protobuf.ByteString value)
Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
NodeDef.ExperimentalDebugInfo
build()
NodeDef.ExperimentalDebugInfo
buildPartial()
NodeDef.ExperimentalDebugInfo.Builder
clear()
NodeDef.ExperimentalDebugInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NodeDef.ExperimentalDebugInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NodeDef.ExperimentalDebugInfo.Builder
clearOriginalFuncNames()
This is intended to store the list of names of the functions from the original graph that this node was derived.NodeDef.ExperimentalDebugInfo.Builder
clearOriginalNodeNames()
Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.Builder
clone()
NodeDef.ExperimentalDebugInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.int
getOriginalFuncNamesCount()
This is intended to store the list of names of the functions from the original graph that this node was derived.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.java.lang.String
getOriginalNodeNames(int index)
Opaque string inserted into error messages created by the runtime.com.google.protobuf.ByteString
getOriginalNodeNamesBytes(int index)
Opaque string inserted into error messages created by the runtime.int
getOriginalNodeNamesCount()
Opaque string inserted into error messages created by the runtime.com.google.protobuf.ProtocolStringList
getOriginalNodeNamesList()
Opaque string inserted into error messages created by the runtime.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NodeDef.ExperimentalDebugInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NodeDef.ExperimentalDebugInfo.Builder
mergeFrom(com.google.protobuf.Message other)
NodeDef.ExperimentalDebugInfo.Builder
mergeFrom(NodeDef.ExperimentalDebugInfo other)
NodeDef.ExperimentalDebugInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NodeDef.ExperimentalDebugInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
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.NodeDef.ExperimentalDebugInfo.Builder
setOriginalNodeNames(int index, java.lang.String value)
Opaque string inserted into error messages created by the runtime.NodeDef.ExperimentalDebugInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
NodeDef.ExperimentalDebugInfo.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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
clear
public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
-
getDefaultInstanceForType
public NodeDef.ExperimentalDebugInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeDef.ExperimentalDebugInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeDef.ExperimentalDebugInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
-
setField
public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
-
clearField
public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
-
clearOneof
public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
-
setRepeatedField
public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
-
addRepeatedField
public NodeDef.ExperimentalDebugInfo.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<NodeDef.ExperimentalDebugInfo.Builder>
-
mergeFrom
public NodeDef.ExperimentalDebugInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
mergeFrom
public NodeDef.ExperimentalDebugInfo.Builder mergeFrom(NodeDef.ExperimentalDebugInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getOriginalNodeNamesList
in 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:
getOriginalNodeNamesCount
in 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:
getOriginalNodeNames
in 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:
getOriginalNodeNamesBytes
in 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
public NodeDef.ExperimentalDebugInfo.Builder addOriginalNodeNames(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:
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
public NodeDef.ExperimentalDebugInfo.Builder 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:
getOriginalFuncNamesList
in 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:
getOriginalFuncNamesCount
in 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:
getOriginalFuncNames
in 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:
getOriginalFuncNamesBytes
in 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
public NodeDef.ExperimentalDebugInfo.Builder addOriginalFuncNames(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:
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
public NodeDef.ExperimentalDebugInfo.Builder 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
mergeUnknownFields
public final NodeDef.ExperimentalDebugInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeDef.ExperimentalDebugInfo.Builder>
-
-