Class DebugEvent.Builder

All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, DebugEventOrBuilder
Enclosing class:
DebugEvent

public static final class DebugEvent.Builder extends GeneratedMessage.Builder<DebugEvent.Builder> implements DebugEventOrBuilder
An Event related to the debugging of a TensorFlow program.
Protobuf type tensorflow.DebugEvent
  • Method Details

    • getDescriptor

      public static final Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class GeneratedMessage.Builder<DebugEvent.Builder>
    • clear

      public DebugEvent.Builder clear()
      Specified by:
      clear in interface Message.Builder
      Specified by:
      clear in interface MessageLite.Builder
      Overrides:
      clear in class GeneratedMessage.Builder<DebugEvent.Builder>
    • getDescriptorForType

      public Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface Message.Builder
      Specified by:
      getDescriptorForType in interface MessageOrBuilder
      Overrides:
      getDescriptorForType in class GeneratedMessage.Builder<DebugEvent.Builder>
    • getDefaultInstanceForType

      public DebugEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface MessageOrBuilder
    • build

      public DebugEvent build()
      Specified by:
      build in interface Message.Builder
      Specified by:
      build in interface MessageLite.Builder
    • buildPartial

      public DebugEvent buildPartial()
      Specified by:
      buildPartial in interface Message.Builder
      Specified by:
      buildPartial in interface MessageLite.Builder
    • mergeFrom

      public DebugEvent.Builder mergeFrom(Message other)
      Specified by:
      mergeFrom in interface Message.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<DebugEvent.Builder>
    • mergeFrom

      public DebugEvent.Builder mergeFrom(DebugEvent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface MessageLiteOrBuilder
      Overrides:
      isInitialized in class GeneratedMessage.Builder<DebugEvent.Builder>
    • mergeFrom

      public DebugEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface Message.Builder
      Specified by:
      mergeFrom in interface MessageLite.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<DebugEvent.Builder>
      Throws:
      IOException
    • getWhatCase

      public DebugEvent.WhatCase getWhatCase()
      Specified by:
      getWhatCase in interface DebugEventOrBuilder
    • clearWhat

      public DebugEvent.Builder clearWhat()
    • getWallTime

      public double getWallTime()
      Timestamp in seconds (with microsecond precision).
      
      double wall_time = 1;
      Specified by:
      getWallTime in interface DebugEventOrBuilder
      Returns:
      The wallTime.
    • setWallTime

      public DebugEvent.Builder setWallTime(double value)
      Timestamp in seconds (with microsecond precision).
      
      double wall_time = 1;
      Parameters:
      value - The wallTime to set.
      Returns:
      This builder for chaining.
    • clearWallTime

      public DebugEvent.Builder clearWallTime()
      Timestamp in seconds (with microsecond precision).
      
      double wall_time = 1;
      Returns:
      This builder for chaining.
    • getStep

      public long getStep()
      Step of training (if available).
      
      int64 step = 2;
      Specified by:
      getStep in interface DebugEventOrBuilder
      Returns:
      The step.
    • setStep

      public DebugEvent.Builder setStep(long value)
      Step of training (if available).
      
      int64 step = 2;
      Parameters:
      value - The step to set.
      Returns:
      This builder for chaining.
    • clearStep

      public DebugEvent.Builder clearStep()
      Step of training (if available).
      
      int64 step = 2;
      Returns:
      This builder for chaining.
    • hasDebugMetadata

      public boolean hasDebugMetadata()
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
      Specified by:
      hasDebugMetadata in interface DebugEventOrBuilder
      Returns:
      Whether the debugMetadata field is set.
    • getDebugMetadata

      public DebugMetadata getDebugMetadata()
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
      Specified by:
      getDebugMetadata in interface DebugEventOrBuilder
      Returns:
      The debugMetadata.
    • setDebugMetadata

      public DebugEvent.Builder setDebugMetadata(DebugMetadata value)
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
    • setDebugMetadata

      public DebugEvent.Builder setDebugMetadata(DebugMetadata.Builder builderForValue)
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
    • mergeDebugMetadata

      public DebugEvent.Builder mergeDebugMetadata(DebugMetadata value)
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
    • clearDebugMetadata

      public DebugEvent.Builder clearDebugMetadata()
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
    • getDebugMetadataBuilder

      public DebugMetadata.Builder getDebugMetadataBuilder()
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
    • getDebugMetadataOrBuilder

      public DebugMetadataOrBuilder getDebugMetadataOrBuilder()
      Metadata related to this debugging data.
      
      .tensorflow.DebugMetadata debug_metadata = 3;
      Specified by:
      getDebugMetadataOrBuilder in interface DebugEventOrBuilder
    • hasSourceFile

      public boolean hasSourceFile()
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
      Specified by:
      hasSourceFile in interface DebugEventOrBuilder
      Returns:
      Whether the sourceFile field is set.
    • getSourceFile

      public SourceFile getSourceFile()
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
      Specified by:
      getSourceFile in interface DebugEventOrBuilder
      Returns:
      The sourceFile.
    • setSourceFile

      public DebugEvent.Builder setSourceFile(SourceFile value)
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
    • setSourceFile

      public DebugEvent.Builder setSourceFile(SourceFile.Builder builderForValue)
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
    • mergeSourceFile

      public DebugEvent.Builder mergeSourceFile(SourceFile value)
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
    • clearSourceFile

      public DebugEvent.Builder clearSourceFile()
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
    • getSourceFileBuilder

      public SourceFile.Builder getSourceFileBuilder()
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
    • getSourceFileOrBuilder

      public SourceFileOrBuilder getSourceFileOrBuilder()
      The content of a source file.
      
      .tensorflow.SourceFile source_file = 4;
      Specified by:
      getSourceFileOrBuilder in interface DebugEventOrBuilder
    • hasStackFrameWithId

      public boolean hasStackFrameWithId()
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
      Specified by:
      hasStackFrameWithId in interface DebugEventOrBuilder
      Returns:
      Whether the stackFrameWithId field is set.
    • getStackFrameWithId

      public StackFrameWithId getStackFrameWithId()
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
      Specified by:
      getStackFrameWithId in interface DebugEventOrBuilder
      Returns:
      The stackFrameWithId.
    • setStackFrameWithId

      public DebugEvent.Builder setStackFrameWithId(StackFrameWithId value)
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
    • setStackFrameWithId

      public DebugEvent.Builder setStackFrameWithId(StackFrameWithId.Builder builderForValue)
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
    • mergeStackFrameWithId

      public DebugEvent.Builder mergeStackFrameWithId(StackFrameWithId value)
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
    • clearStackFrameWithId

      public DebugEvent.Builder clearStackFrameWithId()
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
    • getStackFrameWithIdBuilder

      public StackFrameWithId.Builder getStackFrameWithIdBuilder()
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
    • getStackFrameWithIdOrBuilder

      public StackFrameWithIdOrBuilder getStackFrameWithIdOrBuilder()
      A stack frame (filename, line number and column number, function name and
      code string) with ID.
      
      .tensorflow.StackFrameWithId stack_frame_with_id = 6;
      Specified by:
      getStackFrameWithIdOrBuilder in interface DebugEventOrBuilder
    • hasGraphOpCreation

      public boolean hasGraphOpCreation()
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
      Specified by:
      hasGraphOpCreation in interface DebugEventOrBuilder
      Returns:
      Whether the graphOpCreation field is set.
    • getGraphOpCreation

      public GraphOpCreation getGraphOpCreation()
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
      Specified by:
      getGraphOpCreation in interface DebugEventOrBuilder
      Returns:
      The graphOpCreation.
    • setGraphOpCreation

      public DebugEvent.Builder setGraphOpCreation(GraphOpCreation value)
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
    • setGraphOpCreation

      public DebugEvent.Builder setGraphOpCreation(GraphOpCreation.Builder builderForValue)
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
    • mergeGraphOpCreation

      public DebugEvent.Builder mergeGraphOpCreation(GraphOpCreation value)
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
    • clearGraphOpCreation

      public DebugEvent.Builder clearGraphOpCreation()
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
    • getGraphOpCreationBuilder

      public GraphOpCreation.Builder getGraphOpCreationBuilder()
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
    • getGraphOpCreationOrBuilder

      public GraphOpCreationOrBuilder getGraphOpCreationOrBuilder()
      The creation of an op within a graph (e.g., a FuncGraph compiled from
      a Python function).
      
      .tensorflow.GraphOpCreation graph_op_creation = 7;
      Specified by:
      getGraphOpCreationOrBuilder in interface DebugEventOrBuilder
    • hasDebuggedGraph

      public boolean hasDebuggedGraph()
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
      Specified by:
      hasDebuggedGraph in interface DebugEventOrBuilder
      Returns:
      Whether the debuggedGraph field is set.
    • getDebuggedGraph

      public DebuggedGraph getDebuggedGraph()
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
      Specified by:
      getDebuggedGraph in interface DebugEventOrBuilder
      Returns:
      The debuggedGraph.
    • setDebuggedGraph

      public DebugEvent.Builder setDebuggedGraph(DebuggedGraph value)
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
    • setDebuggedGraph

      public DebugEvent.Builder setDebuggedGraph(DebuggedGraph.Builder builderForValue)
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
    • mergeDebuggedGraph

      public DebugEvent.Builder mergeDebuggedGraph(DebuggedGraph value)
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
    • clearDebuggedGraph

      public DebugEvent.Builder clearDebuggedGraph()
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
    • getDebuggedGraphBuilder

      public DebuggedGraph.Builder getDebuggedGraphBuilder()
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
    • getDebuggedGraphOrBuilder

      public DebuggedGraphOrBuilder getDebuggedGraphOrBuilder()
      Information about a debugged graph.
      
      .tensorflow.DebuggedGraph debugged_graph = 8;
      Specified by:
      getDebuggedGraphOrBuilder in interface DebugEventOrBuilder
    • hasExecution

      public boolean hasExecution()
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
      Specified by:
      hasExecution in interface DebugEventOrBuilder
      Returns:
      Whether the execution field is set.
    • getExecution

      public Execution getExecution()
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
      Specified by:
      getExecution in interface DebugEventOrBuilder
      Returns:
      The execution.
    • setExecution

      public DebugEvent.Builder setExecution(Execution value)
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
    • setExecution

      public DebugEvent.Builder setExecution(Execution.Builder builderForValue)
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
    • mergeExecution

      public DebugEvent.Builder mergeExecution(Execution value)
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
    • clearExecution

      public DebugEvent.Builder clearExecution()
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
    • getExecutionBuilder

      public Execution.Builder getExecutionBuilder()
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
    • getExecutionOrBuilder

      public ExecutionOrBuilder getExecutionOrBuilder()
      Execution of an op or a Graph (e.g., a tf.function).
      
      .tensorflow.Execution execution = 9;
      Specified by:
      getExecutionOrBuilder in interface DebugEventOrBuilder
    • hasGraphExecutionTrace

      public boolean hasGraphExecutionTrace()
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
      Specified by:
      hasGraphExecutionTrace in interface DebugEventOrBuilder
      Returns:
      Whether the graphExecutionTrace field is set.
    • getGraphExecutionTrace

      public GraphExecutionTrace getGraphExecutionTrace()
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
      Specified by:
      getGraphExecutionTrace in interface DebugEventOrBuilder
      Returns:
      The graphExecutionTrace.
    • setGraphExecutionTrace

      public DebugEvent.Builder setGraphExecutionTrace(GraphExecutionTrace value)
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
    • setGraphExecutionTrace

      public DebugEvent.Builder setGraphExecutionTrace(GraphExecutionTrace.Builder builderForValue)
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
    • mergeGraphExecutionTrace

      public DebugEvent.Builder mergeGraphExecutionTrace(GraphExecutionTrace value)
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
    • clearGraphExecutionTrace

      public DebugEvent.Builder clearGraphExecutionTrace()
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
    • getGraphExecutionTraceBuilder

      public GraphExecutionTrace.Builder getGraphExecutionTraceBuilder()
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
    • getGraphExecutionTraceOrBuilder

      public GraphExecutionTraceOrBuilder getGraphExecutionTraceOrBuilder()
      A graph execution trace: Contains information about the intermediate
      tensors computed during the graph execution.
      
      .tensorflow.GraphExecutionTrace graph_execution_trace = 10;
      Specified by:
      getGraphExecutionTraceOrBuilder in interface DebugEventOrBuilder
    • hasGraphId

      public boolean hasGraphId()
      The ID of the graph (i.e., FuncGraph) executed here: applicable only
      to the execution of a FuncGraph.
      
      string graph_id = 11;
      Specified by:
      hasGraphId in interface DebugEventOrBuilder
      Returns:
      Whether the graphId field is set.
    • getGraphId

      public String getGraphId()
      The ID of the graph (i.e., FuncGraph) executed here: applicable only
      to the execution of a FuncGraph.
      
      string graph_id = 11;
      Specified by:
      getGraphId in interface DebugEventOrBuilder
      Returns:
      The graphId.
    • getGraphIdBytes

      public ByteString getGraphIdBytes()
      The ID of the graph (i.e., FuncGraph) executed here: applicable only
      to the execution of a FuncGraph.
      
      string graph_id = 11;
      Specified by:
      getGraphIdBytes in interface DebugEventOrBuilder
      Returns:
      The bytes for graphId.
    • setGraphId

      public DebugEvent.Builder setGraphId(String value)
      The ID of the graph (i.e., FuncGraph) executed here: applicable only
      to the execution of a FuncGraph.
      
      string graph_id = 11;
      Parameters:
      value - The graphId to set.
      Returns:
      This builder for chaining.
    • clearGraphId

      public DebugEvent.Builder clearGraphId()
      The ID of the graph (i.e., FuncGraph) executed here: applicable only
      to the execution of a FuncGraph.
      
      string graph_id = 11;
      Returns:
      This builder for chaining.
    • setGraphIdBytes

      public DebugEvent.Builder setGraphIdBytes(ByteString value)
      The ID of the graph (i.e., FuncGraph) executed here: applicable only
      to the execution of a FuncGraph.
      
      string graph_id = 11;
      Parameters:
      value - The bytes for graphId to set.
      Returns:
      This builder for chaining.
    • hasDebuggedDevice

      public boolean hasDebuggedDevice()
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
      Specified by:
      hasDebuggedDevice in interface DebugEventOrBuilder
      Returns:
      Whether the debuggedDevice field is set.
    • getDebuggedDevice

      public DebuggedDevice getDebuggedDevice()
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
      Specified by:
      getDebuggedDevice in interface DebugEventOrBuilder
      Returns:
      The debuggedDevice.
    • setDebuggedDevice

      public DebugEvent.Builder setDebuggedDevice(DebuggedDevice value)
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
    • setDebuggedDevice

      public DebugEvent.Builder setDebuggedDevice(DebuggedDevice.Builder builderForValue)
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
    • mergeDebuggedDevice

      public DebugEvent.Builder mergeDebuggedDevice(DebuggedDevice value)
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
    • clearDebuggedDevice

      public DebugEvent.Builder clearDebuggedDevice()
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
    • getDebuggedDeviceBuilder

      public DebuggedDevice.Builder getDebuggedDeviceBuilder()
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
    • getDebuggedDeviceOrBuilder

      public DebuggedDeviceOrBuilder getDebuggedDeviceOrBuilder()
      A device on which debugger-instrumented ops and/or tensors reside.
      
      .tensorflow.DebuggedDevice debugged_device = 12;
      Specified by:
      getDebuggedDeviceOrBuilder in interface DebugEventOrBuilder