Package org.platanios.tensorflow.proto
Class DebugOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
-
- org.platanios.tensorflow.proto.DebugOptions.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
,DebugOptionsOrBuilder
- Enclosing class:
- DebugOptions
public static final class DebugOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder> implements DebugOptionsOrBuilder
Options for initializing DebuggerState in TensorFlow Debugger (tfdbg).
Protobuf typeorg.platanios.tensorflow.proto.DebugOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DebugOptions.Builder
addAllDebugTensorWatchOpts(java.lang.Iterable<? extends DebugTensorWatch> values)
Debugging optionsDebugOptions.Builder
addDebugTensorWatchOpts(int index, DebugTensorWatch value)
Debugging optionsDebugOptions.Builder
addDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue)
Debugging optionsDebugOptions.Builder
addDebugTensorWatchOpts(DebugTensorWatch value)
Debugging optionsDebugOptions.Builder
addDebugTensorWatchOpts(DebugTensorWatch.Builder builderForValue)
Debugging optionsDebugTensorWatch.Builder
addDebugTensorWatchOptsBuilder()
Debugging optionsDebugTensorWatch.Builder
addDebugTensorWatchOptsBuilder(int index)
Debugging optionsDebugOptions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DebugOptions
build()
DebugOptions
buildPartial()
DebugOptions.Builder
clear()
DebugOptions.Builder
clearDebugTensorWatchOpts()
Debugging optionsDebugOptions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DebugOptions.Builder
clearGlobalStep()
Caller-specified global step count.DebugOptions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DebugOptions.Builder
clearResetDiskByteUsage()
Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call.DebugOptions.Builder
clone()
DebugTensorWatch
getDebugTensorWatchOpts(int index)
Debugging optionsDebugTensorWatch.Builder
getDebugTensorWatchOptsBuilder(int index)
Debugging optionsjava.util.List<DebugTensorWatch.Builder>
getDebugTensorWatchOptsBuilderList()
Debugging optionsint
getDebugTensorWatchOptsCount()
Debugging optionsjava.util.List<DebugTensorWatch>
getDebugTensorWatchOptsList()
Debugging optionsDebugTensorWatchOrBuilder
getDebugTensorWatchOptsOrBuilder(int index)
Debugging optionsjava.util.List<? extends DebugTensorWatchOrBuilder>
getDebugTensorWatchOptsOrBuilderList()
Debugging optionsDebugOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getGlobalStep()
Caller-specified global step count.boolean
getResetDiskByteUsage()
Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DebugOptions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DebugOptions.Builder
mergeFrom(com.google.protobuf.Message other)
DebugOptions.Builder
mergeFrom(DebugOptions other)
DebugOptions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DebugOptions.Builder
removeDebugTensorWatchOpts(int index)
Debugging optionsDebugOptions.Builder
setDebugTensorWatchOpts(int index, DebugTensorWatch value)
Debugging optionsDebugOptions.Builder
setDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue)
Debugging optionsDebugOptions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DebugOptions.Builder
setGlobalStep(long value)
Caller-specified global step count.DebugOptions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DebugOptions.Builder
setResetDiskByteUsage(boolean value)
Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call.DebugOptions.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<DebugOptions.Builder>
-
clear
public DebugOptions.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<DebugOptions.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<DebugOptions.Builder>
-
getDefaultInstanceForType
public DebugOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DebugOptions build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DebugOptions buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DebugOptions.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<DebugOptions.Builder>
-
setField
public DebugOptions.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<DebugOptions.Builder>
-
clearField
public DebugOptions.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<DebugOptions.Builder>
-
clearOneof
public DebugOptions.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<DebugOptions.Builder>
-
setRepeatedField
public DebugOptions.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<DebugOptions.Builder>
-
addRepeatedField
public DebugOptions.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<DebugOptions.Builder>
-
mergeFrom
public DebugOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DebugOptions.Builder>
-
mergeFrom
public DebugOptions.Builder mergeFrom(DebugOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
-
mergeFrom
public DebugOptions.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<DebugOptions.Builder>
- Throws:
java.io.IOException
-
getDebugTensorWatchOptsList
public java.util.List<DebugTensorWatch> getDebugTensorWatchOptsList()
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
- Specified by:
getDebugTensorWatchOptsList
in interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOptsCount
public int getDebugTensorWatchOptsCount()
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
- Specified by:
getDebugTensorWatchOptsCount
in interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOpts
public DebugTensorWatch getDebugTensorWatchOpts(int index)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
- Specified by:
getDebugTensorWatchOpts
in interfaceDebugOptionsOrBuilder
-
setDebugTensorWatchOpts
public DebugOptions.Builder setDebugTensorWatchOpts(int index, DebugTensorWatch value)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
setDebugTensorWatchOpts
public DebugOptions.Builder setDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
addDebugTensorWatchOpts
public DebugOptions.Builder addDebugTensorWatchOpts(DebugTensorWatch value)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
addDebugTensorWatchOpts
public DebugOptions.Builder addDebugTensorWatchOpts(int index, DebugTensorWatch value)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
addDebugTensorWatchOpts
public DebugOptions.Builder addDebugTensorWatchOpts(DebugTensorWatch.Builder builderForValue)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
addDebugTensorWatchOpts
public DebugOptions.Builder addDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
addAllDebugTensorWatchOpts
public DebugOptions.Builder addAllDebugTensorWatchOpts(java.lang.Iterable<? extends DebugTensorWatch> values)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
clearDebugTensorWatchOpts
public DebugOptions.Builder clearDebugTensorWatchOpts()
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
removeDebugTensorWatchOpts
public DebugOptions.Builder removeDebugTensorWatchOpts(int index)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
getDebugTensorWatchOptsBuilder
public DebugTensorWatch.Builder getDebugTensorWatchOptsBuilder(int index)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
getDebugTensorWatchOptsOrBuilder
public DebugTensorWatchOrBuilder getDebugTensorWatchOptsOrBuilder(int index)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
- Specified by:
getDebugTensorWatchOptsOrBuilder
in interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOptsOrBuilderList
public java.util.List<? extends DebugTensorWatchOrBuilder> getDebugTensorWatchOptsOrBuilderList()
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
- Specified by:
getDebugTensorWatchOptsOrBuilderList
in interfaceDebugOptionsOrBuilder
-
addDebugTensorWatchOptsBuilder
public DebugTensorWatch.Builder addDebugTensorWatchOptsBuilder()
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
addDebugTensorWatchOptsBuilder
public DebugTensorWatch.Builder addDebugTensorWatchOptsBuilder(int index)
Debugging options
repeated .org.platanios.tensorflow.proto.DebugTensorWatch debug_tensor_watch_opts = 4;
-
getDebugTensorWatchOptsBuilderList
public java.util.List<DebugTensorWatch.Builder> getDebugTensorWatchOptsBuilderList()
Debugging options
repeated .org.platanios.tensorflow.proto.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:
getGlobalStep
in interfaceDebugOptionsOrBuilder
- Returns:
- The globalStep.
-
setGlobalStep
public DebugOptions.Builder setGlobalStep(long value)
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
public DebugOptions.Builder 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:
getResetDiskByteUsage
in interfaceDebugOptionsOrBuilder
- Returns:
- The resetDiskByteUsage.
-
setResetDiskByteUsage
public DebugOptions.Builder setResetDiskByteUsage(boolean value)
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
public DebugOptions.Builder 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
public final DebugOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
-
mergeUnknownFields
public final DebugOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
-
-