Class DebugOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DebugOptions.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
org.tensorflow.proto.DebugOptions.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, DebugOptionsOrBuilder
- Enclosing class:
DebugOptions
public static final class DebugOptions.Builder
extends GeneratedMessageV3.Builder<DebugOptions.Builder>
implements DebugOptionsOrBuilder
Options for initializing DebuggerState in TensorFlow Debugger (tfdbg).Protobuf type
tensorflow.DebugOptions-
Method Summary
Modifier and TypeMethodDescriptionaddAllDebugTensorWatchOpts(Iterable<? extends DebugTensorWatch> values) Debugging optionsaddDebugTensorWatchOpts(int index, DebugTensorWatch value) Debugging optionsaddDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging optionsDebugging optionsaddDebugTensorWatchOpts(DebugTensorWatch.Builder builderForValue) Debugging optionsDebugging optionsaddDebugTensorWatchOptsBuilder(int index) Debugging optionsaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Debugging optionsCaller-specified global step count.Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call.clone()getDebugTensorWatchOpts(int index) Debugging optionsgetDebugTensorWatchOptsBuilder(int index) Debugging optionsDebugging optionsintDebugging optionsDebugging optionsgetDebugTensorWatchOptsOrBuilder(int index) Debugging optionsList<? extends DebugTensorWatchOrBuilder> Debugging optionsstatic final Descriptors.DescriptorlongCaller-specified global step count.booleanWhether the total disk usage of tfdbg is to be reset to zero in this Session.run call.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(DebugOptions other) final DebugOptions.BuildermergeUnknownFields(UnknownFieldSet unknownFields) removeDebugTensorWatchOpts(int index) Debugging optionssetDebugTensorWatchOpts(int index, DebugTensorWatch value) Debugging optionssetDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging optionssetField(Descriptors.FieldDescriptor field, Object value) setGlobalStep(long value) Caller-specified global step count.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setResetDiskByteUsage(boolean value) Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call.final DebugOptions.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<DebugOptions.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<DebugOptions.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<DebugOptions.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
setRepeatedField
public DebugOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DebugOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
mergeFrom
public DebugOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DebugOptions.Builder>- Throws:
IOException
-
getDebugTensorWatchOptsList
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsListin interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOptsCount
public int getDebugTensorWatchOptsCount()Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsCountin interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsin interfaceDebugOptionsOrBuilder
-
setDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
setDebugTensorWatchOpts
public DebugOptions.Builder setDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
public DebugOptions.Builder addDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addAllDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
clearDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
removeDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getDebugTensorWatchOptsBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getDebugTensorWatchOptsOrBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsOrBuilderin interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOptsOrBuilderList
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsOrBuilderListin interfaceDebugOptionsOrBuilder
-
addDebugTensorWatchOptsBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOptsBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getDebugTensorWatchOptsBuilderList
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getGlobalStep
public long getGlobalStep()Caller-specified global step count. Note that this is distinct from the session run count and the executor step count.
int64 global_step = 10;- Specified by:
getGlobalStepin interfaceDebugOptionsOrBuilder- Returns:
- The globalStep.
-
setGlobalStep
Caller-specified global step count. Note that this is distinct from the session run count and the executor step count.
int64 global_step = 10;- Parameters:
value- The globalStep to set.- Returns:
- This builder for chaining.
-
clearGlobalStep
Caller-specified global step count. Note that this is distinct from the session run count and the executor step count.
int64 global_step = 10;- Returns:
- This builder for chaining.
-
getResetDiskByteUsage
public boolean getResetDiskByteUsage()Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call. This is used by wrappers and hooks such as the local CLI ones to indicate that the dumped tensors are cleaned up from the disk after each Session.run.
bool reset_disk_byte_usage = 11;- Specified by:
getResetDiskByteUsagein interfaceDebugOptionsOrBuilder- Returns:
- The resetDiskByteUsage.
-
setResetDiskByteUsage
Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call. This is used by wrappers and hooks such as the local CLI ones to indicate that the dumped tensors are cleaned up from the disk after each Session.run.
bool reset_disk_byte_usage = 11;- Parameters:
value- The resetDiskByteUsage to set.- Returns:
- This builder for chaining.
-
clearResetDiskByteUsage
Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call. This is used by wrappers and hooks such as the local CLI ones to indicate that the dumped tensors are cleaned up from the disk after each Session.run.
bool reset_disk_byte_usage = 11;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<DebugOptions.Builder>
-