Interface Build.FilesetEntryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Build.FilesetEntry, Build.FilesetEntry.Builder
Enclosing class:
Build

public static interface Build.FilesetEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The relative path within the fileset rule where files will be mapped.
    com.google.protobuf.ByteString
    The relative path within the fileset rule where files will be mapped.
    getExclude(int index)
    If this is a fileset entry representing files within the rule package, this lists relative paths to files that should be excluded from the set.
    com.google.protobuf.ByteString
    getExcludeBytes(int index)
    If this is a fileset entry representing files within the rule package, this lists relative paths to files that should be excluded from the set.
    int
    If this is a fileset entry representing files within the rule package, this lists relative paths to files that should be excluded from the set.
    If this is a fileset entry representing files within the rule package, this lists relative paths to files that should be excluded from the set.
    getFile(int index)
    A list of file labels to include from the source directory.
    com.google.protobuf.ByteString
    getFileBytes(int index)
    A list of file labels to include from the source directory.
    int
    A list of file labels to include from the source directory.
    A list of file labels to include from the source directory.
    boolean
    Whether the files= attribute was specified.
    The label pointing to the source target where files are copied from.
    com.google.protobuf.ByteString
    The label pointing to the source target where files are copied from.
    The prefix to strip from the path of the files in this FilesetEntry.
    com.google.protobuf.ByteString
    The prefix to strip from the path of the files in this FilesetEntry.
    This field is optional because there will be some time when the new PB is used by tools depending on blaze query, but the new blaze version is not yet released.
    boolean
    The relative path within the fileset rule where files will be mapped.
    boolean
    Whether the files= attribute was specified.
    boolean
    The label pointing to the source target where files are copied from.
    boolean
    The prefix to strip from the path of the files in this FilesetEntry.
    boolean
    This field is optional because there will be some time when the new PB is used by tools depending on blaze query, but the new blaze version is not yet released.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSource

      boolean hasSource()
       The label pointing to the source target where files are copied from.
       
      required string source = 1;
      Returns:
      Whether the source field is set.
    • getSource

      String getSource()
       The label pointing to the source target where files are copied from.
       
      required string source = 1;
      Returns:
      The source.
    • getSourceBytes

      com.google.protobuf.ByteString getSourceBytes()
       The label pointing to the source target where files are copied from.
       
      required string source = 1;
      Returns:
      The bytes for source.
    • hasDestinationDirectory

      boolean hasDestinationDirectory()
       The relative path within the fileset rule where files will be mapped.
       
      required string destination_directory = 2;
      Returns:
      Whether the destinationDirectory field is set.
    • getDestinationDirectory

      String getDestinationDirectory()
       The relative path within the fileset rule where files will be mapped.
       
      required string destination_directory = 2;
      Returns:
      The destinationDirectory.
    • getDestinationDirectoryBytes

      com.google.protobuf.ByteString getDestinationDirectoryBytes()
       The relative path within the fileset rule where files will be mapped.
       
      required string destination_directory = 2;
      Returns:
      The bytes for destinationDirectory.
    • hasFilesPresent

      boolean hasFilesPresent()
       Whether the files= attribute was specified. This is necessary because
       no files= attribute and files=[] mean different things.
       
      optional bool files_present = 7;
      Returns:
      Whether the filesPresent field is set.
    • getFilesPresent

      boolean getFilesPresent()
       Whether the files= attribute was specified. This is necessary because
       no files= attribute and files=[] mean different things.
       
      optional bool files_present = 7;
      Returns:
      The filesPresent.
    • getFileList

      List<String> getFileList()
       A list of file labels to include from the source directory.
       
      repeated string file = 3;
      Returns:
      A list containing the file.
    • getFileCount

      int getFileCount()
       A list of file labels to include from the source directory.
       
      repeated string file = 3;
      Returns:
      The count of file.
    • getFile

      String getFile(int index)
       A list of file labels to include from the source directory.
       
      repeated string file = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The file at the given index.
    • getFileBytes

      com.google.protobuf.ByteString getFileBytes(int index)
       A list of file labels to include from the source directory.
       
      repeated string file = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the file at the given index.
    • getExcludeList

      List<String> getExcludeList()
       If this is a fileset entry representing files within the rule
       package, this lists relative paths to files that should be excluded from
       the set.  This cannot contain values if 'file' also has values.
       
      repeated string exclude = 4;
      Returns:
      A list containing the exclude.
    • getExcludeCount

      int getExcludeCount()
       If this is a fileset entry representing files within the rule
       package, this lists relative paths to files that should be excluded from
       the set.  This cannot contain values if 'file' also has values.
       
      repeated string exclude = 4;
      Returns:
      The count of exclude.
    • getExclude

      String getExclude(int index)
       If this is a fileset entry representing files within the rule
       package, this lists relative paths to files that should be excluded from
       the set.  This cannot contain values if 'file' also has values.
       
      repeated string exclude = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The exclude at the given index.
    • getExcludeBytes

      com.google.protobuf.ByteString getExcludeBytes(int index)
       If this is a fileset entry representing files within the rule
       package, this lists relative paths to files that should be excluded from
       the set.  This cannot contain values if 'file' also has values.
       
      repeated string exclude = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the exclude at the given index.
    • hasSymlinkBehavior

      boolean hasSymlinkBehavior()
       This field is optional because there will be some time when the new
       PB is used by tools depending on blaze query, but the new blaze version
       is not yet released.
       TODO(bazel-team): Make this field required once a version of Blaze is
       released that outputs this field.
       
      optional .blaze_query.FilesetEntry.SymlinkBehavior symlink_behavior = 5 [default = COPY];
      Returns:
      Whether the symlinkBehavior field is set.
    • getSymlinkBehavior

       This field is optional because there will be some time when the new
       PB is used by tools depending on blaze query, but the new blaze version
       is not yet released.
       TODO(bazel-team): Make this field required once a version of Blaze is
       released that outputs this field.
       
      optional .blaze_query.FilesetEntry.SymlinkBehavior symlink_behavior = 5 [default = COPY];
      Returns:
      The symlinkBehavior.
    • hasStripPrefix

      boolean hasStripPrefix()
       The prefix to strip from the path of the files in this FilesetEntry. Note
       that no value and the empty string as the value mean different things here.
       
      optional string strip_prefix = 6;
      Returns:
      Whether the stripPrefix field is set.
    • getStripPrefix

      String getStripPrefix()
       The prefix to strip from the path of the files in this FilesetEntry. Note
       that no value and the empty string as the value mean different things here.
       
      optional string strip_prefix = 6;
      Returns:
      The stripPrefix.
    • getStripPrefixBytes

      com.google.protobuf.ByteString getStripPrefixBytes()
       The prefix to strip from the path of the files in this FilesetEntry. Note
       that no value and the empty string as the value mean different things here.
       
      optional string strip_prefix = 6;
      Returns:
      The bytes for stripPrefix.