Interface CommandOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Command, Command.Builder

    public interface CommandOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getArgs​(int index)
      Command-line arguments used when executing this command.
      com.google.protobuf.ByteString getArgsBytes​(int index)
      Command-line arguments used when executing this command.
      int getArgsCount()
      Command-line arguments used when executing this command.
      List<String> getArgsList()
      Command-line arguments used when executing this command.
      String getDir()
      Working directory (relative to project source root) used when running this command.
      com.google.protobuf.ByteString getDirBytes()
      Working directory (relative to project source root) used when running this command.
      String getEnv​(int index)
      Environment variables set before running this command.
      com.google.protobuf.ByteString getEnvBytes​(int index)
      Environment variables set before running this command.
      int getEnvCount()
      Environment variables set before running this command.
      List<String> getEnvList()
      Environment variables set before running this command.
      String getId()
      Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
      com.google.protobuf.ByteString getIdBytes()
      Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      String getWaitFor​(int index)
      The ID(s) of the command(s) that this command depends on.
      com.google.protobuf.ByteString getWaitForBytes​(int index)
      The ID(s) of the command(s) that this command depends on.
      int getWaitForCount()
      The ID(s) of the command(s) that this command depends on.
      List<String> getWaitForList()
      The ID(s) of the command(s) that this command depends on.
      • 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

      • getName

        String getName()
         Required. Name of the command, as presented on the command line, or if the
         command is packaged as a Docker container, as presented to `docker pull`.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. Name of the command, as presented on the command line, or if the
         command is packaged as a Docker container, as presented to `docker pull`.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getEnvList

        List<String> getEnvList()
         Environment variables set before running this command.
         
        repeated string env = 2;
        Returns:
        A list containing the env.
      • getEnvCount

        int getEnvCount()
         Environment variables set before running this command.
         
        repeated string env = 2;
        Returns:
        The count of env.
      • getEnv

        String getEnv​(int index)
         Environment variables set before running this command.
         
        repeated string env = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The env at the given index.
      • getEnvBytes

        com.google.protobuf.ByteString getEnvBytes​(int index)
         Environment variables set before running this command.
         
        repeated string env = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the env at the given index.
      • getArgsList

        List<String> getArgsList()
         Command-line arguments used when executing this command.
         
        repeated string args = 3;
        Returns:
        A list containing the args.
      • getArgsCount

        int getArgsCount()
         Command-line arguments used when executing this command.
         
        repeated string args = 3;
        Returns:
        The count of args.
      • getArgs

        String getArgs​(int index)
         Command-line arguments used when executing this command.
         
        repeated string args = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The args at the given index.
      • getArgsBytes

        com.google.protobuf.ByteString getArgsBytes​(int index)
         Command-line arguments used when executing this command.
         
        repeated string args = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the args at the given index.
      • getDir

        String getDir()
         Working directory (relative to project source root) used when running this
         command.
         
        string dir = 4;
        Returns:
        The dir.
      • getDirBytes

        com.google.protobuf.ByteString getDirBytes()
         Working directory (relative to project source root) used when running this
         command.
         
        string dir = 4;
        Returns:
        The bytes for dir.
      • getId

        String getId()
         Optional unique identifier for this command, used in wait_for to reference
         this command as a dependency.
         
        string id = 5;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         Optional unique identifier for this command, used in wait_for to reference
         this command as a dependency.
         
        string id = 5;
        Returns:
        The bytes for id.
      • getWaitForList

        List<String> getWaitForList()
         The ID(s) of the command(s) that this command depends on.
         
        repeated string wait_for = 6;
        Returns:
        A list containing the waitFor.
      • getWaitForCount

        int getWaitForCount()
         The ID(s) of the command(s) that this command depends on.
         
        repeated string wait_for = 6;
        Returns:
        The count of waitFor.
      • getWaitFor

        String getWaitFor​(int index)
         The ID(s) of the command(s) that this command depends on.
         
        repeated string wait_for = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The waitFor at the given index.
      • getWaitForBytes

        com.google.protobuf.ByteString getWaitForBytes​(int index)
         The ID(s) of the command(s) that this command depends on.
         
        repeated string wait_for = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the waitFor at the given index.