Class DebuggedGraph.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DebuggedGraph.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DebuggedGraph.Builder>
org.tensorflow.proto.DebuggedGraph.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, DebuggedGraphOrBuilder
- Enclosing class:
DebuggedGraph
public static final class DebuggedGraph.Builder
extends GeneratedMessageV3.Builder<DebuggedGraph.Builder>
implements DebuggedGraphOrBuilder
A debugger-instrumented graph.Protobuf type
tensorflow.DebuggedGraph-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstrumentedOps(Iterable<String> values) Names of the instrumented ops.addInstrumentedOps(String value) Names of the instrumented ops.Names of the instrumented ops.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()An ID for the graph.Name of the graph (if available).An encoded version of a GraphDef.Names of the instrumented ops.Original (uninstrumented) GraphDef (if available).IDs of the immediate enclosing context (graph), if any.clone()static final Descriptors.DescriptorAn ID for the graph.An ID for the graph.Name of the graph (if available).Name of the graph (if available).An encoded version of a GraphDef.getInstrumentedOps(int index) Names of the instrumented ops.getInstrumentedOpsBytes(int index) Names of the instrumented ops.intNames of the instrumented ops.Names of the instrumented ops.Original (uninstrumented) GraphDef (if available).IDs of the immediate enclosing context (graph), if any.IDs of the immediate enclosing context (graph), if any.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(DebuggedGraph other) final DebuggedGraph.BuildermergeUnknownFields(UnknownFieldSet unknownFields) setField(Descriptors.FieldDescriptor field, Object value) setGraphId(String value) An ID for the graph.setGraphIdBytes(ByteString value) An ID for the graph.setGraphName(String value) Name of the graph (if available).setGraphNameBytes(ByteString value) Name of the graph (if available).An encoded version of a GraphDef.setInstrumentedOps(int index, String value) Names of the instrumented ops.setOriginalGraphDef(ByteString value) Original (uninstrumented) GraphDef (if available).setOuterContextId(String value) IDs of the immediate enclosing context (graph), if any.setOuterContextIdBytes(ByteString value) IDs of the immediate enclosing context (graph), if any.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) final DebuggedGraph.BuildersetUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
setRepeatedField
public DebuggedGraph.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DebuggedGraph.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
mergeFrom
public DebuggedGraph.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DebuggedGraph.Builder>- Throws:
IOException
-
getGraphId
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;- Specified by:
getGraphIdin interfaceDebuggedGraphOrBuilder- Returns:
- The graphId.
-
getGraphIdBytes
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;- Specified by:
getGraphIdBytesin interfaceDebuggedGraphOrBuilder- Returns:
- The bytes for graphId.
-
setGraphId
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;- Parameters:
value- The graphId to set.- Returns:
- This builder for chaining.
-
clearGraphId
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;- Returns:
- This builder for chaining.
-
setGraphIdBytes
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;- Parameters:
value- The bytes for graphId to set.- Returns:
- This builder for chaining.
-
getGraphName
Name of the graph (if available).
string graph_name = 2;- Specified by:
getGraphNamein interfaceDebuggedGraphOrBuilder- Returns:
- The graphName.
-
getGraphNameBytes
Name of the graph (if available).
string graph_name = 2;- Specified by:
getGraphNameBytesin interfaceDebuggedGraphOrBuilder- Returns:
- The bytes for graphName.
-
setGraphName
Name of the graph (if available).
string graph_name = 2;- Parameters:
value- The graphName to set.- Returns:
- This builder for chaining.
-
clearGraphName
Name of the graph (if available).
string graph_name = 2;- Returns:
- This builder for chaining.
-
setGraphNameBytes
Name of the graph (if available).
string graph_name = 2;- Parameters:
value- The bytes for graphName to set.- Returns:
- This builder for chaining.
-
getInstrumentedOpsList
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Specified by:
getInstrumentedOpsListin interfaceDebuggedGraphOrBuilder- Returns:
- A list containing the instrumentedOps.
-
getInstrumentedOpsCount
public int getInstrumentedOpsCount()Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Specified by:
getInstrumentedOpsCountin interfaceDebuggedGraphOrBuilder- Returns:
- The count of instrumentedOps.
-
getInstrumentedOps
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Specified by:
getInstrumentedOpsin interfaceDebuggedGraphOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The instrumentedOps at the given index.
-
getInstrumentedOpsBytes
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Specified by:
getInstrumentedOpsBytesin interfaceDebuggedGraphOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instrumentedOps at the given index.
-
setInstrumentedOps
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Parameters:
index- The index to set the value at.value- The instrumentedOps to set.- Returns:
- This builder for chaining.
-
addInstrumentedOps
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Parameters:
value- The instrumentedOps to add.- Returns:
- This builder for chaining.
-
addAllInstrumentedOps
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Parameters:
values- The instrumentedOps to add.- Returns:
- This builder for chaining.
-
clearInstrumentedOps
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Returns:
- This builder for chaining.
-
addInstrumentedOpsBytes
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;- Parameters:
value- The bytes of the instrumentedOps to add.- Returns:
- This builder for chaining.
-
getOriginalGraphDef
Original (uninstrumented) GraphDef (if available).
bytes original_graph_def = 4;- Specified by:
getOriginalGraphDefin interfaceDebuggedGraphOrBuilder- Returns:
- The originalGraphDef.
-
setOriginalGraphDef
Original (uninstrumented) GraphDef (if available).
bytes original_graph_def = 4;- Parameters:
value- The originalGraphDef to set.- Returns:
- This builder for chaining.
-
clearOriginalGraphDef
Original (uninstrumented) GraphDef (if available).
bytes original_graph_def = 4;- Returns:
- This builder for chaining.
-
getInstrumentedGraphDef
An encoded version of a GraphDef. This graph may include the debugger-inserted ops.
bytes instrumented_graph_def = 5;- Specified by:
getInstrumentedGraphDefin interfaceDebuggedGraphOrBuilder- Returns:
- The instrumentedGraphDef.
-
setInstrumentedGraphDef
An encoded version of a GraphDef. This graph may include the debugger-inserted ops.
bytes instrumented_graph_def = 5;- Parameters:
value- The instrumentedGraphDef to set.- Returns:
- This builder for chaining.
-
clearInstrumentedGraphDef
An encoded version of a GraphDef. This graph may include the debugger-inserted ops.
bytes instrumented_graph_def = 5;- Returns:
- This builder for chaining.
-
getOuterContextId
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;- Specified by:
getOuterContextIdin interfaceDebuggedGraphOrBuilder- Returns:
- The outerContextId.
-
getOuterContextIdBytes
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;- Specified by:
getOuterContextIdBytesin interfaceDebuggedGraphOrBuilder- Returns:
- The bytes for outerContextId.
-
setOuterContextId
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;- Parameters:
value- The outerContextId to set.- Returns:
- This builder for chaining.
-
clearOuterContextId
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;- Returns:
- This builder for chaining.
-
setOuterContextIdBytes
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;- Parameters:
value- The bytes for outerContextId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<DebuggedGraph.Builder>
-