Class BspTargetInfo.FileLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BspTargetInfo.FileLocation.Builder>
org.jetbrains.bsp.bazel.info.BspTargetInfo.FileLocation.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, BspTargetInfo.FileLocationOrBuilder
Enclosing class:
BspTargetInfo.FileLocation

public static final class BspTargetInfo.FileLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<BspTargetInfo.FileLocation.Builder> implements BspTargetInfo.FileLocationOrBuilder
Protobuf type bazelbsp.FileLocation
  • 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<BspTargetInfo.FileLocation.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<BspTargetInfo.FileLocation.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<BspTargetInfo.FileLocation.Builder>
    • getDefaultInstanceForType

      public BspTargetInfo.FileLocation 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 BspTargetInfo.FileLocation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BspTargetInfo.FileLocation.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<BspTargetInfo.FileLocation.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<BspTargetInfo.FileLocation.Builder>
    • mergeFrom

      public BspTargetInfo.FileLocation.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<BspTargetInfo.FileLocation.Builder>
      Throws:
      IOException
    • getRelativePath

      public String getRelativePath()
      string relative_path = 1;
      Specified by:
      getRelativePath in interface BspTargetInfo.FileLocationOrBuilder
      Returns:
      The relativePath.
    • getRelativePathBytes

      public com.google.protobuf.ByteString getRelativePathBytes()
      string relative_path = 1;
      Specified by:
      getRelativePathBytes in interface BspTargetInfo.FileLocationOrBuilder
      Returns:
      The bytes for relativePath.
    • setRelativePath

      public BspTargetInfo.FileLocation.Builder setRelativePath(String value)
      string relative_path = 1;
      Parameters:
      value - The relativePath to set.
      Returns:
      This builder for chaining.
    • clearRelativePath

      public BspTargetInfo.FileLocation.Builder clearRelativePath()
      string relative_path = 1;
      Returns:
      This builder for chaining.
    • setRelativePathBytes

      public BspTargetInfo.FileLocation.Builder setRelativePathBytes(com.google.protobuf.ByteString value)
      string relative_path = 1;
      Parameters:
      value - The bytes for relativePath to set.
      Returns:
      This builder for chaining.
    • getIsSource

      public boolean getIsSource()
      bool is_source = 2;
      Specified by:
      getIsSource in interface BspTargetInfo.FileLocationOrBuilder
      Returns:
      The isSource.
    • setIsSource

      public BspTargetInfo.FileLocation.Builder setIsSource(boolean value)
      bool is_source = 2;
      Parameters:
      value - The isSource to set.
      Returns:
      This builder for chaining.
    • clearIsSource

      public BspTargetInfo.FileLocation.Builder clearIsSource()
      bool is_source = 2;
      Returns:
      This builder for chaining.
    • getIsExternal

      public boolean getIsExternal()
      bool is_external = 3;
      Specified by:
      getIsExternal in interface BspTargetInfo.FileLocationOrBuilder
      Returns:
      The isExternal.
    • setIsExternal

      public BspTargetInfo.FileLocation.Builder setIsExternal(boolean value)
      bool is_external = 3;
      Parameters:
      value - The isExternal to set.
      Returns:
      This builder for chaining.
    • clearIsExternal

      public BspTargetInfo.FileLocation.Builder clearIsExternal()
      bool is_external = 3;
      Returns:
      This builder for chaining.
    • getRootExecutionPathFragment

      public String getRootExecutionPathFragment()
      string root_execution_path_fragment = 4;
      Specified by:
      getRootExecutionPathFragment in interface BspTargetInfo.FileLocationOrBuilder
      Returns:
      The rootExecutionPathFragment.
    • getRootExecutionPathFragmentBytes

      public com.google.protobuf.ByteString getRootExecutionPathFragmentBytes()
      string root_execution_path_fragment = 4;
      Specified by:
      getRootExecutionPathFragmentBytes in interface BspTargetInfo.FileLocationOrBuilder
      Returns:
      The bytes for rootExecutionPathFragment.
    • setRootExecutionPathFragment

      public BspTargetInfo.FileLocation.Builder setRootExecutionPathFragment(String value)
      string root_execution_path_fragment = 4;
      Parameters:
      value - The rootExecutionPathFragment to set.
      Returns:
      This builder for chaining.
    • clearRootExecutionPathFragment

      public BspTargetInfo.FileLocation.Builder clearRootExecutionPathFragment()
      string root_execution_path_fragment = 4;
      Returns:
      This builder for chaining.
    • setRootExecutionPathFragmentBytes

      public BspTargetInfo.FileLocation.Builder setRootExecutionPathFragmentBytes(com.google.protobuf.ByteString value)
      string root_execution_path_fragment = 4;
      Parameters:
      value - The bytes for rootExecutionPathFragment to set.
      Returns:
      This builder for chaining.