Class DebugOptions.Builder

  • All Implemented Interfaces:
    Cloneable, org.nd4j.shade.protobuf.Message.Builder, org.nd4j.shade.protobuf.MessageLite.Builder, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, DebugOptionsOrBuilder
    Enclosing class:
    DebugOptions

    public static final class DebugOptions.Builder
    extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
    implements DebugOptionsOrBuilder
     EXPERIMENTAL. Options for initializing DebuggerState.
     
    Protobuf type tensorflow.DebugOptions
    • Method Detail

      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • clear

        public DebugOptions.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • getDefaultInstanceForType

        public DebugOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public DebugOptions build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public DebugOptions buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public DebugOptions.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • setField

        public DebugOptions.Builder setField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • clearField

        public DebugOptions.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • clearOneof

        public DebugOptions.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • setRepeatedField

        public DebugOptions.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • addRepeatedField

        public DebugOptions.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • mergeFrom

        public DebugOptions.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DebugOptions.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • mergeFrom

        public DebugOptions.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                              org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<DebugOptions.Builder>
        Throws:
        IOException
      • setDebugTensorWatchOpts

        public DebugOptions.Builder setDebugTensorWatchOpts​(int index,
                                                            DebugTensorWatch value)
         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

        public DebugOptions.Builder addDebugTensorWatchOpts​(DebugTensorWatch value)
         Debugging options
         
        repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
      • addDebugTensorWatchOpts

        public DebugOptions.Builder addDebugTensorWatchOpts​(int index,
                                                            DebugTensorWatch value)
         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;
      • clearDebugTensorWatchOpts

        public DebugOptions.Builder clearDebugTensorWatchOpts()
         Debugging options
         
        repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
      • removeDebugTensorWatchOpts

        public DebugOptions.Builder removeDebugTensorWatchOpts​(int index)
         Debugging options
         
        repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
      • getDebugTensorWatchOptsBuilder

        public DebugTensorWatch.Builder getDebugTensorWatchOptsBuilder​(int index)
         Debugging options
         
        repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
      • addDebugTensorWatchOptsBuilder

        public DebugTensorWatch.Builder addDebugTensorWatchOptsBuilder()
         Debugging options
         
        repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
      • addDebugTensorWatchOptsBuilder

        public DebugTensorWatch.Builder addDebugTensorWatchOptsBuilder​(int index)
         Debugging options
         
        repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
      • getDebugTensorWatchOptsBuilderList

        public List<DebugTensorWatch.Builder> 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:
        getGlobalStep in interface DebugOptionsOrBuilder
        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.
      • setUnknownFields

        public final DebugOptions.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
      • mergeUnknownFields

        public final DebugOptions.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>