Interface BuildEventStreamProtos.FileOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getContents()
      The contents of the file, if they are guaranteed to be short.
      BuildEventStreamProtos.File.FileCase getFileCase()  
      java.lang.String getName()
      identifier indicating the nature of the file (e.g., "stdout", "stderr")
      com.google.protobuf.ByteString getNameBytes()
      identifier indicating the nature of the file (e.g., "stdout", "stderr")
      java.lang.String getPathPrefix​(int index)
      A sequence of prefixes to apply to the file name to construct a full path.
      com.google.protobuf.ByteString getPathPrefixBytes​(int index)
      A sequence of prefixes to apply to the file name to construct a full path.
      int getPathPrefixCount()
      A sequence of prefixes to apply to the file name to construct a full path.
      java.util.List<java.lang.String> getPathPrefixList()
      A sequence of prefixes to apply to the file name to construct a full path.
      java.lang.String getUri()
      A location where the contents of the file can be found.
      com.google.protobuf.ByteString getUriBytes()
      A location where the contents of the file can be found.
      boolean hasContents()
      The contents of the file, if they are guaranteed to be short.
      boolean hasUri()
      A location where the contents of the file can be found.
      • 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 Detail

      • getPathPrefixList

        java.util.List<java.lang.String> getPathPrefixList()
         A sequence of prefixes to apply to the file name to construct a full path.
         In most but not all cases, there will be 3 entries:
          1. A root output directory, eg "bazel-out"
          2. A configuration mnemonic, eg "k8-fastbuild"
          3. An output category, eg "genfiles"
         
        repeated string path_prefix = 4;
        Returns:
        A list containing the pathPrefix.
      • getPathPrefixCount

        int getPathPrefixCount()
         A sequence of prefixes to apply to the file name to construct a full path.
         In most but not all cases, there will be 3 entries:
          1. A root output directory, eg "bazel-out"
          2. A configuration mnemonic, eg "k8-fastbuild"
          3. An output category, eg "genfiles"
         
        repeated string path_prefix = 4;
        Returns:
        The count of pathPrefix.
      • getPathPrefix

        java.lang.String getPathPrefix​(int index)
         A sequence of prefixes to apply to the file name to construct a full path.
         In most but not all cases, there will be 3 entries:
          1. A root output directory, eg "bazel-out"
          2. A configuration mnemonic, eg "k8-fastbuild"
          3. An output category, eg "genfiles"
         
        repeated string path_prefix = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The pathPrefix at the given index.
      • getPathPrefixBytes

        com.google.protobuf.ByteString getPathPrefixBytes​(int index)
         A sequence of prefixes to apply to the file name to construct a full path.
         In most but not all cases, there will be 3 entries:
          1. A root output directory, eg "bazel-out"
          2. A configuration mnemonic, eg "k8-fastbuild"
          3. An output category, eg "genfiles"
         
        repeated string path_prefix = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pathPrefix at the given index.
      • getName

        java.lang.String getName()
         identifier indicating the nature of the file (e.g., "stdout", "stderr")
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         identifier indicating the nature of the file (e.g., "stdout", "stderr")
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasUri

        boolean hasUri()
         A location where the contents of the file can be found. The string is
         encoded according to RFC2396.
         
        string uri = 2;
        Returns:
        Whether the uri field is set.
      • getUri

        java.lang.String getUri()
         A location where the contents of the file can be found. The string is
         encoded according to RFC2396.
         
        string uri = 2;
        Returns:
        The uri.
      • getUriBytes

        com.google.protobuf.ByteString getUriBytes()
         A location where the contents of the file can be found. The string is
         encoded according to RFC2396.
         
        string uri = 2;
        Returns:
        The bytes for uri.
      • hasContents

        boolean hasContents()
         The contents of the file, if they are guaranteed to be short.
         
        bytes contents = 3;
        Returns:
        Whether the contents field is set.
      • getContents

        com.google.protobuf.ByteString getContents()
         The contents of the file, if they are guaranteed to be short.
         
        bytes contents = 3;
        Returns:
        The contents.