Class GraphDebugInfo.FileLineCol.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
org.tensorflow.framework.GraphDebugInfo.FileLineCol.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GraphDebugInfo.FileLineColOrBuilder
Enclosing class:
GraphDebugInfo.FileLineCol

public static final class GraphDebugInfo.FileLineCol.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder> implements GraphDebugInfo.FileLineColOrBuilder
 This represents a file/line location in the source code.
 
Protobuf type tensorflow.GraphDebugInfo.FileLineCol
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • getDefaultInstanceForType

      public GraphDebugInfo.FileLineCol getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GraphDebugInfo.FileLineCol buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • setField

      public GraphDebugInfo.FileLineCol.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • clearField

      public GraphDebugInfo.FileLineCol.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • clearOneof

      public GraphDebugInfo.FileLineCol.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • setRepeatedField

      public GraphDebugInfo.FileLineCol.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • addRepeatedField

      public GraphDebugInfo.FileLineCol.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • mergeFrom

      public GraphDebugInfo.FileLineCol.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • mergeFrom

      public GraphDebugInfo.FileLineCol.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GraphDebugInfo.FileLineCol.Builder>
      Throws:
      IOException
    • hasFileIndex

      public boolean hasFileIndex()
       File name index, which can be used to retrieve the file name string from
       `files`. The value should be between 0 and (len(files)-1)
       
      optional int32 file_index = 1;
      Specified by:
      hasFileIndex in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      Whether the fileIndex field is set.
    • getFileIndex

      public int getFileIndex()
       File name index, which can be used to retrieve the file name string from
       `files`. The value should be between 0 and (len(files)-1)
       
      optional int32 file_index = 1;
      Specified by:
      getFileIndex in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      The fileIndex.
    • setFileIndex

      public GraphDebugInfo.FileLineCol.Builder setFileIndex(int value)
       File name index, which can be used to retrieve the file name string from
       `files`. The value should be between 0 and (len(files)-1)
       
      optional int32 file_index = 1;
      Parameters:
      value - The fileIndex to set.
      Returns:
      This builder for chaining.
    • clearFileIndex

      public GraphDebugInfo.FileLineCol.Builder clearFileIndex()
       File name index, which can be used to retrieve the file name string from
       `files`. The value should be between 0 and (len(files)-1)
       
      optional int32 file_index = 1;
      Returns:
      This builder for chaining.
    • hasLine

      public boolean hasLine()
       Line number in the file.
       
      optional int32 line = 2;
      Specified by:
      hasLine in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      Whether the line field is set.
    • getLine

      public int getLine()
       Line number in the file.
       
      optional int32 line = 2;
      Specified by:
      getLine in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      The line.
    • setLine

      public GraphDebugInfo.FileLineCol.Builder setLine(int value)
       Line number in the file.
       
      optional int32 line = 2;
      Parameters:
      value - The line to set.
      Returns:
      This builder for chaining.
    • clearLine

       Line number in the file.
       
      optional int32 line = 2;
      Returns:
      This builder for chaining.
    • hasCol

      public boolean hasCol()
       Col number in the file line.
       
      optional int32 col = 3;
      Specified by:
      hasCol in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      Whether the col field is set.
    • getCol

      public int getCol()
       Col number in the file line.
       
      optional int32 col = 3;
      Specified by:
      getCol in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      The col.
    • setCol

      public GraphDebugInfo.FileLineCol.Builder setCol(int value)
       Col number in the file line.
       
      optional int32 col = 3;
      Parameters:
      value - The col to set.
      Returns:
      This builder for chaining.
    • clearCol

       Col number in the file line.
       
      optional int32 col = 3;
      Returns:
      This builder for chaining.
    • hasFunc

      public boolean hasFunc()
       Name of function contains the file line.
       
      optional string func = 4;
      Specified by:
      hasFunc in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      Whether the func field is set.
    • getFunc

      public String getFunc()
       Name of function contains the file line.
       
      optional string func = 4;
      Specified by:
      getFunc in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      The func.
    • getFuncBytes

      public com.google.protobuf.ByteString getFuncBytes()
       Name of function contains the file line.
       
      optional string func = 4;
      Specified by:
      getFuncBytes in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      The bytes for func.
    • setFunc

       Name of function contains the file line.
       
      optional string func = 4;
      Parameters:
      value - The func to set.
      Returns:
      This builder for chaining.
    • clearFunc

       Name of function contains the file line.
       
      optional string func = 4;
      Returns:
      This builder for chaining.
    • setFuncBytes

      public GraphDebugInfo.FileLineCol.Builder setFuncBytes(com.google.protobuf.ByteString value)
       Name of function contains the file line.
       
      optional string func = 4;
      Parameters:
      value - The bytes for func to set.
      Returns:
      This builder for chaining.
    • hasCode

      public boolean hasCode()
       Source code contained in this file line.
       
      optional string code = 5;
      Specified by:
      hasCode in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      Whether the code field is set.
    • getCode

      public String getCode()
       Source code contained in this file line.
       
      optional string code = 5;
      Specified by:
      getCode in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      The code.
    • getCodeBytes

      public com.google.protobuf.ByteString getCodeBytes()
       Source code contained in this file line.
       
      optional string code = 5;
      Specified by:
      getCodeBytes in interface GraphDebugInfo.FileLineColOrBuilder
      Returns:
      The bytes for code.
    • setCode

       Source code contained in this file line.
       
      optional string code = 5;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

       Source code contained in this file line.
       
      optional string code = 5;
      Returns:
      This builder for chaining.
    • setCodeBytes

      public GraphDebugInfo.FileLineCol.Builder setCodeBytes(com.google.protobuf.ByteString value)
       Source code contained in this file line.
       
      optional string code = 5;
      Parameters:
      value - The bytes for code to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GraphDebugInfo.FileLineCol.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>
    • mergeUnknownFields

      public final GraphDebugInfo.FileLineCol.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GraphDebugInfo.FileLineCol.Builder>