Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: build/bazel/remote/execution/v2/remote_execution.proto
// Protobuf Java Version: 3.25.3
package build.bazel.remote.execution.v2;
public interface CommandOrBuilder extends
// @@protoc_insertion_point(interface_extends:build.bazel.remote.execution.v2.Command)
com.google.protobuf.MessageOrBuilder {
/**
*
* The arguments to the command. The first argument must be the path to the
* executable, which must be either a relative path, in which case it is
* evaluated with respect to the input root, or an absolute path.
*
*
* repeated string arguments = 1;
* @return A list containing the arguments.
*/
java.util.List
getArgumentsList();
/**
*
* The arguments to the command. The first argument must be the path to the
* executable, which must be either a relative path, in which case it is
* evaluated with respect to the input root, or an absolute path.
*
*
* repeated string arguments = 1;
* @return The count of arguments.
*/
int getArgumentsCount();
/**
*
* The arguments to the command. The first argument must be the path to the
* executable, which must be either a relative path, in which case it is
* evaluated with respect to the input root, or an absolute path.
*
*
* repeated string arguments = 1;
* @param index The index of the element to return.
* @return The arguments at the given index.
*/
java.lang.String getArguments(int index);
/**
*
* The arguments to the command. The first argument must be the path to the
* executable, which must be either a relative path, in which case it is
* evaluated with respect to the input root, or an absolute path.
*
*
* repeated string arguments = 1;
* @param index The index of the value to return.
* @return The bytes of the arguments at the given index.
*/
com.google.protobuf.ByteString
getArgumentsBytes(int index);
/**
*
* The environment variables to set when running the program. The worker may
* provide its own default environment variables; these defaults can be
* overridden using this field. Additional variables can also be specified.
*
* In order to ensure that equivalent
* [Command][build.bazel.remote.execution.v2.Command]s always hash to the same
* value, the environment variables MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The environment variables to set when running the program. The worker may
* provide its own default environment variables; these defaults can be
* overridden using this field. Additional variables can also be specified.
*
* In order to ensure that equivalent
* [Command][build.bazel.remote.execution.v2.Command]s always hash to the same
* value, the environment variables MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The environment variables to set when running the program. The worker may
* provide its own default environment variables; these defaults can be
* overridden using this field. Additional variables can also be specified.
*
* In order to ensure that equivalent
* [Command][build.bazel.remote.execution.v2.Command]s always hash to the same
* value, the environment variables MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The environment variables to set when running the program. The worker may
* provide its own default environment variables; these defaults can be
* overridden using this field. Additional variables can also be specified.
*
* In order to ensure that equivalent
* [Command][build.bazel.remote.execution.v2.Command]s always hash to the same
* value, the environment variables MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The environment variables to set when running the program. The worker may
* provide its own default environment variables; these defaults can be
* overridden using this field. Additional variables can also be specified.
*
* In order to ensure that equivalent
* [Command][build.bazel.remote.execution.v2.Command]s always hash to the same
* value, the environment variables MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* A list of the output files that the client expects to retrieve from the
* action. Only the listed files, as well as directories listed in
* `output_directories`, will be returned to the client as output.
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output file cannot be duplicated, be a parent of another output file, or
* have the same path as any of the listed output directories.
*
* Directories leading up to the output files are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* DEPRECATED since v2.1: Use `output_paths` instead.
*
*
* repeated string output_files = 3;
* @return A list containing the outputFiles.
*/
java.util.List
getOutputFilesList();
/**
*
* A list of the output files that the client expects to retrieve from the
* action. Only the listed files, as well as directories listed in
* `output_directories`, will be returned to the client as output.
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output file cannot be duplicated, be a parent of another output file, or
* have the same path as any of the listed output directories.
*
* Directories leading up to the output files are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* DEPRECATED since v2.1: Use `output_paths` instead.
*
*
* repeated string output_files = 3;
* @return The count of outputFiles.
*/
int getOutputFilesCount();
/**
*
* A list of the output files that the client expects to retrieve from the
* action. Only the listed files, as well as directories listed in
* `output_directories`, will be returned to the client as output.
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output file cannot be duplicated, be a parent of another output file, or
* have the same path as any of the listed output directories.
*
* Directories leading up to the output files are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* DEPRECATED since v2.1: Use `output_paths` instead.
*
*
* repeated string output_files = 3;
* @param index The index of the element to return.
* @return The outputFiles at the given index.
*/
java.lang.String getOutputFiles(int index);
/**
*
* A list of the output files that the client expects to retrieve from the
* action. Only the listed files, as well as directories listed in
* `output_directories`, will be returned to the client as output.
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output file cannot be duplicated, be a parent of another output file, or
* have the same path as any of the listed output directories.
*
* Directories leading up to the output files are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* DEPRECATED since v2.1: Use `output_paths` instead.
*
*
* repeated string output_files = 3;
* @param index The index of the value to return.
* @return The bytes of the outputFiles at the given index.
*/
com.google.protobuf.ByteString
getOutputFilesBytes(int index);
/**
*
* A list of the output directories that the client expects to retrieve from
* the action. Only the listed directories will be returned (an entire
* directory structure will be returned as a
* [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory]), as
* well as files listed in `output_files`. Other files or directories that
* may be created during command execution are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path. The special value of empty string is allowed,
* although not recommended, and can be used to capture the entire working
* directory tree, including inputs.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output directory cannot be duplicated or have the same path as any of
* the listed output files. An output directory is allowed to be a parent of
* another output directory.
*
* Directories leading up to the output directories (but not the output
* directories themselves) are created by the worker prior to execution, even
* if they are not explicitly part of the input root.
*
* DEPRECATED since 2.1: Use `output_paths` instead.
*
*
* repeated string output_directories = 4;
* @return A list containing the outputDirectories.
*/
java.util.List
getOutputDirectoriesList();
/**
*
* A list of the output directories that the client expects to retrieve from
* the action. Only the listed directories will be returned (an entire
* directory structure will be returned as a
* [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory]), as
* well as files listed in `output_files`. Other files or directories that
* may be created during command execution are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path. The special value of empty string is allowed,
* although not recommended, and can be used to capture the entire working
* directory tree, including inputs.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output directory cannot be duplicated or have the same path as any of
* the listed output files. An output directory is allowed to be a parent of
* another output directory.
*
* Directories leading up to the output directories (but not the output
* directories themselves) are created by the worker prior to execution, even
* if they are not explicitly part of the input root.
*
* DEPRECATED since 2.1: Use `output_paths` instead.
*
*
* repeated string output_directories = 4;
* @return The count of outputDirectories.
*/
int getOutputDirectoriesCount();
/**
*
* A list of the output directories that the client expects to retrieve from
* the action. Only the listed directories will be returned (an entire
* directory structure will be returned as a
* [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory]), as
* well as files listed in `output_files`. Other files or directories that
* may be created during command execution are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path. The special value of empty string is allowed,
* although not recommended, and can be used to capture the entire working
* directory tree, including inputs.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output directory cannot be duplicated or have the same path as any of
* the listed output files. An output directory is allowed to be a parent of
* another output directory.
*
* Directories leading up to the output directories (but not the output
* directories themselves) are created by the worker prior to execution, even
* if they are not explicitly part of the input root.
*
* DEPRECATED since 2.1: Use `output_paths` instead.
*
*
* repeated string output_directories = 4;
* @param index The index of the element to return.
* @return The outputDirectories at the given index.
*/
java.lang.String getOutputDirectories(int index);
/**
*
* A list of the output directories that the client expects to retrieve from
* the action. Only the listed directories will be returned (an entire
* directory structure will be returned as a
* [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory]), as
* well as files listed in `output_files`. Other files or directories that
* may be created during command execution are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path. The special value of empty string is allowed,
* although not recommended, and can be used to capture the entire working
* directory tree, including inputs.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
* bytes).
*
* An output directory cannot be duplicated or have the same path as any of
* the listed output files. An output directory is allowed to be a parent of
* another output directory.
*
* Directories leading up to the output directories (but not the output
* directories themselves) are created by the worker prior to execution, even
* if they are not explicitly part of the input root.
*
* DEPRECATED since 2.1: Use `output_paths` instead.
*
*
* repeated string output_directories = 4;
* @param index The index of the value to return.
* @return The bytes of the outputDirectories at the given index.
*/
com.google.protobuf.ByteString
getOutputDirectoriesBytes(int index);
/**
*
* A list of the output paths that the client expects to retrieve from the
* action. Only the listed paths will be returned to the client as output.
* The type of the output (file or directory) is not specified, and will be
* determined by the server after action execution. If the resulting path is
* a file, it will be returned in an
* [OutputFile][build.bazel.remote.execution.v2.OutputFile]) typed field.
* If the path is a directory, the entire directory structure will be returned
* as a [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory])
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be deduplicated and sorted lexicographically by code point (or,
* equivalently, by UTF-8 bytes).
*
* Directories leading up to the output paths are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* New in v2.1: this field supersedes the DEPRECATED `output_files` and
* `output_directories` fields. If `output_paths` is used, `output_files` and
* `output_directories` will be ignored!
*
*
* repeated string output_paths = 7;
* @return A list containing the outputPaths.
*/
java.util.List
getOutputPathsList();
/**
*
* A list of the output paths that the client expects to retrieve from the
* action. Only the listed paths will be returned to the client as output.
* The type of the output (file or directory) is not specified, and will be
* determined by the server after action execution. If the resulting path is
* a file, it will be returned in an
* [OutputFile][build.bazel.remote.execution.v2.OutputFile]) typed field.
* If the path is a directory, the entire directory structure will be returned
* as a [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory])
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be deduplicated and sorted lexicographically by code point (or,
* equivalently, by UTF-8 bytes).
*
* Directories leading up to the output paths are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* New in v2.1: this field supersedes the DEPRECATED `output_files` and
* `output_directories` fields. If `output_paths` is used, `output_files` and
* `output_directories` will be ignored!
*
*
* repeated string output_paths = 7;
* @return The count of outputPaths.
*/
int getOutputPathsCount();
/**
*
* A list of the output paths that the client expects to retrieve from the
* action. Only the listed paths will be returned to the client as output.
* The type of the output (file or directory) is not specified, and will be
* determined by the server after action execution. If the resulting path is
* a file, it will be returned in an
* [OutputFile][build.bazel.remote.execution.v2.OutputFile]) typed field.
* If the path is a directory, the entire directory structure will be returned
* as a [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory])
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be deduplicated and sorted lexicographically by code point (or,
* equivalently, by UTF-8 bytes).
*
* Directories leading up to the output paths are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* New in v2.1: this field supersedes the DEPRECATED `output_files` and
* `output_directories` fields. If `output_paths` is used, `output_files` and
* `output_directories` will be ignored!
*
*
* repeated string output_paths = 7;
* @param index The index of the element to return.
* @return The outputPaths at the given index.
*/
java.lang.String getOutputPaths(int index);
/**
*
* A list of the output paths that the client expects to retrieve from the
* action. Only the listed paths will be returned to the client as output.
* The type of the output (file or directory) is not specified, and will be
* determined by the server after action execution. If the resulting path is
* a file, it will be returned in an
* [OutputFile][build.bazel.remote.execution.v2.OutputFile]) typed field.
* If the path is a directory, the entire directory structure will be returned
* as a [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
* [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory])
* Other files or directories that may be created during command execution
* are discarded.
*
* The paths are relative to the working directory of the action execution.
* The paths are specified using a single forward slash (`/`) as a path
* separator, even if the execution platform natively uses a different
* separator. The path MUST NOT include a trailing slash, nor a leading slash,
* being a relative path.
*
* In order to ensure consistent hashing of the same Action, the output paths
* MUST be deduplicated and sorted lexicographically by code point (or,
* equivalently, by UTF-8 bytes).
*
* Directories leading up to the output paths are created by the worker prior
* to execution, even if they are not explicitly part of the input root.
*
* New in v2.1: this field supersedes the DEPRECATED `output_files` and
* `output_directories` fields. If `output_paths` is used, `output_files` and
* `output_directories` will be ignored!
*
*
* repeated string output_paths = 7;
* @param index The index of the value to return.
* @return The bytes of the outputPaths at the given index.
*/
com.google.protobuf.ByteString
getOutputPathsBytes(int index);
/**
*
* The platform requirements for the execution environment. The server MAY
* choose to execute the action on any worker satisfying the requirements, so
* the client SHOULD ensure that running the action on any such worker will
* have the same result. A detailed lexicon for this can be found in the
* accompanying platform.md.
* DEPRECATED as of v2.2: platform properties are now specified directly in
* the action. See documentation note in the
* [Action][build.bazel.remote.execution.v2.Action] for migration.
*
*
* .build.bazel.remote.execution.v2.Platform platform = 5;
* @return Whether the platform field is set.
*/
boolean hasPlatform();
/**
*
* The platform requirements for the execution environment. The server MAY
* choose to execute the action on any worker satisfying the requirements, so
* the client SHOULD ensure that running the action on any such worker will
* have the same result. A detailed lexicon for this can be found in the
* accompanying platform.md.
* DEPRECATED as of v2.2: platform properties are now specified directly in
* the action. See documentation note in the
* [Action][build.bazel.remote.execution.v2.Action] for migration.
*
* The platform requirements for the execution environment. The server MAY
* choose to execute the action on any worker satisfying the requirements, so
* the client SHOULD ensure that running the action on any such worker will
* have the same result. A detailed lexicon for this can be found in the
* accompanying platform.md.
* DEPRECATED as of v2.2: platform properties are now specified directly in
* the action. See documentation note in the
* [Action][build.bazel.remote.execution.v2.Action] for migration.
*
* The working directory, relative to the input root, for the command to run
* in. It must be a directory which exists in the input tree. If it is left
* empty, then the action is run in the input root.
*
* The working directory, relative to the input root, for the command to run
* in. It must be a directory which exists in the input tree. If it is left
* empty, then the action is run in the input root.
*
*
* string working_directory = 6;
* @return The bytes for workingDirectory.
*/
com.google.protobuf.ByteString
getWorkingDirectoryBytes();
/**
*
* A list of keys for node properties the client expects to retrieve for
* output files and directories. Keys are either names of string-based
* [NodeProperty][build.bazel.remote.execution.v2.NodeProperty] or
* names of fields in [NodeProperties][build.bazel.remote.execution.v2.NodeProperties].
* In order to ensure that equivalent `Action`s always hash to the same
* value, the node properties MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The interpretation of string-based properties is server-dependent. If a
* property is not recognized by the server, the server will return an
* `INVALID_ARGUMENT`.
*
*
* repeated string output_node_properties = 8;
* @return A list containing the outputNodeProperties.
*/
java.util.List
getOutputNodePropertiesList();
/**
*
* A list of keys for node properties the client expects to retrieve for
* output files and directories. Keys are either names of string-based
* [NodeProperty][build.bazel.remote.execution.v2.NodeProperty] or
* names of fields in [NodeProperties][build.bazel.remote.execution.v2.NodeProperties].
* In order to ensure that equivalent `Action`s always hash to the same
* value, the node properties MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The interpretation of string-based properties is server-dependent. If a
* property is not recognized by the server, the server will return an
* `INVALID_ARGUMENT`.
*
*
* repeated string output_node_properties = 8;
* @return The count of outputNodeProperties.
*/
int getOutputNodePropertiesCount();
/**
*
* A list of keys for node properties the client expects to retrieve for
* output files and directories. Keys are either names of string-based
* [NodeProperty][build.bazel.remote.execution.v2.NodeProperty] or
* names of fields in [NodeProperties][build.bazel.remote.execution.v2.NodeProperties].
* In order to ensure that equivalent `Action`s always hash to the same
* value, the node properties MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The interpretation of string-based properties is server-dependent. If a
* property is not recognized by the server, the server will return an
* `INVALID_ARGUMENT`.
*
*
* repeated string output_node_properties = 8;
* @param index The index of the element to return.
* @return The outputNodeProperties at the given index.
*/
java.lang.String getOutputNodeProperties(int index);
/**
*
* A list of keys for node properties the client expects to retrieve for
* output files and directories. Keys are either names of string-based
* [NodeProperty][build.bazel.remote.execution.v2.NodeProperty] or
* names of fields in [NodeProperties][build.bazel.remote.execution.v2.NodeProperties].
* In order to ensure that equivalent `Action`s always hash to the same
* value, the node properties MUST be lexicographically sorted by name.
* Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
*
* The interpretation of string-based properties is server-dependent. If a
* property is not recognized by the server, the server will return an
* `INVALID_ARGUMENT`.
*
*
* repeated string output_node_properties = 8;
* @param index The index of the value to return.
* @return The bytes of the outputNodeProperties at the given index.
*/
com.google.protobuf.ByteString
getOutputNodePropertiesBytes(int index);
}