Class Deps.SourceLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deps.SourceLocation.Builder>
com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder
All Implemented Interfaces:
Deps.SourceLocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Deps.SourceLocation

public static final class Deps.SourceLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Deps.SourceLocation.Builder> implements Deps.SourceLocationOrBuilder
 A specific location within a source file.
 
Protobuf type blaze_deps.SourceLocation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Deps.SourceLocation.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.GeneratedMessage.Builder<Deps.SourceLocation.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.GeneratedMessage.Builder<Deps.SourceLocation.Builder>
    • getDefaultInstanceForType

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

      public Deps.SourceLocation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Deps.SourceLocation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Deps.SourceLocation.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<Deps.SourceLocation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Deps.SourceLocation.Builder>
    • mergeFrom

      public Deps.SourceLocation.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<Deps.SourceLocation.Builder>
      Throws:
      IOException
    • hasPath

      public boolean hasPath()
      required string path = 1;
      Specified by:
      hasPath in interface Deps.SourceLocationOrBuilder
      Returns:
      Whether the path field is set.
    • getPath

      public String getPath()
      required string path = 1;
      Specified by:
      getPath in interface Deps.SourceLocationOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
      required string path = 1;
      Specified by:
      getPathBytes in interface Deps.SourceLocationOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public Deps.SourceLocation.Builder setPath(String value)
      required string path = 1;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public Deps.SourceLocation.Builder clearPath()
      required string path = 1;
      Returns:
      This builder for chaining.
    • setPathBytes

      public Deps.SourceLocation.Builder setPathBytes(com.google.protobuf.ByteString value)
      required string path = 1;
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • hasLine

      public boolean hasLine()
      optional int32 line = 2;
      Specified by:
      hasLine in interface Deps.SourceLocationOrBuilder
      Returns:
      Whether the line field is set.
    • getLine

      public int getLine()
      optional int32 line = 2;
      Specified by:
      getLine in interface Deps.SourceLocationOrBuilder
      Returns:
      The line.
    • setLine

      public Deps.SourceLocation.Builder setLine(int value)
      optional int32 line = 2;
      Parameters:
      value - The line to set.
      Returns:
      This builder for chaining.
    • clearLine

      public Deps.SourceLocation.Builder clearLine()
      optional int32 line = 2;
      Returns:
      This builder for chaining.
    • hasColumn

      public boolean hasColumn()
      optional int32 column = 3;
      Specified by:
      hasColumn in interface Deps.SourceLocationOrBuilder
      Returns:
      Whether the column field is set.
    • getColumn

      public int getColumn()
      optional int32 column = 3;
      Specified by:
      getColumn in interface Deps.SourceLocationOrBuilder
      Returns:
      The column.
    • setColumn

      public Deps.SourceLocation.Builder setColumn(int value)
      optional int32 column = 3;
      Parameters:
      value - The column to set.
      Returns:
      This builder for chaining.
    • clearColumn

      public Deps.SourceLocation.Builder clearColumn()
      optional int32 column = 3;
      Returns:
      This builder for chaining.