Class BuildEventStreamProtos.ConvenienceSymlink.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.ConvenienceSymlink.Builder
All Implemented Interfaces:
BuildEventStreamProtos.ConvenienceSymlinkOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BuildEventStreamProtos.ConvenienceSymlink

public static final class BuildEventStreamProtos.ConvenienceSymlink.Builder extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.ConvenienceSymlink.Builder> implements BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
 The message that contains what type of action to perform on a given path and
 target of a symlink.
 
Protobuf type build_event_stream.ConvenienceSymlink
  • 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<BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.Builder>
    • getDefaultInstanceForType

      public BuildEventStreamProtos.ConvenienceSymlink 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

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

      public BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.Builder>
    • mergeFrom

      public BuildEventStreamProtos.ConvenienceSymlink.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<BuildEventStreamProtos.ConvenienceSymlink.Builder>
      Throws:
      IOException
    • getPath

      public String getPath()
       The path of the symlink to be created or deleted, absolute or relative to
       the workspace, creating any directories necessary. If a symlink already
       exists at that location, then it should be replaced by a symlink pointing
       to the new target.
       
      string path = 1;
      Specified by:
      getPath in interface BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       The path of the symlink to be created or deleted, absolute or relative to
       the workspace, creating any directories necessary. If a symlink already
       exists at that location, then it should be replaced by a symlink pointing
       to the new target.
       
      string path = 1;
      Specified by:
      getPathBytes in interface BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
      Returns:
      The bytes for path.
    • setPath

       The path of the symlink to be created or deleted, absolute or relative to
       the workspace, creating any directories necessary. If a symlink already
       exists at that location, then it should be replaced by a symlink pointing
       to the new target.
       
      string path = 1;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

       The path of the symlink to be created or deleted, absolute or relative to
       the workspace, creating any directories necessary. If a symlink already
       exists at that location, then it should be replaced by a symlink pointing
       to the new target.
       
      string path = 1;
      Returns:
      This builder for chaining.
    • setPathBytes

      public BuildEventStreamProtos.ConvenienceSymlink.Builder setPathBytes(com.google.protobuf.ByteString value)
       The path of the symlink to be created or deleted, absolute or relative to
       the workspace, creating any directories necessary. If a symlink already
       exists at that location, then it should be replaced by a symlink pointing
       to the new target.
       
      string path = 1;
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getActionValue

      public int getActionValue()
       The operation we are performing on the symlink.
       
      .build_event_stream.ConvenienceSymlink.Action action = 2;
      Specified by:
      getActionValue in interface BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
      Returns:
      The enum numeric value on the wire for action.
    • setActionValue

      public BuildEventStreamProtos.ConvenienceSymlink.Builder setActionValue(int value)
       The operation we are performing on the symlink.
       
      .build_event_stream.ConvenienceSymlink.Action action = 2;
      Parameters:
      value - The enum numeric value on the wire for action to set.
      Returns:
      This builder for chaining.
    • getAction

       The operation we are performing on the symlink.
       
      .build_event_stream.ConvenienceSymlink.Action action = 2;
      Specified by:
      getAction in interface BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
      Returns:
      The action.
    • setAction

       The operation we are performing on the symlink.
       
      .build_event_stream.ConvenienceSymlink.Action action = 2;
      Parameters:
      value - The action to set.
      Returns:
      This builder for chaining.
    • clearAction

       The operation we are performing on the symlink.
       
      .build_event_stream.ConvenienceSymlink.Action action = 2;
      Returns:
      This builder for chaining.
    • getTarget

      public String getTarget()
       If action is CREATE, this is the target path (relative to the output base)
       that the symlink should point to.
      
       If action is DELETE, this field is not set.
       
      string target = 3;
      Specified by:
      getTarget in interface BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
      Returns:
      The target.
    • getTargetBytes

      public com.google.protobuf.ByteString getTargetBytes()
       If action is CREATE, this is the target path (relative to the output base)
       that the symlink should point to.
      
       If action is DELETE, this field is not set.
       
      string target = 3;
      Specified by:
      getTargetBytes in interface BuildEventStreamProtos.ConvenienceSymlinkOrBuilder
      Returns:
      The bytes for target.
    • setTarget

       If action is CREATE, this is the target path (relative to the output base)
       that the symlink should point to.
      
       If action is DELETE, this field is not set.
       
      string target = 3;
      Parameters:
      value - The target to set.
      Returns:
      This builder for chaining.
    • clearTarget

       If action is CREATE, this is the target path (relative to the output base)
       that the symlink should point to.
      
       If action is DELETE, this field is not set.
       
      string target = 3;
      Returns:
      This builder for chaining.
    • setTargetBytes

      public BuildEventStreamProtos.ConvenienceSymlink.Builder setTargetBytes(com.google.protobuf.ByteString value)
       If action is CREATE, this is the target path (relative to the output base)
       that the symlink should point to.
      
       If action is DELETE, this field is not set.
       
      string target = 3;
      Parameters:
      value - The bytes for target to set.
      Returns:
      This builder for chaining.