
    ev                       S r SSKJr  SSKJr  SSKJr  SSKJr  Sr	 " S S\R                  5      r " S	 S
\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S \R                  5      r " S! S"\R                  5      r " S# S$\R                  5      r " S% S&\R                  5      r " S' S(\R                  5      r " S) S*\R                  5      r " S+ S,\R                  5      r " S- S.\R                  5      r " S/ S0\R                  5      r " S1 S2\R                  5      r  " S3 S4\R                  5      r! " S5 S6\R                  5      r" " S7 S8\R                  5      r# " S9 S:\R                  5      r$ " S; S<\R                  5      r% " S= S>\R                  5      r& " S? S@\R                  5      r' " SA SB\R                  5      r( " SC SD\R                  5      r) " SE SF\R                  5      r* " SG SH\R                  5      r+ " SI SJ\R                  5      r, " SK SL\R                  5      r- " SM SN\R                  5      r. " SO SP\R                  5      r/ " SQ SR\R                  5      r0 " SS ST\R                  5      r1 " SU SV\R                  5      r2 " SW SX\R                  5      r3 " SY SZ\R                  5      r4 " S[ S\\R                  5      r5 " S] S^\R                  5      r6 " S_ S`\R                  5      r7 " Sa Sb\R                  5      r8 " Sc Sd\R                  5      r9 " Se Sf\R                  5      r: " Sg Sh\R                  5      r; " Si Sj\R                  5      r< " Sk Sl\R                  5      r= " Sm Sn\R                  5      r> " So Sp\R                  5      r? " Sq Sr\R                  5      r@ " Ss St\R                  5      rA " Su Sv\R                  5      rB " Sw Sx\R                  5      rC " Sy Sz\R                  5      rD " S{ S|\R                  5      rE " S} S~\R                  5      rF " S S\R                  5      rG " S S\R                  5      rH " S S\R                  5      rI " S S\R                  5      rJ " S S\R                  5      rK " S S\R                  5      rL " S S\R                  5      rM " S S\R                  5      rN " S S\R                  5      rO " S S\R                  5      rP " S S\R                  5      rQ " S S\R                  5      rR " S S\R                  5      rS " S S\R                  5      rT " S S\R                  5      rU " S S\R                  5      rV " S S\R                  5      rW " S S\R                  5      rX " S S\R                  5      rY " S S\R                  5      rZ " S S\R                  5      r[ " S S\R                  5      r\ " S S\R                  5      r] " S S\R                  5      r^ " S S\R                  5      r_ " S S\R                  5      r` " S S\R                  5      ra " S S\R                  5      rb " S S\R                  5      rc " S S\R                  5      rd " S S\R                  5      re " S S\R                  5      rf " S S\R                  5      rg " S S\R                  5      rh " S S\R                  5      ri " S S\R                  5      rj " S S\R                  5      rk " S S\R                  5      rl\R                  " \lSS5        \R                  " \lR                  SS5        \R                  " \lR                  SS5        g)zGenerated message classes for remotebuildexecution version v1alpha.

Supplies a Remote Execution API service for tools such as bazel.
    )absolute_import)messages)encoding)extra_typesremotebuildexecutionc                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " SS5      r
\R                  " SS5      r\R                  " S	5      r\R                  " S
5      rSrg)!BuildBazelRemoteExecutionV2Action   at  An `Action` captures all the information about an execution which is
required to reproduce it. `Action`s are the core component of the
[Execution] service. A single `Action` represents a repeatable action that
can be performed by the execution service. `Action`s can be succinctly
identified by the digest of their wire format encoding and, once an `Action`
has been executed, will be cached in the action cache. Future requests can
then use the cached result rather than needing to run afresh. When a server
completes execution of an Action, it MAY choose to cache the result in the
ActionCache unless `do_not_cache` is `true`. Clients SHOULD expect the
server to do so. By default, future calls to Execute the same `Action` will
also serve their results from the cache. Clients must take care to
understand the caching behaviour. Ideally, all `Action`s will be
reproducible so that serving a result from cache is always desirable and
correct.

Fields:
  commandDigest: The digest of the Command to run, which MUST be present in
    the ContentAddressableStorage.
  doNotCache: If true, then the `Action`'s result cannot be cached, and in-
    flight requests for the same `Action` may not be merged.
  inputRootDigest: The digest of the root Directory for the input files. The
    files in the directory tree are available in the correct location on the
    build machine before the command is executed. The root directory, as
    well as every subdirectory and content blob referred to, MUST be in the
    ContentAddressableStorage.
  platform: The optional 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. New in
    version 2.2: clients SHOULD set these platform properties as well as
    those in the Command. Servers SHOULD prefer those set here.
  salt: An optional additional salt value used to place this `Action` into a
    separate cache namespace from other instances having the same field
    contents. This salt typically comes from operational configuration
    specific to sources such as repo and service configuration, and allows
    disowning an entire set of ActionResults that might have been poisoned
    by buggy software or tool failures.
  timeout: A timeout after which the execution should be killed. If the
    timeout is absent, then the client is specifying that the execution
    should continue as long as the server will let it. The server SHOULD
    impose a timeout if the client does not specify one, however, if the
    client does specify a timeout that is longer than the server's maximum
    timeout, the server MUST reject the request. The timeout is only
    intended to cover the "execution" of the specified action and not time
    in queue nor any overheads before or after execution such as marshalling
    inputs/outputs. The server SHOULD avoid including time spent the client
    doesn't have control over, and MAY extend or reduce the timeout to
    account for delays or speedups that occur during execution itself (e.g.,
    lazily loading data from the Content Addressable Storage, live migration
    of virtual machines, emulation overhead). The timeout is a part of the
    Action message, and therefore two `Actions` with different timeouts are
    different, even if they are otherwise identical. This is because, if
    they were not, running an `Action` with a lower timeout than is required
    might result in a cache hit from an execution run with a longer timeout,
    hiding the fact that the timeout is too short. By encoding it directly
    in the `Action`, a lower timeout will result in a cache miss and the
    execution timeout will fail immediately, rather than whenever the cache
    entry gets evicted.
!BuildBazelRemoteExecutionV2Digest         #BuildBazelRemoteExecutionV2Platform          N)__name__
__module____qualname____firstlineno____doc__	_messagesMessageFieldcommandDigestBooleanField
doNotCacheinputRootDigestplatform
BytesFieldsaltStringFieldtimeout__static_attributes__r       olib/googlecloudsdk/generated_clients/apis/remotebuildexecution/v1alpha/remotebuildexecution_v1alpha_messages.pyr	   r	      st    ;z (()LaP-%%a(***+NPQR/##$I1M(			a	 $!!!$'r%   r	   c                      \ rS rSrSr\R                  " SS5      r\R                  " S\R                  R                  S9r\R                  " SSS	S
9r\R                  " SSS	S
9r\R                  " SSS	S
9r\R                  " SSS	S
9r\R                  " SSS	S
9r\R                  " SS5      r\R$                  " S5      r\R                  " SS5      r\R$                  " S5      rSrg)'BuildBazelRemoteExecutionV2ActionResultW   a  An ActionResult represents the result of an Action being run. It is
advised that at least one field (for example
`ActionResult.execution_metadata.Worker`) have a non-default value, to
ensure that the serialized value is non-empty, which can then be used as a
basic data sanity check.

Fields:
  executionMetadata: The details of the execution that originally produced
    this result.
  exitCode: The exit code of the command.
  outputDirectories: The output directories of the action. For each output
    directory requested in the `output_directories` or `output_paths` field
    of the Action, if the corresponding directory existed after the action
    completed, a single entry will be present in the output list, which will
    contain the digest of a Tree message containing the directory tree, and
    the path equal exactly to the corresponding Action output_directories
    member. As an example, suppose the Action had an output directory
    `a/b/dir` and the execution produced the following contents in
    `a/b/dir`: a file named `bar` and a directory named `foo` with an
    executable file named `baz`. Then, output_directory will contain (hashes
    shortened for readability): ```json // OutputDirectory proto: { path:
    "a/b/dir" tree_digest: { hash: "4a73bc9d03...", size: 55 } } // Tree
    proto with hash "4a73bc9d03..." and size 55: { root: { files: [ { name:
    "bar", digest: { hash: "4a73bc9d03...", size: 65534 } } ], directories:
    [ { name: "foo", digest: { hash: "4cf2eda940...", size: 43 } } ] }
    children : { // (Directory proto with hash "4cf2eda940..." and size 43)
    files: [ { name: "baz", digest: { hash: "b2c941073e...", size: 1294, },
    is_executable: true } ] } } ``` If an output of the same name as listed
    in `output_files` of the Command was found in `output_directories`, but
    was not a directory, the server will return a FAILED_PRECONDITION.
  outputDirectorySymlinks: The output directories of the action that are
    symbolic links to other directories. Those may be links to other output
    directories, or input directories, or even absolute paths outside of the
    working directory, if the server supports
    SymlinkAbsolutePathStrategy.ALLOWED. For each output directory requested
    in the `output_directories` field of the Action, if the directory
    existed after the action completed, a single entry will be present
    either in this field, or in the `output_directories` field, if the
    directory was not a symbolic link. If an output of the same name was
    found, but was a symbolic link to a file instead of a directory, the
    server will return a FAILED_PRECONDITION. If the action does not produce
    the requested output, then that output will be omitted from the list.
    The server is free to arrange the output list as desired; clients MUST
    NOT assume that the output list is sorted. DEPRECATED as of v2.1.
    Servers that wish to be compatible with v2.0 API should still populate
    this field in addition to `output_symlinks`.
  outputFileSymlinks: The output files of the action that are symbolic links
    to other files. Those may be links to other output files, or input
    files, or even absolute paths outside of the working directory, if the
    server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output
    file requested in the `output_files` or `output_paths` field of the
    Action, if the corresponding file existed after the action completed, a
    single entry will be present either in this field, or in the
    `output_files` field, if the file was not a symbolic link. If an output
    symbolic link of the same name as listed in `output_files` of the
    Command was found, but its target type was not a regular file, the
    server will return a FAILED_PRECONDITION. If the action does not produce
    the requested output, then that output will be omitted from the list.
    The server is free to arrange the output list as desired; clients MUST
    NOT assume that the output list is sorted. DEPRECATED as of v2.1.
    Servers that wish to be compatible with v2.0 API should still populate
    this field in addition to `output_symlinks`.
  outputFiles: The output files of the action. For each output file
    requested in the `output_files` or `output_paths` field of the Action,
    if the corresponding file existed after the action completed, a single
    entry will be present either in this field, or the
    `output_file_symlinks` field if the file was a symbolic link to another
    file (`output_symlinks` field after v2.1). If an output listed in
    `output_files` was found, but was a directory rather than a regular
    file, the server will return a FAILED_PRECONDITION. If the action does
    not produce the requested output, then that output will be omitted from
    the list. The server is free to arrange the output list as desired;
    clients MUST NOT assume that the output list is sorted.
  outputSymlinks: New in v2.1: this field will only be populated if the
    command `output_paths` field was used, and not the pre v2.1
    `output_files` or `output_directories` fields. The output paths of the
    action that are symbolic links to other paths. Those may be links to
    other outputs, or inputs, or even absolute paths outside of the working
    directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. A
    single entry for each output requested in `output_paths` field of the
    Action, if the corresponding path existed after the action completed and
    was a symbolic link. If the action does not produce a requested output,
    then that output will be omitted from the list. The server is free to
    arrange the output list as desired; clients MUST NOT assume that the
    output list is sorted.
  stderrDigest: The digest for a blob containing the standard error of the
    action, which can be retrieved from the ContentAddressableStorage.
  stderrRaw: The standard error buffer of the action. The server SHOULD NOT
    inline stderr unless requested by the client in the
    GetActionResultRequest message. The server MAY omit inlining, even if
    requested, and MUST do so if inlining would cause the response to exceed
    message size limits. Clients SHOULD NOT populate this field when
    uploading to the cache.
  stdoutDigest: The digest for a blob containing the standard output of the
    action, which can be retrieved from the ContentAddressableStorage.
  stdoutRaw: The standard output buffer of the action. The server SHOULD NOT
    inline stdout unless requested by the client in the
    GetActionResultRequest message. The server MAY omit inlining, even if
    requested, and MUST do so if inlining would cause the response to exceed
    message size limits. Clients SHOULD NOT populate this field when
    uploading to the cache.
1BuildBazelRemoteExecutionV2ExecutedActionMetadatar   r   variant*BuildBazelRemoteExecutionV2OutputDirectoryr   Trepeated(BuildBazelRemoteExecutionV2OutputSymlinkr   r   %BuildBazelRemoteExecutionV2OutputFiler      r      	   
      r   N)r   r   r   r   r   r   r   executionMetadataIntegerFieldVariantINT32exitCodeoutputDirectoriesoutputDirectorySymlinksoutputFileSymlinksoutputFilesoutputSymlinksstderrDigestr    	stderrRawstdoutDigest	stdoutRawr$   r   r%   r&   r(   r(   W   s    eN  ,,-`bcd##Ay/@/@/F/FG(,,-Y[\gkl%223]_`kop --.XZ[fjk&&'NPQ\`a+))*TVWbfg.''(KQO,""1%)''(KRP,""2&)r%   r(   c                      \ rS rSrSr " S S\R                  5      r\R                  " SSS9r	\R                  " SS	SS9r\R                  " S
SS9r\R                  " SS5      r\R                  " SSS9r\R                  " SSS9r\R                  " SSS9r\R                  " SS5      r\R                  " S5      rSrg)"BuildBazelRemoteExecutionV2Command   a8  A `Command` is the actual command executed by a worker running an Action
and specifications of its environment. Except as otherwise required, the
environment (such as which system libraries or binaries are available, and
what filesystems are mounted where) is defined by and specific to the
implementation of the remote execution API.

Enums:
  OutputDirectoryFormatValueValuesEnum: The format that the worker should
    use to store the contents of output directories. In case this field is
    set to a value that is not supported by the worker, the worker SHOULD
    interpret this field as TREE_ONLY. The worker MAY store output
    directories in formats that are a superset of what was requested (e.g.,
    interpreting DIRECTORY_ONLY as TREE_AND_DIRECTORY).

Fields:
  arguments: The arguments to the command. The first argument specifies the
    command to run, which may be either an absolute path, a path relative to
    the working directory, or an unqualified path (without path separators)
    which will be resolved using the operating system's equivalent of the
    PATH environment variable. Path separators native to the operating
    system running on the worker SHOULD be used. If the
    `environment_variables` list contains an entry for the PATH environment
    variable, it SHOULD be respected. If not, the resolution process is
    implementation-defined. Changed in v2.3. v2.2 and older require that no
    PATH lookups are performed, and that relative paths are resolved
    relative to the input root. This behavior can, however, not be relied
    upon, as most implementations already followed the rules described
    above.
  environmentVariables: 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 Commands
    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.
  outputDirectories: 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
    message digest, see 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.
  outputDirectoryFormat: The format that the worker should use to store the
    contents of output directories. In case this field is set to a value
    that is not supported by the worker, the worker SHOULD interpret this
    field as TREE_ONLY. The worker MAY store output directories in formats
    that are a superset of what was requested (e.g., interpreting
    DIRECTORY_ONLY as TREE_AND_DIRECTORY).
  outputFiles: 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.
  outputNodeProperties: 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 or names of fields in 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`.
  outputPaths: 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
    typed field. If the path is a directory, the entire directory structure
    will be returned as a Tree message digest, see 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!
  platform: 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 for migration.
  workingDirectory: 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.
c                   $    \ rS rSrSrSrSrSrSrg)GBuildBazelRemoteExecutionV2Command.OutputDirectoryFormatValueValuesEnumiD  a  The format that the worker should use to store the contents of output
directories. In case this field is set to a value that is not supported by
the worker, the worker SHOULD interpret this field as TREE_ONLY. The
worker MAY store output directories in formats that are a superset of what
was requested (e.g., interpreting DIRECTORY_ONLY as TREE_AND_DIRECTORY).

Values:
  TREE_ONLY: The client is only interested in receiving output directories
    in the form of a single Tree object, using the `tree_digest` field.
  DIRECTORY_ONLY: The client is only interested in receiving output
    directories in the form of a hierarchy of separately stored Directory
    objects, using the `root_directory_digest` field.
  TREE_AND_DIRECTORY: The client is interested in receiving output
    directories both in the form of a single Tree object and a hierarchy
    of separately stored Directory objects, using both the `tree_digest`
    and `root_directory_digest` fields.
r   r   r   r   N)	r   r   r   r   r   	TREE_ONLYDIRECTORY_ONLYTREE_AND_DIRECTORYr$   r   r%   r&   $OutputDirectoryFormatValueValuesEnumrI   D  s    " INr%   rM   r   Tr.   5BuildBazelRemoteExecutionV2CommandEnvironmentVariabler   r   r   r   r   r2   r   r3   r4   r   N)r   r   r   r   r   r   EnumrM   r"   	argumentsr   environmentVariablesr<   	EnumFieldoutputDirectoryFormatr?   outputNodePropertiesoutputPathsr   workingDirectoryr$   r   r%   r&   rF   rF      s    unY^^ , ##A5)"//0gijuyz++A=#--.TVWX%%a$7+"..q4@%%a$7+##$I1M(**1-r%   rF   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)rN   ie  zAn `EnvironmentVariable` is one variable to set in the running program's
environment.

Fields:
  name: The variable name.
  value: The variable value.
r   r   r   N
r   r   r   r   r   r   r"   namevaluer$   r   r%   r&   rN   rN   e  s)     
		q	!$



"%r%   rN   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      r	Sr
g)r   ir  a  A content digest. A digest for a given blob consists of the size of the
blob and its hash. The hash algorithm to use is defined by the server. The
size is considered to be an integral part of the digest and cannot be
separated. That is, even if the `hash` field is correctly specified but
`size_bytes` is not, the server MUST reject the request. The reason for
including the size in the digest is as follows: in a great many cases, the
server needs to know the size of the blob it is about to work with prior to
starting an operation with it, such as flattening Merkle tree structures or
streaming it to a worker. Technically, the server could implement a separate
metadata store, but this results in a significantly more complicated
implementation as opposed to having the client specify the size up-front (or
storing the size along with the digest in every message where digests are
embedded). This does mean that the API leaks some implementation details of
(what we consider to be) a reasonable server implementation, but we consider
this to be a worthwhile tradeoff. When a `Digest` is used to refer to a
proto message, it always refers to the message in binary encoded form. To
ensure consistent hashing, clients and servers MUST ensure that they
serialize messages according to the following rules, even if there are
alternate valid encodings for the same message: * Fields are serialized in
tag order. * There are no unknown fields. * There are no duplicate fields. *
Fields are serialized according to the default semantics for their type.
Most protocol buffer implementations will always follow these rules when
serializing, but care should be taken to avoid shortcuts. For instance,
concatenating two messages to merge them may produce duplicate fields.

Fields:
  hash: The hash, represented as a lowercase hexadecimal string, padded with
    leading zeroes up to the hash function length.
  sizeBytes: The size of the blob, in bytes.
r   r   r   Nr   r   r   r   r   r   r"   hashr8   	sizeBytesr$   r   r%   r&   r   r   r  s)    > 
		q	!$$$Q')r%   r   c                       \ rS rSrSr\R                  " SSSS9r\R                  " SSSS9r\R                  " S	S
5      r	\R                  " SSSS9r
Srg)$BuildBazelRemoteExecutionV2Directoryi  a  A `Directory` represents a directory node in a file tree, containing
zero or more children FileNodes, DirectoryNodes and SymlinkNodes. Each
`Node` contains its name in the directory, either the digest of its content
(either a file blob or a `Directory` proto) or a symlink target, as well as
possibly some metadata about the file or directory. In order to ensure that
two equivalent directory trees hash to the same value, the following
restrictions MUST be obeyed when constructing a a `Directory`: * Every child
in the directory must have a path of exactly one segment. Multiple levels of
directory hierarchy may not be collapsed. * Each child in the directory must
have a unique path segment (file name). Note that while the API itself is
case-sensitive, the environment where the Action is executed may or may not
be case-sensitive. That is, it is legal to call the API with a Directory
that has both "Foo" and "foo" as children, but the Action may be rejected by
the remote system upon execution. * The files, directories and symlinks in
the directory must each be sorted in lexicographical order by path. The path
strings must be sorted by code point, equivalently, by UTF-8 bytes. * The
NodeProperties of files, directories, and symlinks must be sorted in
lexicographical order by property name. A `Directory` that obeys the
restrictions is said to be in canonical form. As an example, the following
could be used for a file named `bar` and a directory named `foo` with an
executable file named `baz` (hashes shortened for readability): ```json //
(Directory proto) { files: [ { name: "bar", digest: { hash: "4a73bc9d03...",
size: 65534 }, node_properties: [ { "name": "MTime", "value":
"2017-01-15T01:30:15.01Z" } ] } ], directories: [ { name: "foo", digest: {
hash: "4cf2eda940...", size: 43 } } ] } // (Directory proto with hash
"4cf2eda940..." and size 43) { files: [ { name: "baz", digest: { hash:
"b2c941073e...", size: 1294, }, is_executable: true } ] } ```

Fields:
  directories: The subdirectories in the directory.
  files: The files in the directory.
  nodeProperties: A BuildBazelRemoteExecutionV2NodeProperties attribute.
  symlinks: The symlinks in the directory.
(BuildBazelRemoteExecutionV2DirectoryNoder   Tr.   #BuildBazelRemoteExecutionV2FileNoder   )BuildBazelRemoteExecutionV2NodePropertiesr   &BuildBazelRemoteExecutionV2SymlinkNoder   r   N)r   r   r   r   r   r   r   directoriesfilesnodePropertiessymlinksr$   r   r%   r&   r`   r`     sa    !F &&'QST_cd+

 
 !FTX
Y%))*UWXY.##$LaZ^_(r%   r`   c                   b    \ rS rSrSr\R                  " SS5      r\R                  " S5      r	Sr
g)ra   i  a%  A `DirectoryNode` represents a child of a Directory which is itself a
`Directory` and its associated metadata.

Fields:
  digest: The digest of the Directory object represented. See Digest for
    information about how to take the digest of a proto message.
  name: The name of the directory.
r   r   r   r   N)r   r   r   r   r   r   r   digestr"   rY   r$   r   r%   r&   ra   ra     s,     !!"EqI&			q	!$r%   ra   c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SS5      r
\R                  " SS	5      r\R                  " S
5      r\R                  " S5      rSrg)3BuildBazelRemoteExecutionV2ExecuteOperationMetadatai  a  Metadata about an ongoing execution, which will be contained in the
metadata field of the Operation.

Enums:
  StageValueValuesEnum: The current stage of execution.

Fields:
  actionDigest: The digest of the Action being executed.
  partialExecutionMetadata: The client can read this field to view details
    about the ongoing execution.
  stage: The current stage of execution.
  stderrStreamName: If set, the client can use this resource name with
    ByteStream.Read to stream the standard error from the endpoint hosting
    streamed responses.
  stdoutStreamName: If set, the client can use this resource name with
    ByteStream.Read to stream the standard output from the endpoint hosting
    streamed responses.
c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
HBuildBazelRemoteExecutionV2ExecuteOperationMetadata.StageValueValuesEnumi  a  The current stage of execution.

Values:
  UNKNOWN: Invalid value.
  CACHE_CHECK: Checking the result against the cache.
  QUEUED: Currently idle, awaiting a free machine to execute.
  EXECUTING: Currently being executed by a worker.
  COMPLETED: Finished execution.
r   r   r   r   r   r   N)r   r   r   r   r   UNKNOWNCACHE_CHECKQUEUED	EXECUTING	COMPLETEDr$   r   r%   r&   StageValueValuesEnumrn     s"     GKFIIr%   rt   r   r   r*   r   r   r   r   r   N)r   r   r   r   r   r   rO   rt   r   actionDigestpartialExecutionMetadatarR   stager"   stderrStreamNamestdoutStreamNamer$   r   r%   r&   rl   rl     sv    &Y^^   ''(KQO,&334gijk


4a
8%**1-**1-r%   rl   c                   &   \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S5      r\R                  " S5      r\R                  " SS	5      r\R                  " SS
5      r\R                  " SS5      rSrg)*BuildBazelRemoteExecutionV2ExecuteResponsei  a  The response message for Execution.Execute, which will be contained in
the response field of the Operation.

Messages:
  ServerLogsValue: An optional list of additional log outputs the server
    wishes to provide. A server can use this to return execution-specific
    logs however it wishes. This is intended primarily to make it easier for
    users to debug issues that may be outside of the actual job execution,
    such as by identifying the worker executing the action or by providing
    logs from the worker's setup phase. The keys SHOULD be human readable so
    that a client can display them to a user.

Fields:
  cachedResult: True if the result was served from cache, false if it was
    executed.
  message: Freeform informational message with details on the execution of
    the action that may be displayed to the user upon failure or when
    requested explicitly.
  result: The result of the action.
  serverLogs: An optional list of additional log outputs the server wishes
    to provide. A server can use this to return execution-specific logs
    however it wishes. This is intended primarily to make it easier for
    users to debug issues that may be outside of the actual job execution,
    such as by identifying the worker executing the action or by providing
    logs from the worker's setup phase. The keys SHOULD be human readable so
    that a client can display them to a user.
  status: If the status has a code other than `OK`, it indicates that the
    action did not finish execution. For example, if the operation times out
    during execution, the status will have a `DEADLINE_EXCEEDED` code.
    Servers MUST use this field for errors in execution, rather than the
    error field on the `Operation` object. If the status code is other than
    `OK`, then the result MUST NOT be cached. For an error status, the
    `result` field is optional; the server may populate the output-,
    stdout-, and stderr-related fields if it has any information available,
    such as the stdout and stderr of a timed-out action.
additionalPropertiesc                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
:BuildBazelRemoteExecutionV2ExecuteResponse.ServerLogsValuei  ak  An optional list of additional log outputs the server wishes to
provide. A server can use this to return execution-specific logs however
it wishes. This is intended primarily to make it easier for users to debug
issues that may be outside of the actual job execution, such as by
identifying the worker executing the action or by providing logs from the
worker's setup phase. The keys SHOULD be human readable so that a client
can display them to a user.

Messages:
  AdditionalProperty: An additional property for a ServerLogsValue object.

Fields:
  additionalProperties: Additional properties of type ServerLogsValue
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)MBuildBazelRemoteExecutionV2ExecuteResponse.ServerLogsValue.AdditionalPropertyi0  zAn additional property for a ServerLogsValue object.

Fields:
  key: Name of the additional property.
  value: A BuildBazelRemoteExecutionV2LogFile attribute.
r   "BuildBazelRemoteExecutionV2LogFiler   r   Nr   r   r   r   r   r   r"   keyr   rZ   r$   r   r%   r&   AdditionalPropertyr   0  s,    
 !!!$c$$%I1Mer%   r   r   Tr.   r   Nr   r   r   r   r   r   Messager   r   r|   r$   r   r%   r&   ServerLogsValuer~     s4    	NY.. 	N %112FTXYr%   r   r   r   r(   r   r   GoogleRpcStatusr   r   N)r   r   r   r   r   r   MapUnrecognizedFieldsr   r   r   r   cachedResultr"   messager   result
serverLogsstatusr$   r   r%   r&   r{   r{     s    #J !!"89Z	)) Z :Z: ''*,!!!$'!!"KQO&%%&7;*!!"3Q7&r%   r{   c                      \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " SSSS9r\R                  " S	5      r\R                  " S
5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)r*   iD  al  ExecutedActionMetadata contains details about a completed execution.

Messages:
  AuxiliaryMetadataValueListEntry: A AuxiliaryMetadataValueListEntry object.

Fields:
  auxiliaryMetadata: Details that are specific to the kind of worker used.
    For example, on POSIX-like systems this could contain a message with
    getrusage(2) statistics.
  executionCompletedTimestamp: When the worker completed executing the
    action command.
  executionStartTimestamp: When the worker started executing the action
    command.
  inputFetchCompletedTimestamp: When the worker finished fetching action
    inputs.
  inputFetchStartTimestamp: When the worker started fetching action inputs.
  outputUploadCompletedTimestamp: When the worker finished uploading action
    outputs.
  outputUploadStartTimestamp: When the worker started uploading action
    outputs.
  queuedTimestamp: When was the action added to the queue.
  virtualExecutionDuration: New in v2.3: the amount of time the worker spent
    executing the action command, potentially computed using a worker-
    specific virtual clock. The virtual execution duration is only intended
    to cover the "execution" of the specified action and not time in queue
    nor any overheads before or after execution such as marshalling
    inputs/outputs. The server SHOULD avoid including time spent the client
    doesn't have control over, and MAY extend or reduce the execution
    duration to account for delays or speedups that occur during execution
    itself (e.g., lazily loading data from the Content Addressable Storage,
    live migration of virtual machines, emulation overhead). The method of
    timekeeping used to compute the virtual execution duration MUST be
    consistent with what is used to enforce the Action's `timeout`. There is
    no relationship between the virtual execution duration and the values of
    `execution_start_timestamp` and `execution_completed_timestamp`.
  worker: The name of the worker which ran the execution.
  workerCompletedTimestamp: When the worker completed the action, including
    all stages.
  workerStartTimestamp: When the worker received the action.
r|   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
QBuildBazelRemoteExecutionV2ExecutedActionMetadata.AuxiliaryMetadataValueListEntryin  zA AuxiliaryMetadataValueListEntry object.

Messages:
  AdditionalProperty: An additional property for a
    AuxiliaryMetadataValueListEntry object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)dBuildBazelRemoteExecutionV2ExecutedActionMetadata.AuxiliaryMetadataValueListEntry.AdditionalPropertyi{  zAn additional property for a AuxiliaryMetadataValueListEntry object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   extra_types.JsonValuer   r   Nr   r   r%   r&   r   r   {  ,    
 !!!$c$$%<a@er%   r   r   Tr.   r   Nr   r   r%   r&   AuxiliaryMetadataValueListEntryr   n  4    		AY.. 	A %112FTXYr%   r   r   Tr.   r   r   r   r   r   r2   r3   r4   r5   r6      r   N)r   r   r   r   r   r   r   r   r   r   r   auxiliaryMetadatar"   executionCompletedTimestampexecutionStartTimestampinputFetchCompletedTimestampinputFetchStartTimestampoutputUploadCompletedTimestampoutputUploadStartTimestampqueuedTimestampvirtualExecutionDurationworkerworkerCompletedTimestampworkerStartTimestampr$   r   r%   r&   r*   r*   D  s   'R !!"89Z	(9(9 Z :Z2  ,,-NPQ\`a ) 5 5a 8%11!4!*!6!6q!9&2215#,#8#8#; (44Q7))!,/&2215  $&&2226"..r2r%   r*   c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " S5      r\R                  " SS5      rS	rg
)rb   i  a  A `FileNode` represents a single file and associated metadata.

Fields:
  digest: The digest of the file's content.
  isExecutable: True if file is executable, false otherwise.
  name: The name of the file.
  nodeProperties: A BuildBazelRemoteExecutionV2NodeProperties attribute.
r   r   r   r   rc   r   r   N)r   r   r   r   r   r   r   rj   r   isExecutabler"   rY   rg   r$   r   r%   r&   rb   rb     sP     !!"EqI&''*,			q	!$))*UWXY.r%   rb   c                   b    \ rS rSrSr\R                  " SS5      r\R                  " S5      r	Sr
g)r   i  a  A `LogFile` is a log stored in the CAS.

Fields:
  digest: The digest of the log contents.
  humanReadable: This is a hint as to the purpose of the log, and is set to
    true if the log is human-readable text that can be usefully displayed to
    a user, and false otherwise. For instance, if a command-line client
    wishes to print the server logs to the terminal for a failed action,
    this allows it to avoid displaying a binary file.
r   r   r   r   N)r   r   r   r   r   r   r   rj   r   humanReadabler$   r   r%   r&   r   r     s,    	 !!"EqI&((+-r%   r   c                       \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	\R                  " S\R                  R                  S	9rS
rg)rc   i  a%  Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The
server is responsible for specifying the properties that it accepts.

Fields:
  mtime: The file's last modification timestamp.
  properties: A list of string-based NodeProperties.
  unixMode: The UNIX file mode, e.g., 0755.
r   'BuildBazelRemoteExecutionV2NodePropertyr   Tr.   r   r+   r   N)r   r   r   r   r   r   r"   mtimer   
propertiesr8   r9   UINT32unixModer$   r   r%   r&   rc   rc     sN     


"%%%&OQR]ab*##Ay/@/@/G/GH(r%   rc   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r   i  a  A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The
server is responsible for specifying the property `name`s that it accepts.
If permitted by the server, the same `name` may occur multiple times.

Fields:
  name: The property name.
  value: The property value.
r   r   r   NrX   r   r%   r&   r   r     s)     
		q	!$



"%r%   r   c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r	\R                  " SS5      r\R                  " SS5      rSrg	)
r-   i  a	  An `OutputDirectory` is the output in an `ActionResult` corresponding to
a directory's full contents rather than a single file.

Fields:
  isTopologicallySorted: If set, consumers MAY make the following
    assumptions about the directories contained in the the Tree, so that it
    may be instantiated on a local file system by scanning through it
    sequentially: - All directories with the same binary representation are
    stored exactly once. - All directories, apart from the root directory,
    are referenced by at least one parent directory. - Directories are
    stored in topological order, with parents being stored before the child.
    The root directory is thus the first to be stored. Additionally, the
    Tree MUST be encoded as a stream of records, where each record has the
    following format: - A tag byte, having one of the following two values:
    - (1 << 3) | 2 == 0x0a: First record (the root directory). - (2 << 3) |
    2 == 0x12: Any subsequent records (child directories). - The size of the
    directory, encoded as a base 128 varint. - The contents of the
    directory, encoded as a binary serialized Protobuf message. This
    encoding is a subset of the Protobuf wire format of the Tree message. As
    it is only permitted to store data associated with field numbers 1 and
    2, the tag MUST be encoded as a single byte. More details on the
    Protobuf wire format can be found here:
    https://developers.google.com/protocol-buffers/docs/encoding It is
    recommended that implementations using this feature construct Tree
    objects manually using the specification given above, as opposed to
    using a Protobuf library to marshal a full Tree message. As individual
    Directory messages already need to be marshaled to compute their
    digests, constructing the Tree object manually avoids redundant
    marshaling.
  path: The full path of the directory relative to the working directory.
    The path separator is a forward slash `/`. Since this is a relative
    path, it MUST NOT begin with a leading forward slash. The empty string
    value is allowed, and it denotes the entire working directory.
  rootDirectoryDigest: The digest of the encoded Directory proto containing
    the contents the directory's root. If both `tree_digest` and
    `root_directory_digest` are set, this field MUST match the digest of the
    root directory contained in the Tree message.
  treeDigest: The digest of the encoded Tree proto containing the
    directory's contents.
r   r   r   r   r   r   N)r   r   r   r   r   r   r   isTopologicallySortedr"   pathr   rootDirectoryDigest
treeDigestr$   r   r%   r&   r-   r-     sS    'R $003			q	!$!../RTUV%%&I1M*r%   r-   c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r\R                  " SS5      r\R                  " S	5      rS
rg)r1   i  a  An `OutputFile` is similar to a FileNode, but it is used as an output in
an `ActionResult`. It allows a full file path rather than only a name.

Fields:
  contents: The contents of the file if inlining was requested. The server
    SHOULD NOT inline file contents unless requested by the client in the
    GetActionResultRequest message. The server MAY omit inlining, even if
    requested, and MUST do so if inlining would cause the response to exceed
    message size limits. Clients SHOULD NOT populate this field when
    uploading to the cache.
  digest: The digest of the file's content.
  isExecutable: True if file is executable, false otherwise.
  nodeProperties: A BuildBazelRemoteExecutionV2NodeProperties attribute.
  path: The full path of the file relative to the working directory,
    including the filename. The path separator is a forward slash `/`. Since
    this is a relative path, it MUST NOT begin with a leading forward slash.
r   r   r   r   rc   r   r   r   N)r   r   r   r   r   r   r    contentsr   rj   r   r   rg   r"   r   r$   r   r%   r&   r1   r1     s`    $ !!!$(!!"EqI&''*,))*UWXY.			q	!$r%   r1   c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " S5      r
Srg)	r0   i  a'  An `OutputSymlink` is similar to a Symlink, but it is used as an output
in an `ActionResult`. `OutputSymlink` is binary-compatible with
`SymlinkNode`.

Fields:
  nodeProperties: A BuildBazelRemoteExecutionV2NodeProperties attribute.
  path: The full path of the symlink relative to the working directory,
    including the filename. The path separator is a forward slash `/`. Since
    this is a relative path, it MUST NOT begin with a leading forward slash.
  target: The target path of the symlink. The path separator is a forward
    slash `/`. The target path can be relative to the parent directory of
    the symlink or it can be an absolute path starting with `/`. Support for
    absolute paths can be checked using the Capabilities API. `..`
    components are allowed anywhere in the target path.
rc   r   r   r   r   N)r   r   r   r   r   r   r   rg   r"   r   targetr$   r   r%   r&   r0   r0     s=      ))*UWXY.			q	!$  #&r%   r0   c                   <    \ rS rSrSr\R                  " SSSS9rSrg)	r   i3  a;  A `Platform` is a set of requirements, such as hardware, operating
system, or compiler toolchain, for an Action's execution environment. A
`Platform` is represented as a series of key-value pairs representing the
properties that are required of the platform.

Fields:
  properties: The properties that make up this platform. In order to ensure
    that equivalent `Platform`s always hash to the same value, the
    properties MUST be lexicographically sorted by name, and then by value.
    Sorting of strings is done by code point, equivalently, by the UTF-8
    bytes.
+BuildBazelRemoteExecutionV2PlatformPropertyr   Tr.   r   N)	r   r   r   r   r   r   r   r   r$   r   r%   r&   r   r   3  s      %%&SUVaef*r%   r   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r   iD  au  A single property for the environment. The server is responsible for
specifying the property `name`s that it accepts. If an unknown `name` is
provided in the requirements for an Action, the server SHOULD reject the
execution request. If permitted by the server, the same `name` may occur
multiple times. The server is also responsible for specifying the
interpretation of property `value`s. For instance, a property describing how
much RAM must be available may be interpreted as allowing a worker with 16GB
to fulfill a request for 8GB, while a property describing the OS environment
on which the action must be performed may require an exact match with the
worker's OS. The server MAY use the `value` of one or more properties to
determine how it sets up the execution environment, such as by making
specific system files available to the worker. Both names and values are
typically case-sensitive. Note that the platform is implicitly part of the
action digest, so even tiny changes in the names or values (like changing
case) may result in different action cache entries.

Fields:
  name: The property name.
  value: The property value.
r   r   r   NrX   r   r%   r&   r   r   D  s)    * 
		q	!$



"%r%   r   c                      \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " SS	5      r\R                  " S
5      rSrg)*BuildBazelRemoteExecutionV2RequestMetadatai^  a  An optional Metadata to attach to any RPC request to tell the server
about an external context of the request. The server may use this for
logging or other purposes. To use it, the client attaches the header to the
call using the canonical proto serialization: * name:
`build.bazel.remote.execution.v2.requestmetadata-bin` * contents: the base64
encoded binary `RequestMetadata` message. Note: the gRPC library serializes
binary headers encoded in base64 by default
(https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests).
Therefore, if the gRPC library is used to pass/retrieve this metadata, the
user may ignore the base64 encoding and assume it is simply serialized as a
binary message.

Fields:
  actionId: An identifier that ties multiple requests to the same action.
    For example, multiple requests to the CAS, Action Cache, and Execution
    API are used in order to compile foo.cc.
  actionMnemonic: A brief description of the kind of action, for example,
    CppCompile or GoLink. There is no standard agreed set of values for
    this, and they are expected to vary between different client tools.
  configurationId: An identifier for the configuration in which the target
    was built, e.g. for differentiating building host tools or different
    target platforms. There is no expectation that this value will have any
    particular structure, or equality across invocations, though some client
    tools may offer these guarantees.
  correlatedInvocationsId: An identifier to tie multiple tool invocations
    together. For example, runs of foo_test, bar_test and baz_test on a
    post-submit of a given patch.
  targetId: An identifier for the target which produced this action. No
    guarantees are made around how many actions may relate to a single
    target.
  toolDetails: The details for the tool invoking the requests.
  toolInvocationId: An identifier that ties multiple actions together to a
    final result. For example, multiple actions are required to build and
    run foo_test.
r   r   r   r   r   &BuildBazelRemoteExecutionV2ToolDetailsr   r2   r   N)r   r   r   r   r   r   r"   actionIdactionMnemonicconfigurationIdcorrelatedInvocationsIdtargetIdr   toolDetailstoolInvocationIdr$   r   r%   r&   r   r   ^  s    "H ""1%(((+.))!,/%11!4""1%(&&'OQRS+**1-r%   r   c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r
Srg)	rd   i  a  A `SymlinkNode` represents a symbolic link.

Fields:
  name: The name of the symlink.
  nodeProperties: A BuildBazelRemoteExecutionV2NodeProperties attribute.
  target: The target path of the symlink. The path separator is a forward
    slash `/`. The target path can be relative to the parent directory of
    the symlink or it can be an absolute path starting with `/`. Support for
    absolute paths can be checked using the Capabilities API. `..`
    components are allowed anywhere in the target path as logical
    canonicalization may lead to different behavior in the presence of
    directory symlinks (e.g. `foo/../bar` may not be the same as `bar`). To
    reduce potential cache misses, canonicalization is still recommended
    where this is possible without impacting correctness.
r   rc   r   r   r   N)r   r   r   r   r   r   r"   rY   r   rg   r   r$   r   r%   r&   rd   rd     s=      
		q	!$))*UWXY.  #&r%   rd   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r   i  zDetails for the tool used to call the API.

Fields:
  toolName: Name of the tool, e.g. bazel.
  toolVersion: Version of the tool used for the request, e.g. 5.0.3.
r   r   r   N)
r   r   r   r   r   r   r"   toolNametoolVersionr$   r   r%   r&   r   r     s)     ""1%(%%a(+r%   r   c                   b    \ rS rSrSr\R                  " SSSS9r\R                  " SS5      rSr	g	)
BuildBazelRemoteExecutionV2Treei  a  A `Tree` contains all the Directory protos in a single directory Merkle
tree, compressed into one message.

Fields:
  children: All the child directories: the directories referred to by the
    root and, recursively, all its children. In order to reconstruct the
    directory tree, the client must take the digests of each of the child
    directories and then build up a tree starting from the `root`. Servers
    SHOULD ensure that these are ordered consistently such that two actions
    producing equivalent output directories on the same server
    implementation also produce Tree messages with matching digests.
  root: The root directory in the tree.
r`   r   Tr.   r   r   N)
r   r   r   r   r   r   r   childrenrootr$   r   r%   r&   r   r     s2     ##$JAX\](			 F	J$r%   r   c                      \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      r\R                  " S	5      r\R                  " S
5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg),GoogleDevtoolsRemotebuildbotCommandDurationsi  a@  CommandDuration contains the various duration metrics tracked when a bot
performs a command.

Fields:
  casRelease: The time spent to release the CAS blobs used by the task.
  cmWaitForAssignment: The time spent waiting for Container Manager to
    assign an asynchronous container for execution.
  dockerPrep: The time spent preparing the command to be run in a Docker
    container (includes pulling the Docker image, if necessary).
  dockerPrepStartTime: The timestamp when docker preparation begins.
  download: The time spent downloading the input files and constructing the
    working directory.
  downloadStartTime: The timestamp when downloading the input files begins.
  execStartTime: The timestamp when execution begins.
  execution: The time spent executing the command (i.e., doing useful work).
  isoPrepDone: The timestamp when preparation is done and bot starts
    downloading files.
  overall: The time spent completing the command, in total.
  upload: The time spent uploading the output files.
  uploadStartTime: The timestamp when uploading the output files begins.
r   r   r   r   r   r   r2   r3   r4   r5   r6   r   r   N)r   r   r   r   r   r   r"   
casReleasecmWaitForAssignment
dockerPrepdockerPrepStartTimedownloaddownloadStartTimeexecStartTime	executionisoPrepDoneoveralluploaduploadStartTimer$   r   r%   r&   r   r     s    , $$Q'*!--a0$$Q'*!--a0""1%(++A.''*-##A&)%%a(+!!"%'  $&))"-/r%   r   c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r	\R                  " SS	5      r\R                  " S
5      r\R                  " S5      r\R                   " S\R"                  R$                  S9r\R                   " S\R"                  R$                  S9r\R                  " SS5      r\R,                  " SS5      r\R0                  " S\R"                  R2                  S9r\R0                  " S\R"                  R2                  S9r\R                  " SS5      r\R                  " S5      rSrg))GoogleDevtoolsRemotebuildbotCommandEventsi  a  CommandEvents contains counters for the number of warnings and errors
that occurred during the execution of a command.

Enums:
  CmUsageValueValuesEnum: Indicates if and how Container Manager is being
    used for task execution.
  InputMountTypeValueValuesEnum: Indicates how the input tree was mounted
    for the action.
  OutputLocationValueValuesEnum: Indicates whether output files and/or
    output directories were found relative to the execution root or to the
    user provided work directory or both or none.

Fields:
  cmUsage: Indicates if and how Container Manager is being used for task
    execution.
  dockerCacheHit: Indicates whether we are using a cached Docker image
    (true) or had to pull the Docker image (false) for this command.
  dockerImageName: Docker Image name.
  inputCacheMissBytes: The input cache miss rate as a fraction of the total
    size of input files.
  inputCacheMissFiles: The input cache miss rate as a fraction of the number
    of input files.
  inputMountType: Indicates how the input tree was mounted for the action.
  inputTreeStats: Contains stats about the action input metadata tree that
    was fetched to determine the action's inputs.
  numErrors: The number of errors reported.
  numWarnings: The number of warnings reported.
  outputLocation: Indicates whether output files and/or output directories
    were found relative to the execution root or to the user provided work
    directory or both or none.
  usedAsyncContainer: Indicates whether an asynchronous container was used
    for execution.
c                   $    \ rS rSrSrSrSrSrSrg)@GoogleDevtoolsRemotebuildbotCommandEvents.CmUsageValueValuesEnumi	  a  Indicates if and how Container Manager is being used for task
execution.

Values:
  CONFIG_NONE: Container Manager is disabled or not running for this
    execution.
  CONFIG_MATCH: Container Manager is enabled and there was a matching
    container available for use during execution.
  CONFIG_MISMATCH: Container Manager is enabled, but there was no matching
    container available for execution.
r   r   r   r   N)	r   r   r   r   r   CONFIG_NONECONFIG_MATCHCONFIG_MISMATCHr$   r   r%   r&   CmUsageValueValuesEnumr   	  s    
 KLOr%   r   c                   (    \ rS rSrSrSrSrSrSrSr	g)	GGoogleDevtoolsRemotebuildbotCommandEvents.InputMountTypeValueValuesEnumi  aL  Indicates how the input tree was mounted for the action.

Values:
  MOUNT_UNSPECIFIED: The mechanism for mounting the input tree is
    unspecified.
  MOUNT_OVERLAY: The input tree was mounted from a read-write overlay
    filesystem.
  MOUNT_WRITABLE: The input tree was mounted as a read-write bind mount.
    The CAS proxy will use file watchers and/or post-action scanning of
    inputs to catch modfiications to the input blobs.
  MOUNT_READ_ONLY: The input tree was mounted as a read-only bind mount,
    with a separate writable directories mounted where outputs are
    expected.
r   r   r   r   r   N)
r   r   r   r   r   MOUNT_UNSPECIFIEDMOUNT_OVERLAYMOUNT_WRITABLEMOUNT_READ_ONLYr$   r   r%   r&   InputMountTypeValueValuesEnumr     s     MNOr%   r   c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)GGoogleDevtoolsRemotebuildbotCommandEvents.OutputLocationValueValuesEnumi-  a  Indicates whether output files and/or output directories were found
relative to the execution root or to the user provided work directory or
both or none.

Values:
  LOCATION_UNDEFINED: Location is set to LOCATION_UNDEFINED for tasks
    where the working directorty is not specified or is identical to the
    execution root directory.
  LOCATION_NONE: No output files or directories were found neither
    relative to the execution root directory nor relative to the working
    directory.
  LOCATION_EXEC_ROOT_RELATIVE: Output files or directories were found
    relative to the execution root directory but not relative to the
    working directory.
  LOCATION_WORKING_DIR_RELATIVE: Output files or directories were found
    relative to the working directory but not relative to the execution
    root directory.
  LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE: Output files or directories
    were found both relative to the execution root directory and relative
    to the working directory.
  LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR: Output files or
    directories were found relative to the execution root directory but
    not relative to the working directory. In addition at least one output
    file or directory was found outside of the working directory such that
    a working-directory-relative-path would have needed to start with a
    `..`.
  LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR:
    Output files or directories were found both relative to the execution
    root directory and relative to the working directory. In addition at
    least one exec-root-relative output file or directory was found
    outside of the working directory such that a working-directory-
    relative-path would have needed to start with a `..`.
r   r   r   r   r   r   r   r   N)r   r   r   r   r   LOCATION_UNDEFINEDLOCATION_NONELOCATION_EXEC_ROOT_RELATIVELOCATION_WORKING_DIR_RELATIVE+LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE6LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIRFLOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIRr$   r   r%   r&   OutputLocationValueValuesEnumr   -  s3     B M"#$%!23/=>:MNJr%   r   r   r   r   r   r+   r   r   *GoogleDevtoolsRemotebuildbotInputTreeStatsr2   r3   r4   r5   r6   r   N)r   r   r   r   r   r   rO   r   r   r   rR   cmUsager   dockerCacheHitr"   dockerImageName
FloatFieldr9   FLOATinputCacheMissBytesinputCacheMissFilesinputMountTyper   inputTreeStatsr8   UINT64	numErrorsnumWarningsoutputLocationusedAsyncContainerr$   r   r%   r&   r   r     s5    Dy~~  inn ((Oinn (OT  8!<'))!,.))!,/!,,Q	8I8I8O8OP!,,Q	8I8I8O8OP&&'FJ.))*VXYZ.$$Q	0A0A0H0HI)&&q)2C2C2J2JK+&&'FK. --b1r%   r   c                       \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " S5      rSrg)	)GoogleDevtoolsRemotebuildbotCommandStatusid  zThe internal status of the command result.

Enums:
  CodeValueValuesEnum: The status code.

Fields:
  code: The status code.
  message: The error message.
c                      \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr Sr!S r"S!r#S"r$S#r%S$r&S%r'S&r(S'r)S(r*S)r+S*r,S+r-S,r.S-r/S.r0S/r1S0r2S1r3S2r4S3r5S4r6S5r7S6r8S7r9S8r:S9r;S:r<S;r=S<r>S=r?S>r@S?rAS@rBSArCgB)C=GoogleDevtoolsRemotebuildbotCommandStatus.CodeValueValuesEnumio  a  The status code.

Values:
  OK: The command succeeded.
  INVALID_ARGUMENT: The command input was invalid.
  DEADLINE_EXCEEDED: The command had passed its expiry time while it was
    still running.
  NOT_FOUND: The resources requested by the command were not found.
  PERMISSION_DENIED: The command failed due to permission errors.
  INTERNAL: The command failed because of some invariants expected by the
    underlying system have been broken. This usually indicates a bug wit
    the system.
  ABORTED: The command was aborted.
  FAILED_PRECONDITION: The command failed because the system is not in a
    state required for the command, e.g. the command inputs cannot be
    found on the server.
  CLEANUP_ERROR: The bot failed to do the cleanup, e.g. unable to delete
    the command working directory or the command process.
  DOWNLOAD_INPUTS_ERROR: The bot failed to download the inputs.
  UNKNOWN: Unknown error.
  UPLOAD_OUTPUTS_ERROR: The bot failed to upload the outputs.
  UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDED: The bot tried to upload files
    having a total size that is too large.
  DOCKER_LOGIN_ERROR: The bot failed to login to docker.
  DOCKER_IMAGE_PULL_ERROR: The bot failed to pull docker image.
  DOCKER_IMAGE_EXIST_ERROR: The bot failed to check docker images.
  DUPLICATE_INPUTS: The inputs contain duplicate files.
  DOCKER_IMAGE_PERMISSION_DENIED: The bot doesn't have the permissions to
    pull docker images.
  DOCKER_IMAGE_NOT_FOUND: The docker image cannot be found.
  WORKING_DIR_NOT_FOUND: Working directory is not found.
  WORKING_DIR_NOT_IN_BASE_DIR: Working directory is not under the base
    directory
  DOCKER_UNAVAILABLE: There are issues with docker service/runtime.
  NO_CUDA_CAPABLE_DEVICE: The command failed with "no cuda-capable device
    is detected" error.
  REMOTE_CAS_DOWNLOAD_ERROR: The bot encountered errors from remote CAS
    when downloading blobs.
  REMOTE_CAS_UPLOAD_ERROR: The bot encountered errors from remote CAS when
    uploading blobs.
  LOCAL_CASPROXY_NOT_RUNNING: The local casproxy is not running.
  DOCKER_CREATE_CONTAINER_ERROR: The bot couldn't start the container.
  DOCKER_INVALID_ULIMIT: The docker ulimit is not valid.
  DOCKER_UNKNOWN_RUNTIME: The docker runtime is unknown.
  DOCKER_UNKNOWN_CAPABILITY: The docker capability is unknown.
  DOCKER_UNKNOWN_ERROR: The command failed with unknown docker errors.
  DOCKER_CREATE_COMPUTE_SYSTEM_ERROR: Docker failed to run containers with
    CreateComputeSystem error.
  DOCKER_PREPARELAYER_ERROR: Docker failed to run containers with
    hcsshim::PrepareLayer error.
  DOCKER_INCOMPATIBLE_OS_ERROR: Docker incompatible operating system
    error.
  DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND: Docker failed to create OCI
    runtime because of file not found.
  DOCKER_CREATE_RUNTIME_PERMISSION_DENIED: Docker failed to create OCI
    runtime because of permission denied.
  DOCKER_CREATE_PROCESS_FILE_NOT_FOUND: Docker failed to create process
    because of file not found.
  DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR: Docker failed to
    run containers with CreateComputeSystem error that involves an
    incorrect parameter (more specific version of
    DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).
  DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS: Docker failed to create an overlay
    mount because of too many levels of symbolic links.
  LOCAL_CONTAINER_MANAGER_NOT_RUNNING: The local Container Manager is not
    running.
  DOCKER_IMAGE_VPCSC_PERMISSION_DENIED: Docker failed because a request
    was denied by the organization's policy.
  WORKING_DIR_NOT_RELATIVE: Working directory is not relative
  DOCKER_MISSING_CONTAINER: Docker cannot find the container specified in
    the command. This error is likely to only occur if an asynchronous
    container is not running when the command is run.
  DOCKER_MISSING_BLOB_IN_IMAGE: Docker cannot pull an image because a blob
    is missing in the repo. May be due to a bad/incomplete image push or
    partial deletion of underlying blob layers.
  DOCKER_INVALID_VOLUME: The docker volume specification is invalid (e.g.
    root).
  DOCKER_CREATE_RUNTIME_CANNOT_MOUNT_TO_PROC: Docker failed to create OCI
    runtime because input root cannot be proc.
  DOCKER_START_RUNTIME_FILE_NOT_FOUND: Docker failed to start OCI runtime
    because of file not found.
  DOCKER_CREATE_INVALID_LAYERCHAIN_JSON: Docker failed to run because the
    layerchain json was invalid (see b/234782336).
  INCOMPATIBLE_CUDA_VERSION: Docker failed to create OCI runtime because
    of incompatible cuda version.
  LOCAL_WORKER_MANAGER_NOT_RUNNING: The local Worker Manager is not
    running.
  DOCKER_START_RUNTIME_FILE_FORMAT_ERROR: Docker failed to start OCI
    runtime because of file format error.
  DOCKER_START_RUNTIME_PERMISSION_DENIED: Docker failed to start OCI
    runtime because of permission denied.
  DOCKER_PERMISSION_DENIED: Docker failed because of permission denied.
  NETWORK_PROXY_UPDATE_POLICY_ERROR: The bot failed to update the network
    proxy policy.
  SERVICE_ACCOUNT_IMPERSONATION_DENIED: Failed to impersonate the service
    account.
  INVALID_FILENAME: Trying to write a file with a filename that is too
    long.
  NETWORK_PROXY_GET_NETWORK_ACTIVITY_LOG_ERROR: The bot failed to get the
    network activity log.
  NETWORK_PROXY_UPLOAD_NETWORK_ACTIVITY_LOG_ERROR: The bot failed to
    upload the network activity log.
  NPROC_EXCEEDED: Failed to start a process because NPROC is too low.
  BUILDGRAPH_START_ERROR: An error occurred during the start of tetragon
    container.
  BUILDGRAPH_GENERATION_ERROR: An error occurred during the generation of
    the buildgraph.
  BUILDGRAPH_UPLOAD_ERROR: An error occurred while uploading the generated
    buildgraph. Next tag to use: 62.
r   r   r   r   r   r   r   r2   r3   r4   r5   r6   r               r
                                                 !   "   #   $   %   &   '   (   )   *   +   ,   -   .   /   0   1   2   3   4   5   6   7   8   9   :   ;   <   =   r   N)Dr   r   r   r   r   OKINVALID_ARGUMENTDEADLINE_EXCEEDED	NOT_FOUNDPERMISSION_DENIEDINTERNALABORTEDFAILED_PRECONDITIONCLEANUP_ERRORDOWNLOAD_INPUTS_ERRORro   UPLOAD_OUTPUTS_ERROR#UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDEDDOCKER_LOGIN_ERRORDOCKER_IMAGE_PULL_ERRORDOCKER_IMAGE_EXIST_ERRORDUPLICATE_INPUTSDOCKER_IMAGE_PERMISSION_DENIEDDOCKER_IMAGE_NOT_FOUNDWORKING_DIR_NOT_FOUNDWORKING_DIR_NOT_IN_BASE_DIRDOCKER_UNAVAILABLENO_CUDA_CAPABLE_DEVICEREMOTE_CAS_DOWNLOAD_ERRORREMOTE_CAS_UPLOAD_ERRORLOCAL_CASPROXY_NOT_RUNNINGDOCKER_CREATE_CONTAINER_ERRORDOCKER_INVALID_ULIMITDOCKER_UNKNOWN_RUNTIMEDOCKER_UNKNOWN_CAPABILITYDOCKER_UNKNOWN_ERROR"DOCKER_CREATE_COMPUTE_SYSTEM_ERRORDOCKER_PREPARELAYER_ERRORDOCKER_INCOMPATIBLE_OS_ERROR$DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND'DOCKER_CREATE_RUNTIME_PERMISSION_DENIED$DOCKER_CREATE_PROCESS_FILE_NOT_FOUND6DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR$DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS#LOCAL_CONTAINER_MANAGER_NOT_RUNNING$DOCKER_IMAGE_VPCSC_PERMISSION_DENIEDWORKING_DIR_NOT_RELATIVEDOCKER_MISSING_CONTAINERDOCKER_MISSING_BLOB_IN_IMAGEDOCKER_INVALID_VOLUME*DOCKER_CREATE_RUNTIME_CANNOT_MOUNT_TO_PROC#DOCKER_START_RUNTIME_FILE_NOT_FOUND%DOCKER_CREATE_INVALID_LAYERCHAIN_JSONINCOMPATIBLE_CUDA_VERSION LOCAL_WORKER_MANAGER_NOT_RUNNING&DOCKER_START_RUNTIME_FILE_FORMAT_ERROR&DOCKER_START_RUNTIME_PERMISSION_DENIEDDOCKER_PERMISSION_DENIED!NETWORK_PROXY_UPDATE_POLICY_ERROR$SERVICE_ACCOUNT_IMPERSONATION_DENIEDINVALID_FILENAME,NETWORK_PROXY_GET_NETWORK_ACTIVITY_LOG_ERROR/NETWORK_PROXY_UPLOAD_NETWORK_ACTIVITY_LOG_ERRORNPROC_EXCEEDEDBUILDGRAPH_START_ERRORBUILDGRAPH_GENERATION_ERRORBUILDGRAPH_UPLOAD_ERRORr$   r   r%   r&   CodeValueValuesEnumr  o  sx   m\ 
BIHGMG*,' !%'""$ " !#$&! ")+& "#% +-(.0++-(=?:+-(*,'+-(!!#% 13.*,',.) "')$-/*-/*!(*%+-(350683N"$ r%   ru  r   r   r   N)r   r   r   r   r   r   rO   ru  rR   coder"   r   r$   r   r%   r&   r  r  d  s?    l!INN l!\ 
		2A	6$!!!$'r%   r  c                      \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S5      r
\R                  " S\R                  R                  S9r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " S	\R                  R                  S9rS
rg)r   i!  aw  A GoogleDevtoolsRemotebuildbotInputTreeStats object.

Fields:
  maxDepth: Tree depth.
  processingTimeMillis: Time spent retrieving and processing the tree.
  totalFiles: Overall number of files in the tree.
  totalNodes: Overall number of nodes in the tree.
  totalSize: Total size in bytes of all files in the tree.
  totalSymlinks: Overall number of symlinks in the tree.
r   r+   r   r   r   r   r   r   N)r   r   r   r   r   r   r8   r9   r:   maxDepthprocessingTimeMillis
totalFiles
totalNodes	totalSizetotalSymlinksr$   r   r%   r&   r   r   !  s    	 ##Ay/@/@/F/FG("//2%%a1B1B1H1HI*%%a1B1B1H1HI*$$Q')((I4E4E4K4KL-r%   r   c                   $   \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " S5      r\R                  " SS5      r\R                  " SS	5      r\R                  " SS
5      r\R                  " SS5      rSrg))GoogleDevtoolsRemotebuildbotResourceUsagei5  a  ResourceUsage is the system resource usage of the host machine.

Enums:
  BotStateValueValuesEnum:

Fields:
  botState: A BotStateValueValuesEnum attribute.
  cpuUsedPercent: A number attribute.
  diskUsage: A GoogleDevtoolsRemotebuildbotResourceUsageStat attribute.
  dockerRootDiskUsage: A GoogleDevtoolsRemotebuildbotResourceUsageStat
    attribute.
  memoryUsage: A GoogleDevtoolsRemotebuildbotResourceUsageStat attribute.
  totalDiskIoStats: A GoogleDevtoolsRemotebuildbotResourceUsageIOStats
    attribute.
c                   $    \ rS rSrSrSrSrSrSrg)AGoogleDevtoolsRemotebuildbotResourceUsage.BotStateValueValuesEnumiF  z~BotStateValueValuesEnum enum type.

Values:
  UNSPECIFIED: <no description>
  IDLE: <no description>
  BUSY: <no description>
r   r   r   r   N)	r   r   r   r   r   UNSPECIFIEDIDLEBUSYr$   r   r%   r&   BotStateValueValuesEnumr  F  s     KDDr%   r  r   r   -GoogleDevtoolsRemotebuildbotResourceUsageStatr   r   r   0GoogleDevtoolsRemotebuildbotResourceUsageIOStatsr   r   N)r   r   r   r   r   r   rO   r  rR   botStater   cpuUsedPercentr   	diskUsagedockerRootDiskUsagememoryUsagetotalDiskIoStatsr$   r   r%   r&   r  r  5  s     
	 
   !:A>(''*.$$%TVWX)!../^`ab&&'VXYZ+++,^`abr%   r  c                      \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S\R                  R                  S9r
\R                  " S\R                  R                  S9r\R                  " S\R                  R                  S9r\R                  " S\R                  R                  S9r\R                  " S	\R                  R                  S9rS
rg)r  iZ  a  A GoogleDevtoolsRemotebuildbotResourceUsageIOStats object.

Fields:
  readBytesCount: A string attribute.
  readCount: A string attribute.
  readTimeMs: A string attribute.
  writeBytesCount: A string attribute.
  writeCount: A string attribute.
  writeTimeMs: A string attribute.
r   r+   r   r   r   r   r   r   N)r   r   r   r   r   r   r8   r9   r   readBytesCount	readCount
readTimeMswriteBytesCount
writeCountwriteTimeMsr$   r   r%   r&   r  r  Z  s    	 ))!Y5F5F5M5MN.$$Q	0A0A0H0HI)%%a1B1B1I1IJ***1i6G6G6N6NO/%%a1B1B1I1IJ*&&q)2C2C2J2JK+r%   r  c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " S\R                  R                  S9r
Srg)r  in  zzA GoogleDevtoolsRemotebuildbotResourceUsageStat object.

Fields:
  total: A string attribute.
  used: A string attribute.
r   r+   r   r   N)r   r   r   r   r   r   r8   r9   r   totalusedr$   r   r%   r&   r  r  n  sE     
 
 I,=,=,D,D
E%			9+<+<+C+C	D$r%   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      r	Sr
g)?GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigiz  a  AcceleratorConfig defines the accelerator cards to attach to the VM.

Fields:
  acceleratorCount: The number of guest accelerator cards exposed to each
    VM.
  acceleratorType: The type of accelerator to attach to each VM, e.g.
    "nvidia-tesla-k80" for nVidia Tesla K80.
r   r   r   N)r   r   r   r   r   r   r8   acceleratorCountr"   acceleratorTyper$   r   r%   r&   r  r  z  s*     ++A.))!,/r%   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	Sr
g)7GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalei  a  Autoscale defines the autoscaling policy of a worker pool.

Fields:
  maxSize: Optional. The maximal number of workers. Must be equal to or
    greater than min_size.
  minIdleWorkers: Optional. The minimum number of idle workers the
    autoscaler will aim to have in the pool at all times that are
    immediately available to accept a surge in build traffic. The pool size
    will still be constrained by min_size and max_size.
  minSize: Optional. The minimal number of workers. Must be greater than 0.
r   r   r   r   N)r   r   r   r   r   r   r8   maxSizeminIdleWorkersminSizer$   r   r%   r&   r  r    s9    
 ""1%'))!,.""1%'r%   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)?GoogleDevtoolsRemotebuildexecutionAdminV1alphaBackendIAMBindingi  a$  A representation of an individual backend IAM binding.

Fields:
  principal: Required. The IAM principal (i.e. twosync or twosync-src group)
    this binding applies to. This should be prefixed with `group:`. Example
    format: group:alphasource-foundry-team-policy@twosync.google.com
  role: Required. The RBE-managed IAM role this binding applies to. The set
    of eligible roles depends on which instance allowlist(s) the parent
    instance is a member of, specifically with regards to the
    ENABLE_BE_IAM_BINDING_* entries. Format: roles/
r   r   r   N
r   r   r   r   r   r   r"   	principalroler$   r   r%   r&   r  r    s)    
 ##A&)			q	!$r%   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " SSSS9r	Sr
g	)
?GoogleDevtoolsRemotebuildexecutionAdminV1alphaBackendPropertiesi  aC  Describes backend project configuration. As of 2024Q2, this consists of
user- managed IAM bindings established for this instance as well as the
identity of the backend project.

Fields:
  backendProjectNumber: Output only. The backend project number is not
    normally exposed to the user but is required by the user for these IAM
    role bindings to be useful. For example, a role that grants SSH access
    to worker machines in the backend project is useless if those machines
    cannot then be discovered.
  bindings: Output only. List of the desired BE project bindings.
r   r  r   Tr.   r   N)r   r   r   r   r   r   r"   backendProjectNumberr   bindingsr$   r   r%   r&   r  r    s1     #..q1##$eghswx(r%   r  c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r
\R                  " S5      r\R                  " S5      r\R                  " S	5      rS
rg)LGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateAndroidCIInstanceRequesti  a  The request used for `CreateAndroidCIInstance`.

Fields:
  billingProjectManagerGroup: Optional. Billing Project Manager Group used
    for changing the billing account of the backend project as we will be
    bypassing the BE chargeback.
  instance: Required. Specifies the instance to create. The name in the
    instance, if specified in the instance, is ignored.
  instanceId: Required. ID of the created instance. A valid `instance_id`
    must: be 6-50 characters long, contain only lowercase letters, digits,
    hyphens and underscores, start with a lowercase letter, and end with a
    lowercase letter or a digit.
  macServiceAccount: Optional. Mac Service Account is the service account
    that will be used to run Mac VMs.
  parent: Required. Resource name of the project containing the instance.
    Format: `projects/[PROJECT_ID]`.
  vmServiceAccount: Optional. Service Account is the service account that
    will be used to run the VMs.
r   6GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstancer   r   r   r   r   r   N)r   r   r   r   r   r   r"   billingProjectManagerGroupr   instance
instanceIdmacServiceAccountparentvmServiceAccountr$   r   r%   r&   r  r    sp    (  )44Q7##$\^_`($$Q'*++A.  #&**1-r%   r  c                   >    \ rS rSrSr\R                  " SS5      rSrg)LGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateBackendIAMBindingRequesti  z{The request used for `CreateBackendIAMBinding`.

Fields:
  backendIamBinding: Required. The backend IAM binding to create.
r  r   r   N	r   r   r   r   r   r   r   backendIamBindingr$   r   r%   r&   r  r          ,,-npqrr%   r  c                   >    \ rS rSrSr\R                  " SS5      rSrg)MGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateBackendIAMBindingResponsei  zThe response used for `CreateBackendIAMBinding`.

Fields:
  backendProperties: The backend properties of the instance, which contains
    the list of backend IAM bindings, after creation of the most recent
    binding.
r  r   r   N)	r   r   r   r   r   r   r   backendPropertiesr$   r   r%   r&   r  r    s      ,,-npqrr%   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " S5      r
Srg)	IGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateGuitarInstanceRequesti  a&  The request used for `CreateGuitarInstance`.

Fields:
  instance: Required. Specifies the instance to create. The name in the
    instance, if specified in the instance, is ignored.
  instanceId: Required. ID of the created instance. A valid `instance_id`
    must: be 6-50 characters long, contain only lowercase letters, digits,
    hyphens and underscores, start with a lowercase letter, and end with a
    lowercase letter or a digit.
  parent: Required. Resource name of the project containing the instance.
    Format: `projects/[PROJECT_ID]`.
r  r   r   r   r   Nr   r   r   r   r   r   r   r  r"   r  r  r$   r   r%   r&   r  r    =     ##$\^_`($$Q'*  #&r%   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " S5      r
Srg)	CGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequesti  a   The request used for `CreateInstance`.

Fields:
  instance: Required. Specifies the instance to create. The name in the
    instance, if specified in the instance, is ignored.
  instanceId: Required. ID of the created instance. A valid `instance_id`
    must: - Be 6-50 characters long - Contain only lowercase letters,
    digits, hyphens and underscores - Start with a lowercase letter - End
    with a lowercase letter or a digit
  parent: Required. Resource name of the project containing the instance.
    Format: `projects/[PROJECT_ID]`.
r  r   r   r   r   Nr  r   r%   r&   r  r    r  r%   r  c                   J   \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " S	S
5      r\R                  " S5      r\R                  " S5      r\R                  " SS5      rSrg)IGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateKokoroInstanceRequesti  a  The request used for `CreateKokoroInstance`.

Enums:
  AdminOpsRestrictionsValueValuesEnum: Optional. If AdminOpsRestrictions is
    ADMIN_OPS_RESTRICTIONS_RESTRICTED then only predefined safe fields are
    allowed to set through internal APIs through toolproxy.
    AdminOpsRestrictions can be set to ADMIN_OPS_RESTRICTIONS_RESTRICTED
    only if ACTION_ISOLATION is enforced.
  TcaRestrictionsValueValuesEnum: Optional. If tca_restrictions is ENABLED
    then the instance will have restrictions needed for building Trusted
    Core Access (TCA) compliant builds. DO NOT USE: In-Development feature.

Fields:
  adminOpsRestrictions: Optional. If AdminOpsRestrictions is
    ADMIN_OPS_RESTRICTIONS_RESTRICTED then only predefined safe fields are
    allowed to set through internal APIs through toolproxy.
    AdminOpsRestrictions can be set to ADMIN_OPS_RESTRICTIONS_RESTRICTED
    only if ACTION_ISOLATION is enforced.
  immutableMetapolicy: Enforces meta policy immutability if set to true.
    This field is required. We use 'optional' here to catch (and error on)
    the case where this field is unset.
  instance: Required. Specifies the instance to create. The name in the
    instance, if specified in the instance, is ignored.
  instanceId: Required. ID of the created instance. A valid `instance_id`
    must: be 6-50 characters long, contain only lowercase letters, digits,
    hyphens and underscores, start with a lowercase letter, and end with a
    lowercase letter or a digit.
  parent: Required. Resource name of the project containing the instance.
    Format: `projects/[PROJECT_ID]`.
  tcaRestrictions: Optional. If tca_restrictions is ENABLED then the
    instance will have restrictions needed for building Trusted Core Access
    (TCA) compliant builds. DO NOT USE: In-Development feature.
c                   $    \ rS rSrSrSrSrSrSrg)mGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateKokoroInstanceRequest.AdminOpsRestrictionsValueValuesEnumi9  '  Optional. If AdminOpsRestrictions is ADMIN_OPS_RESTRICTIONS_RESTRICTED
then only predefined safe fields are allowed to set through internal APIs
through toolproxy. AdminOpsRestrictions can be set to
ADMIN_OPS_RESTRICTIONS_RESTRICTED only if ACTION_ISOLATION is enforced.

Values:
  RESTRICTIONS_UNSPECIFIED: Default value; interpreted as
    RESTRICTIONS_ALLOWED.
  RESTRICTIONS_ALLOWED: Admin operations are allowed normally.
  RESTRICTIONS_RESTRICTED: Admin operations are restricted to known safe
    operations that do not affect build integrity.
r   r   r   r   N	r   r   r   r   r   RESTRICTIONS_UNSPECIFIEDRESTRICTIONS_ALLOWEDRESTRICTIONS_RESTRICTEDr$   r   r%   r&   #AdminOpsRestrictionsValueValuesEnumr  9        !r%   r  c                   $    \ rS rSrSrSrSrSrSrg)hGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateKokoroInstanceRequest.TcaRestrictionsValueValuesEnumiJ  v  Optional. If tca_restrictions is ENABLED then the instance will have
restrictions needed for building Trusted Core Access (TCA) compliant
builds. DO NOT USE: In-Development feature.

Values:
  RESTRICTIONS_UNSPECIFIED: TCA restrictions are not specified, defaulting
    to RESTRICTIONS_DISABLED.
  RESTRICTIONS_DISABLED: TCA restrictions are disabled for the instance.
  RESTRICTIONS_ENABLED_V1: V1 version of TCA restrictions are enabled for
    the instance. These include: 1. ActionIsolation to be ENFORCED. 2.
    ImmutableMetaPolicy to be true. 3. AdminOpsRestrictions to be
    RESTRICTED. 4. Using Shielded, Confidential and Software Trusted VMs
    as RBE workers, which use custom RBE TCA COS VM images and go through
    TPM attestation verification for various boot parameters. 5. Inputs
    and outputs of the actions on these VMs requires TPM attestation
    verification.
r   r   r   r   N	r   r   r   r   r   r  RESTRICTIONS_DISABLEDRESTRICTIONS_ENABLED_V1r$   r   r%   r&   TcaRestrictionsValueValuesEnumr  J      "  !r%   r  r   r   r  r   r   r   r   r   N)r   r   r   r   r   r   rO   r  r  rR   adminOpsRestrictionsr   immutableMetapolicyr   r  r"   r  r  tcaRestrictionsr$   r   r%   r&   r  r    s     D INN  " y~~  , #,,-RTUV!..q1##$\^_`($$Q'*  #&''(H!L/r%   r  c                   &   \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " S	S
5      r\R                  " S5      r\R                  " SS5      rSrg)FGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateTbiInstanceRequestih  a  The request used for `CreateTbiInstance`.

Enums:
  AdminOpsRestrictionsValueValuesEnum: Optional. If AdminOpsRestrictions is
    ADMIN_OPS_RESTRICTIONS_RESTRICTED then only predefined safe fields are
    allowed to set through internal APIs through toolproxy.
    AdminOpsRestrictions can be set to ADMIN_OPS_RESTRICTIONS_RESTRICTED
    only if ACTION_ISOLATION is enforced.
  TcaRestrictionsValueValuesEnum: Optional. If tca_restrictions is ENABLED
    then the instance will have restrictions needed for building Trusted
    Core Access (TCA) compliant builds. DO NOT USE: In-Development feature.

Fields:
  adminOpsRestrictions: Optional. If AdminOpsRestrictions is
    ADMIN_OPS_RESTRICTIONS_RESTRICTED then only predefined safe fields are
    allowed to set through internal APIs through toolproxy.
    AdminOpsRestrictions can be set to ADMIN_OPS_RESTRICTIONS_RESTRICTED
    only if ACTION_ISOLATION is enforced.
  immutableMetapolicy: Required. Enforces meta policy immutability if set to
    true. This field is required. We use 'optional' here to track field
    presence so that we may catch (and error on) the case where this field
    is unset.
  instance: Required. Specifies the instance to create. The name in the
    instance, if specified in the instance, is ignored.
  instanceId: Required. ID of the created instance. A valid `instance_id`
    must: be 6-50 characters long, contain only lowercase letters, digits,
    hyphens and underscores, start with a lowercase letter, and end with a
    lowercase letter or a digit.
  tcaRestrictions: Optional. If tca_restrictions is ENABLED then the
    instance will have restrictions needed for building Trusted Core Access
    (TCA) compliant builds. DO NOT USE: In-Development feature.
c                   $    \ rS rSrSrSrSrSrSrg)jGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateTbiInstanceRequest.AdminOpsRestrictionsValueValuesEnumi  r  r   r   r   r   Nr  r   r%   r&   r  r    r  r%   r  c                   $    \ rS rSrSrSrSrSrSrg)eGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateTbiInstanceRequest.TcaRestrictionsValueValuesEnumi  r  r   r   r   r   Nr  r   r%   r&   r  r    r  r%   r  r   r   r  r   r   r   r   N)r   r   r   r   r   r   rO   r  r  rR   r  r   r  r   r  r"   r  r  r$   r   r%   r&   r  r  h  s    B INN  " y~~  , #,,-RTUV!..q1##$\^_`($$Q'*''(H!L/r%   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " SS5      r
Srg)	EGoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequesti  a  The request used for `CreateWorkerPool`.

Fields:
  parent: Resource name of the instance in which to create the new worker
    pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
  poolId: ID of the created worker pool. A valid pool ID must: be 6-50
    characters long, contain only lowercase letters, digits, hyphens and
    underscores, start with a lowercase letter, and end with a lowercase
    letter or a digit.
  workerPool: Specifies the worker pool to create. The name in the worker
    pool, if specified, is ignored.
r   r   8GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPoolr   r   N)r   r   r   r   r   r   r"   r  poolIdr   
workerPoolr$   r   r%   r&   r  r    s=       #&  #&%%&`bcd*r%   r  c                   >    \ rS rSrSr\R                  " SS5      rSrg)LGoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteBackendIAMBindingRequesti  z{The request used for `DeleteBackendIAMBinding`.

Fields:
  backendIamBinding: Required. The backend IAM binding to delete.
r  r   r   Nr  r   r%   r&   r  r    r  r%   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)CGoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequesti  zThe request used for `DeleteInstance`.

Fields:
  name: Required. Name of the instance to delete. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
r   r   N	r   r   r   r   r   r   r"   rY   r$   r   r%   r&   r  r         
		q	!$r%   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)EGoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequesti  zThe request used for DeleteWorkerPool.

Fields:
  name: Name of the worker pool to delete. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
r   r   Nr  r   r%   r&   r  r    r  r%   r  c                   d    \ rS rSrSr\R                  " SS5      r\R                  " SS5      rSr	g)	3GoogleDevtoolsRemotebuildexecutionAdminV1alphaDisksi  a  Disks defines the disks that would be attached to the workers.

Fields:
  dockerRootDisk: Optional. Specifies the configuration for the docker root
    disk to be attached. If not specified, RBE will default to the RBE
    managed docker root disk.
  localSsd: Optional. Specifies the number of local SSDs to be attached. If
    specified, local SSDs will be used as the working directory.
AGoogleDevtoolsRemotebuildexecutionAdminV1alphaDisksPersistentDiskr   ;GoogleDevtoolsRemotebuildexecutionAdminV1alphaDisksLocalSSDr   r   N)
r   r   r   r   r   r   r   dockerRootDisklocalSsdr$   r   r%   r&   r  r    s1     ))*mopq.##$acde(r%   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r  i  zLocalSSD specifies how to attach local SSD to the workers.

Fields:
  count: Optional. The number of Local SSDs to be attached.
  sizeGb: Output only. The size of the local SSD in gb. Intended for
    informational purposes only.
r   r   r   N)
r   r   r   r   r   r   r8   countsizeGbr$   r   r%   r&   r  r    s)     
 
 
#%!!!$&r%   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r	\R                  " S5      r
Srg)r  i  a  PersistentDisk specifies how to attach a persistent disk to the workers.

Fields:
  diskSizeGb: Required. Size of the disk in GB.
  diskType: Required. Type of disk attached (supported types are pd-standard
    and pd-ssd).
  sourceImage: Required. VM image to use for the disk.
r   r   r   r   N)r   r   r   r   r   r   r8   
diskSizeGbr"   diskTypesourceImager$   r   r%   r&   r  r    s9     %%a(*""1%(%%a(+r%   r  c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r	 " S	 S
\R                  5      r
 " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r\R                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R$                  " SS5      r\R                  " SS 5      r\R                  " S
S!5      r\R                  " SS"5      r\R                  " SS#5      r \R                  " SS$5      r!\R                  " SS%5      r"S&r#g')(;GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyi  a[  FeaturePolicy defines features allowed to be used on RBE instances, as
well as instance-wide behavior changes that take effect without opt-in or
opt-out at usage time.

Enums:
  ActionHermeticityValueValuesEnum: Defines the hermeticity policy for
    actions on this instance. DO NOT USE: Experimental / unlaunched feature.
  ActionIsolationValueValuesEnum: Defines the isolation policy for actions
    on this instance. DO NOT USE: Experimental / unlaunched feature.
  LinuxExecutionValueValuesEnum: Defines how Linux actions are allowed to
    execute. DO NOT USE: Experimental / unlaunched feature.
  LinuxIsolationValueValuesEnum: linux_isolation allows overriding the
    docker runtime used for containers started on Linux.
  MacExecutionValueValuesEnum: Defines how Windows actions are allowed to
    execute. DO NOT USE: Experimental / unlaunched feature.
  NetworkAccessValueValuesEnum: Optional. Defines the network access policy
    for actions on this instance. DO NOT USE: Experimental / unlaunched
    feature.
  VmVerificationValueValuesEnum: Whether to verify CreateBotSession and
    UpdateBotSession from the bot.
  WindowsExecutionValueValuesEnum: Defines how Windows actions are allowed
    to execute. DO NOT USE: Experimental / unlaunched feature.

Fields:
  actionHermeticity: Defines the hermeticity policy for actions on this
    instance. DO NOT USE: Experimental / unlaunched feature.
  actionIsolation: Defines the isolation policy for actions on this
    instance. DO NOT USE: Experimental / unlaunched feature.
  containerImageSources: Which container image sources are allowed.
    Currently only RBE-supported registry (gcr.io) is allowed. One can allow
    all repositories under a project or one specific repository only. E.g.
    container_image_sources { policy: RESTRICTED allowed_values: [
    "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any
    repositories under "gcr.io/project-foo" plus the repository
    "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to
    any source is allowed.
  dockerAddCapabilities: Whether dockerAddCapabilities can be used or what
    capabilities are allowed.
  dockerChrootPath: Whether dockerChrootPath can be used.
  dockerNetwork: Whether dockerNetwork can be used or what network modes are
    allowed. E.g. one may allow `off` value only via `allowed_values`.
  dockerPrivileged: Whether dockerPrivileged can be used.
  dockerRunAsContainerProvidedUser: Whether dockerRunAsContainerProvidedUser
    can be used.
  dockerRunAsRoot: Whether dockerRunAsRoot can be used.
  dockerRuntime: Whether dockerRuntime is allowed to be set or what runtimes
    are allowed. Note linux_isolation takes precedence, and if set,
    docker_runtime values may be rejected if they are incompatible with the
    selected isolation.
  dockerSiblingContainers: Whether dockerSiblingContainers can be used.
  dockerUlimits: Whether dockerUlimits are allowed to be set.
  linuxExecution: Defines how Linux actions are allowed to execute. DO NOT
    USE: Experimental / unlaunched feature.
  linuxIsolation: linux_isolation allows overriding the docker runtime used
    for containers started on Linux.
  macExecution: Defines how Windows actions are allowed to execute. DO NOT
    USE: Experimental / unlaunched feature.
  networkAccess: Optional. Defines the network access policy for actions on
    this instance. DO NOT USE: Experimental / unlaunched feature.
  vmVerification: Whether to verify CreateBotSession and UpdateBotSession
    from the bot.
  windowsExecution: Defines how Windows actions are allowed to execute. DO
    NOT USE: Experimental / unlaunched feature.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	\GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.ActionHermeticityValueValuesEnumiX  aG  Defines the hermeticity policy for actions on this instance. DO NOT
USE: Experimental / unlaunched feature.

Values:
  ACTION_HERMETICITY_UNSPECIFIED: Default value, if not explicitly set.
    Equivalent to OFF.
  ACTION_HERMETICITY_OFF: Disables enforcing feature policies that
    guarantee action hermeticity.
  ACTION_HERMETICITY_ENFORCED: Enforces hermeticity of actions by
    requiring feature policies to be set that prevent actions from gaining
    network access. The enforcement mechanism has been reviewed by ISE.
  ACTION_HERMETICITY_BEST_EFFORT: Requires feature policies to be set that
    provide best effort hermeticity for actions. Best effort hermeticity
    means network access will be disabled and not trivial to bypass.
    However, a determined and malicious action may still find a way to
    gain network access.
r   r   r   r   r   N)
r   r   r   r   r   ACTION_HERMETICITY_UNSPECIFIEDACTION_HERMETICITY_OFFACTION_HERMETICITY_ENFORCEDACTION_HERMETICITY_BEST_EFFORTr$   r   r%   r&    ActionHermeticityValueValuesEnumr  X  s!    " &'""#%&"r%   r  c                   $    \ rS rSrSrSrSrSrSrg)ZGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.ActionIsolationValueValuesEnumio  a  Defines the isolation policy for actions on this instance. DO NOT USE:
Experimental / unlaunched feature.

Values:
  ACTION_ISOLATION_UNSPECIFIED: Default value, if not explicitly set.
    Equivalent to OFF.
  ACTION_ISOLATION_OFF: Disables enforcing feature policies that guarantee
    action isolation.
  ACTION_ISOLATION_ENFORCED: Enforces setting feature policies that
    ensures actions within the RBE Instance are isolated from each other
    in a way deemed sufficient by ISE reviewers.
r   r   r   r   N)	r   r   r   r   r   ACTION_ISOLATION_UNSPECIFIEDACTION_ISOLATION_OFFACTION_ISOLATION_ENFORCEDr$   r   r%   r&   ActionIsolationValueValuesEnumr  o  s     $%  !r%   r  c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
YGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.LinuxExecutionValueValuesEnumi  aG  Defines how Linux actions are allowed to execute. DO NOT USE:
Experimental / unlaunched feature.

Values:
  LINUX_EXECUTION_UNSPECIFIED: Default value, if not explicitly set.
    Equivalent to FORBIDDEN.
  LINUX_EXECUTION_FORBIDDEN: Linux actions and worker pools are forbidden.
  LINUX_EXECUTION_UNRESTRICTED: No restrictions on execution of Linux
    actions.
  LINUX_EXECUTION_HARDENED_GVISOR: Linux actions will be hardened using
    gVisor. Actions that specify a configuration incompatible with gVisor
    hardening will be rejected. Example per-action platform properties
    that are incompatible with gVisor hardening are: 1. dockerRuntime is
    set to a value other than "runsc". Leaving dockerRuntime unspecified
    *is* compatible with gVisor. 2. dockerPrivileged is set to "true".
    etc.
  LINUX_EXECUTION_HARDENED_GVISOR_OR_TERMINAL: Linux actions will be
    hardened using gVisor if their configuration is compatible with gVisor
    hardening. Otherwise, the action will be terminal, i.e., the worker VM
    that runs the action will be terminated after the action finishes.
r   r   r   r   r   r   N)r   r   r   r   r   LINUX_EXECUTION_UNSPECIFIEDLINUX_EXECUTION_FORBIDDENLINUX_EXECUTION_UNRESTRICTEDLINUX_EXECUTION_HARDENED_GVISOR+LINUX_EXECUTION_HARDENED_GVISOR_OR_TERMINALr$   r   r%   r&   LinuxExecutionValueValuesEnumr    s'    * #$ !#$ &'#23/r%   r  c                   $    \ rS rSrSrSrSrSrSrg)YGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.LinuxIsolationValueValuesEnumi  aa  linux_isolation allows overriding the docker runtime used for
containers started on Linux.

Values:
  LINUX_ISOLATION_UNSPECIFIED: Default value. Will be using Linux default
    runtime.
  GVISOR: Use gVisor runsc runtime.
  OFF: Use standard Linux runtime. This has the same behaviour as
    unspecified, but it can be used to revert back from gVisor.
r   r   r   r   N)	r   r   r   r   r   LINUX_ISOLATION_UNSPECIFIEDGVISOROFFr$   r   r%   r&   LinuxIsolationValueValuesEnumr    s    	 #$F
Cr%   r  c                   (    \ rS rSrSrSrSrSrSrSr	g)	WGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.MacExecutionValueValuesEnumi  a  Defines how Windows actions are allowed to execute. DO NOT USE:
Experimental / unlaunched feature.

Values:
  MAC_EXECUTION_UNSPECIFIED: Default value, if not explicitly set.
    Equivalent to FORBIDDEN.
  MAC_EXECUTION_FORBIDDEN: Mac actions and worker pools are forbidden.
  MAC_EXECUTION_UNRESTRICTED: No restrictions on execution of Mac actions.
  MAC_EXECUTION_TERMINAL: Mac actions will always result in the worker VM
    being terminated after the action completes.
r   r   r   r   r   N)
r   r   r   r   r   MAC_EXECUTION_UNSPECIFIEDMAC_EXECUTION_FORBIDDENMAC_EXECUTION_UNRESTRICTEDMAC_EXECUTION_TERMINALr$   r   r%   r&   MacExecutionValueValuesEnumr    s!    
 !"!"r%   r  c                   $    \ rS rSrSrSrSrSrSrg)XGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.NetworkAccessValueValuesEnumi  a  Optional. Defines the network access policy for actions on this
instance. DO NOT USE: Experimental / unlaunched feature.

Values:
  NETWORK_ACCESS_UNSPECIFIED: Default value, if not explicitly set.
    Equivalent to ALLOWED.
  NETWORK_ACCESS_ALLOWED: Disables enforcing feature policies related to
    network access.
  NETWORK_ACCESS_ENFORCED: Requires feature policies to be set that
    guarantee network access restrctions. Enforced means that network
    access will be limited and certain features will be disabled to
    prevent bypassing the filter. However, a determined and malicious
    actor may still find a way to gain full network access.
r   r   r   r   N)	r   r   r   r   r   NETWORK_ACCESS_UNSPECIFIEDNETWORK_ACCESS_ALLOWEDNETWORK_ACCESS_ENFORCEDr$   r   r%   r&   NetworkAccessValueValuesEnumr    s     "#r%   r   c                   $    \ rS rSrSrSrSrSrSrg)YGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.VmVerificationValueValuesEnumi  a#  Whether to verify CreateBotSession and UpdateBotSession from the bot.

Values:
  VM_VERIFICATION_UNSPECIFIED: Default value. Same as GCP_TOKEN.
  VM_VERIFICATION_GCP_TOKEN: Verify the VM token and the nonce associated
    with the VM.
  VM_VERIFICATION_OFF: Don't verify VM token and nonce.
r   r   r   r   N)	r   r   r   r   r   VM_VERIFICATION_UNSPECIFIEDVM_VERIFICATION_GCP_TOKENVM_VERIFICATION_OFFr$   r   r%   r&   VmVerificationValueValuesEnumr"    s     #$ !r%   r&  c                   (    \ rS rSrSrSrSrSrSrSr	g)	[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.WindowsExecutionValueValuesEnumi  a  Defines how Windows actions are allowed to execute. DO NOT USE:
Experimental / unlaunched feature.

Values:
  WINDOWS_EXECUTION_UNSPECIFIED: Default value, if not explicitly set.
    Equivalent to FORBIDDEN.
  WINDOWS_EXECUTION_FORBIDDEN: Windows actions and worker pools are
    forbidden.
  WINDOWS_EXECUTION_UNRESTRICTED: No restrictions on execution of Windows
    actions.
  WINDOWS_EXECUTION_TERMINAL: Windows actions will always result in the
    worker VM being terminated after the action completes.
r   r   r   r   r   N)
r   r   r   r   r   WINDOWS_EXECUTION_UNSPECIFIEDWINDOWS_EXECUTION_FORBIDDENWINDOWS_EXECUTION_UNRESTRICTEDWINDOWS_EXECUTION_TERMINALr$   r   r%   r&   WindowsExecutionValueValuesEnumr(    s!     %&!"#%&"!"r%   r-  r   r   BGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturer   r   r   r   r2   r3   r4   r5   r6   r   r  r	  r
  r  r
   r  r   N)$r   r   r   r   r   r   rO   r  r  r  r  r  r   r&  r-  rR   actionHermeticityactionIsolationr   containerImageSourcesdockerAddCapabilitiesdockerChrootPathdockerNetworkdockerPrivileged dockerRunAsContainerProvidedUserdockerRunAsRootdockerRuntimedockerSiblingContainersdockerUlimitslinuxExecutionlinuxIsolationmacExecutionnetworkAccessvmVerificationwindowsExecutionr$   r   r%   r&   r  r    s   ?B' '."y~~ ""4inn 48inn INN " Y^^  &inn #	 #&  ))*LaP''(H!L/#001uwxy#001uwxy++,prst(()mopq-++,prst%.%;%;  =A  CD  &E"**+oqrs/(()moqr-%223wy{|(()moqr-&&'FK.&&'FK.$$%BBG,%%&DbI-&&'FK.(()JBOr%   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " SSS9r	\R                  " SS5      rS	rg
)r.  i  a  Defines whether a feature can be used or what values are accepted.

Enums:
  PolicyValueValuesEnum: The policy of the feature.

Fields:
  allowedValues: A list of acceptable values. Only effective when the policy
    is `RESTRICTED`.
  policy: The policy of the feature.
c                   (    \ rS rSrSrSrSrSrSrSr	g)	XGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature.PolicyValueValuesEnumi  a  The policy of the feature.

Values:
  POLICY_UNSPECIFIED: Default value, if not explicitly set. Equivalent to
    FORBIDDEN, unless otherwise documented on a specific Feature.
  ALLOWED: Feature is explicitly allowed.
  FORBIDDEN: Feature is forbidden. Requests attempting to leverage it will
    get an FailedPrecondition error, with a message like: "Feature
    forbidden by FeaturePolicy: Feature on instance "
  RESTRICTED: Only the values specified in the `allowed_values` are
    allowed.
r   r   r   r   r   N)
r   r   r   r   r   POLICY_UNSPECIFIEDALLOWED	FORBIDDEN
RESTRICTEDr$   r   r%   r&   PolicyValueValuesEnumrC    s     GIJr%   rH  r   Tr.   r   r   N)r   r   r   r   r   r   rO   rH  r"   allowedValuesrR   policyr$   r   r%   r&   r.  r.    s>    	inn $ ''D9-6:&r%   r.  c                   <    \ rS rSrSr\R                  " S5      rSrg)@GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequesti%  zThe request used for `GetInstance`.

Fields:
  name: Required. Name of the instance to retrieve. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
r   r   Nr  r   r%   r&   rL  rL  %  r  r%   rL  c                   <    \ rS rSrSr\R                  " S5      rSrg)BGoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequesti0  zThe request used for GetWorkerPool.

Fields:
  name: Name of the worker pool to retrieve. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
r   r   Nr  r   r%   r&   rN  rN  0  r  r%   rN  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)8GoogleDevtoolsRemotebuildexecutionAdminV1alphaIAMBindingi;  zRepresents an IAM binding.

Fields:
  principal: Required. The IAM principal this binding applies to.
  role: Required. The IAM role this binding applies to. Format: `roles/`
r   r   r   Nr  r   r%   r&   rP  rP  ;  s)     ##A&)			q	!$r%   rP  c                      \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " SSS	S
9r
\R                  " SSS	S
9r\R                  " SS5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " SS5      r\R&                  " SS5      r\R                  " SS5      r\R                  " SSS	S
9rSrg)r  iG  a  Instance conceptually encapsulates all Remote Build Execution resources
for remote builds. An instance consists of storage and compute resources
(for example, `ContentAddressableStorage`, `ActionCache`, `WorkerPools`)
used for running remote builds. All Remote Build Execution API calls are
scoped to an instance.

Enums:
  StateValueValuesEnum: Output only. State of the instance.

Fields:
  backendProperties: Output only. Describes the instance's backend project
    configuration. Currently, this includes the list of user-managed IAM
    bindings applied to the backend project, which will always be empty for
    instances not in one of the ENABLE_BE_IAM_BINDING_* feature allowlists.
  bindings: Optional. The list of IAM bindings that should be applied to
    this instance.
  casRelations: Specify parent or child instances of `this` instance.
    Configurations will be rejected if: -- If `this` instance is not
    allowlisted for `ENABLE_DATA_READS_FROM_PARENT` and this list specifies
    parent instances. -- If `this` instance is not allowlisted for
    `ENABLE_DATA_READS_BY_CHILDREN` and this list specifies child instances.
    -- If both parent and child instances are specified. -- If instance has
    more than allowed number of parent or child instances.
  featurePolicy: The policy to define whether or not RBE features can be
    used or how they can be used.
  location: The location is a GCP region. Currently only `us-central1` is
    supported.
  loggingEnabled: Output only. Whether stack driver logging is enabled for
    the instance.
  name: Output only. Instance resource name formatted as:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be
    populated when creating an instance since it is provided in the
    `instance_id` field.
  schedulerNotificationConfig: The instance's configuration for scheduler
    notifications. Absence implies that this feature is not enabled for this
    instance.
  state: Output only. State of the instance.
  storageSettings: User-specified storage settings for this instance.
  zoneDrains: Optional. The list of zones that should be drained (no new
    tasks should be assigned to all or part of the workers in these).
c                   (    \ rS rSrSrSrSrSrSrSr	g)	KGoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance.StateValueValuesEnumir  a9  Output only. State of the instance.

Values:
  STATE_UNSPECIFIED: Not a valid state, but the default value of the enum.
  CREATING: The instance is in state `CREATING` once `CreateInstance` is
    called and before the instance is ready for use.
  RUNNING: The instance is in state `RUNNING` when it is ready for use.
  INACTIVE: An `INACTIVE` instance indicates that there is a problem that
    needs to be fixed. Such instances cannot be used for execution and
    instances that remain in this state for a significant period of time
    will be removed permanently.
r   r   r   r   r   N)
r   r   r   r   r   STATE_UNSPECIFIEDCREATINGRUNNINGINACTIVEr$   r   r%   r&   StateValueValuesEnumrS  r  s     HGHr%   rX  r  r   rP  r   Tr.   :GoogleDevtoolsRemotebuildexecutionAdminV1alphaRelationshipr   r  r   r   r   r2   IGoogleDevtoolsRemotebuildexecutionAdminV1alphaSchedulerNotificationConfigr3   r4   =GoogleDevtoolsRemotebuildexecutionAdminV1alphaStorageSettingsr5   7GoogleDevtoolsRemotebuildexecutionAdminV1alphaZoneDrainr6   r   N)r   r   r   r   r   r   rO   rX  r   r  r  casRelationsfeaturePolicyr"   locationr   loggingEnabledrY   schedulerNotificationConfigrR   statestorageSettings
zoneDrainsr$   r   r%   r&   r  r  G  s    (TY^^ $  ,,-npqr##$^`alpq(''(dfgrvw,(()fhij-""1%())!,.			q	!$ ) 6 6  8C  EF  !G


4a
8%**+jlno/%%&_acnrs*r%   r  c                   <    \ rS rSrSr\R                  " S5      rSrg)BGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequesti  zThe request used for `ListInstances`.

Fields:
  parent: Required. Resource name of the project. Format:
    `projects/[PROJECT_ID]`.
r   r   N	r   r   r   r   r   r   r"   r  r$   r   r%   r&   rf  rf    s       #&r%   rf  c                   ^    \ rS rSrSr\R                  " SSSS9r\R                  " SSS9r	Sr
g	)
CGoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponsei  zThe response used for `ListInstances`.

Fields:
  instances: The list of instances in a given project.
  unreachable: Unreachable regions.
r  r   Tr.   r   r   N)r   r   r   r   r   r   r   	instancesr"   unreachabler$   r   r%   r&   ri  ri    s2     $$%]_`kop)%%a$7+r%   ri  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)DGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequesti  a,  A GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
object.

Fields:
  filter: Optional. A filter expression that filters resources listed in the
    response. The expression must specify the field name, a comparison
    operator, and the value that you want to use for filtering. The value
    must be a string, a number, or a boolean. String values are case-
    insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`,
    `>=`, `<=` or `<`. The `:` operator can be used with string fields to
    match substrings. For non-string fields it is equivalent to the `=`
    operator. The `:*` comparison can be used to test whether a key has been
    defined. You can also filter on nested fields. To filter on multiple
    expressions, you can separate expression using `AND` and `OR` operators,
    using parentheses to specify precedence. If neither operator is
    specified, `AND` is assumed. Examples: Include only pools with more than
    100 reserved workers: `(worker_count > 100) (worker_config.reserved =
    true)` Include only pools with a certain label or machines of the
    e2-standard family: `worker_config.labels.key1 : * OR
    worker_config.machine_type: e2-standard`
  parent: Resource name of the instance. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
r   r   r   N
r   r   r   r   r   r   r"   filterr  r$   r   r%   r&   rm  rm    s)    0   #&  #&r%   rm  c                   <    \ rS rSrSr\R                  " SSSS9rSrg)	EGoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponsei  zA GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse
object.

Fields:
  workerPools: The list of worker pools in a given instance.
r  r   Tr.   r   N)	r   r   r   r   r   r   r   workerPoolsr$   r   r%   r&   rq  rq    s      &&'acdost+r%   rq  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      r\R                  " SS5      rS	rg
)rY  i  a  Defines the relationship with another RBE instance.

Enums:
  RelationValueValuesEnum: Specify the relationship between `instance` and
    the RBE instance it is related to.

Fields:
  instance: Instance resource name (e.g.
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`) of an instance which is
    either a parent or child of another RBE instance.
  relation: Specify the relationship between `instance` and the RBE instance
    it is related to.
  status: Output only. The validation result of this relationship. Possible
    status codes are: - `OK`: a valid relationship - `FAILED_PRECONDITION`:
    missing allowlist or misconfigured instance (Note that we don't want to
    return `NOT_FOUND` which leaks information about whether or not a
    project exists)
c                   $    \ rS rSrSrSrSrSrSrg)RGoogleDevtoolsRemotebuildexecutionAdminV1alphaRelationship.RelationValueValuesEnumi  aK  Specify the relationship between `instance` and the RBE instance it is
related to.

Values:
  RELATION_UNSPECIFIED: Default value but not a valid value; it is an
    error to set this value.
  RELATION_CAS_PARENT: `instance` is a parent of another RBE instance.
  RELATION_CAS_CHILD: `instance` is a child of another RBE instance.
r   r   r   r   N)	r   r   r   r   r   RELATION_UNSPECIFIEDRELATION_CAS_PARENTRELATION_CAS_CHILDr$   r   r%   r&   RelationValueValuesEnumru    s     r%   ry  r   r   r   r   r   N)r   r   r   r   r   r   rO   ry  r"   r  rR   relationr   r   r$   r   r%   r&   rY  rY    sO    &	  ""1%(  !:A>(!!"3Q7&r%   rY  c                   <    \ rS rSrSr\R                  " S5      rSrg)rZ  i  a  Defines configurations for an instance's scheduler notifications, where
a target Pub/Sub topic will be notified whenever a task (e.g. an action or
reservation) completes on this instance.

Fields:
  topic: The Pub/Sub topic resource name to issue notifications to. Note
    that the topic does not need to be owned by the same project as this
    instance. Format: projects//topics/
r   r   N)	r   r   r   r   r   r   r"   topicr$   r   r%   r&   rZ  rZ    s     


"%r%   rZ  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r[  i	  a\  Describes the storage settings for an instance. This consists of user-
specified TTL values for CAS and ActionResult entries.

Fields:
  actionResultTtl: Defines how long after a cached execution result was
    uploaded or accessed (due to a cache hit) before it is eligible for
    garbage collection (TTL countdowns are reset upon access). RBE may
    remove it from the action cache at any time after this period has
    elapsed. Note that the action cache only concerns when an incoming
    execution to RBE results in a cache hit. Input and output artifacts of
    the action are stored in the RBE CAS.
  casTtl: Defines how long after a blob was uploaded or last accessed before
    it is eligible for garbage collection (TTL countdowns are reset upon
    access). RBE may remove it from the instance's CAS at any time after
    this period has elapsed.
r   r   r   N)
r   r   r   r   r   r   r"   actionResultTtlcasTtlr$   r   r%   r&   r[  r[  	  s)    " ))!,/  #&r%   r[  c                       \ rS rSrSrSrg)GGoogleDevtoolsRemotebuildexecutionAdminV1alphaTestNotifyInstanceRequesti	  z*The request used for `TestNotifyInstance`.r   Nr   r   r   r   r   r$   r   r%   r&   r  r  	  s    3r%   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " S5      r\R                  " S5      rSrg	)
CGoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequesti	  a$  The request used for `UpdateInstance`.

Fields:
  instance: Specifies the instance to update.
  loggingEnabled: Deprecated, use instance.logging_enabled instead. Whether
    to enable Stackdriver logging for this instance.
  name: Deprecated, use instance.Name instead. Name of the instance to
    update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
  updateMask: The update mask applies to instance. For the `FieldMask`
    definition, see https://developers.google.com/protocol-
    buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask
    is provided, only the non-default valued field in the worker pool field
    will be updated. Note that in order to update a field to the default
    value (zero, false, empty string) an explicit update_mask must be
    provided.
r  r   r   r   r   r   N)r   r   r   r   r   r   r   r  r   r`  r"   rY   
updateMaskr$   r   r%   r&   r  r  	  sM    " ##$\^_`())!,.			q	!$$$Q'*r%   r  c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)EGoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequesti7	  a  The request used for UpdateWorkerPool.

Fields:
  updateMask: The update mask applies to worker_pool. For the `FieldMask`
    definition, see https://developers.google.com/protocol-
    buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask
    is provided, only the non-default valued field in the worker pool field
    will be updated. Note that in order to update a field to the default
    value (zero, false, empty string) an explicit update_mask must be
    provided.
  workerPool: Specifies the worker pool to update.
r   r  r   r   N)r   r   r   r   r   r   r"   r  r   r  r$   r   r%   r&   r  r  7	  s-     $$Q'*%%&`bcd*r%   r  c                      \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " SS5      r\R                  " SS	5      r\R                  " S
5      r\R                  " S5      r\R                  " SS5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R.                  " S5      r\R                  " S5      r\R                  " SSS9r\R                  " S5      r\R                  " SSS9rSrg):GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigiI	  a  Defines the configuration to be used for creating workers in the worker
pool.

Messages:
  LabelsValue: Labels associated with the workers. Label keys and values can
    be no longer than 63 characters, can only contain lowercase letters,
    numeric characters, underscores and dashes. International letters are
    permitted. Label keys must start with a letter. Label values are
    optional. There can not be more than 64 labels per resource.

Fields:
  accelerator: The accelerator card attached to each VM.
  attachedDisks: Optional. Specifies the disks that will be attached.
  diskSizeGb: Required. Size of the disk attached to the worker, in GB. See
    https://cloud.google.com/compute/docs/disks/
  diskType: Required. Disk Type to use for the worker. See [Storage
    options](https://cloud.google.com/compute/docs/disks/#introduction).
    Currently only `pd-standard` and `pd-ssd` are supported.
  labels: Labels associated with the workers. Label keys and values can be
    no longer than 63 characters, can only contain lowercase letters,
    numeric characters, underscores and dashes. International letters are
    permitted. Label keys must start with a letter. Label values are
    optional. There can not be more than 64 labels per resource.
  machineType: Required. Machine type of the worker, such as
    `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types
    for a list of supported machine types. Note that `f1-micro` and
    `g1-small` are not yet supported.
  maxConcurrentActions: The maximum number of actions a worker can execute
    concurrently.
  minCpuPlatform: Minimum CPU platform to use when creating the worker. See
    [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
  networkAccess: Determines the type of network access granted to workers.
    Possible values: - "public": Workers can connect to the public internet.
    - "private": Workers can only connect to Google APIs and services. -
    "restricted-private": Workers can only connect to Google APIs that are
    reachable through `restricted.googleapis.com` (`199.36.153.4/30`).
  networkAllowlist: Optional. Specifies the network allowlist to use for the
    pool. Possible values: - "": No network filtering takes place. Any
    action with an allowlist will be rejected since it cannot be enforced.
    This is the default. - "per_action": Network access will be filtered
    according to the allowlist provided by the action. If no allowlist is
    provided, the default is to block all requests.
  reserved: Determines whether the worker is reserved (equivalent to a
    Compute Engine on-demand VM and therefore won't be preempted). See
    [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more
    details.
  soleTenantNodeType: The node type name to be used for sole-tenant nodes.
  userServiceAccounts: Optional. List of user service accounts. The last
    service account in the list is what the user code will run as. The rest
    of the service accounts constitute the impersonation chain. For example,
    if len(user_service_accounts) == 2 and if the VM's service account is
    RBE's P4SA, then RBE'S P4SA should be granted the Service Account Token
    Creator role on user_service_accounts[0] and user_service_accounts[0]
    should be granted the Service Account Token Creator role on
    user_service_accounts[1].
  vmImage: The name of the image used by each VM.
  zones: Optional. Zones in the region where the pool VMs should be. Leave
    empty for no restrictions.
r|   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
FGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.LabelsValuei	  a  Labels associated with the workers. Label keys and values can be no
longer than 63 characters, can only contain lowercase letters, numeric
characters, underscores and dashes. International letters are permitted.
Label keys must start with a letter. Label values are optional. There can
not be more than 64 labels per resource.

Messages:
  AdditionalProperty: An additional property for a LabelsValue object.

Fields:
  additionalProperties: Additional properties of type LabelsValue
c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)YGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.LabelsValue.AdditionalPropertyi	  zAn additional property for a LabelsValue object.

Fields:
  key: Name of the additional property.
  value: A string attribute.
r   r   r   N)
r   r   r   r   r   r   r"   r   rZ   r$   r   r%   r&   r   r  	  s)    
 !!!$c##A&er%   r   r   Tr.   r   Nr   r   r%   r&   LabelsValuer  	  s2    	'Y.. 	' %112FTXYr%   r  r  r   r  r   r   r   r   r   r2   r3   r4   r5   r6   r   r  Tr.   r	  r
  r   N)r   r   r   r   r   r   r   r   r   r  r   acceleratorattachedDisksr8   r  r"   r  labelsmachineTypemaxConcurrentActionsminCpuPlatformr>  networkAllowlistr   reservedsoleTenantNodeTypeuserServiceAccountsvmImagezonesr$   r   r%   r&   r  r  I	  s<   :x !!"89ZI%% Z :Z6 &&'hjkl+(()^`ab-%%a(*""1%(!!-3&%%a(+"//2((+.''*-**2.##B'( ,,R0!--b4@!!"%'


T
2%r%   r  c                   D   \ rS rSrSr " S S\R                  5      r\R                  " SS5      r	\R                  " S5      r\R                  " S5      r\R                  " S	5      r\R                  " SS
5      r\R                  " SS5      r\R"                  " S5      rSrg)r  i	  aH  A worker pool resource in the Remote Build Execution API.

Enums:
  StateValueValuesEnum: Output only. State of the worker pool.

Fields:
  autoscale: The autoscale policy to apply on a pool.
  channel: Channel specifies the release channel of the pool.
  hostOs: HostOS specifies the OS version of the image for the worker VMs.
  name: WorkerPool resource name formatted as:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
    name should not be populated when creating a worker pool since it is
    provided in the `poolId` field.
  state: Output only. State of the worker pool.
  workerConfig: Specifies the properties, such as machine type and disk
    size, used for creating workers in a worker pool.
  workerCount: The desired number of workers in the worker pool. Must be a
    value between 0 and 15000.
c                   0    \ rS rSrSrSrSrSrSrSr	Sr
S	rg
)MGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool.StateValueValuesEnumi	  aX  Output only. State of the worker pool.

Values:
  STATE_UNSPECIFIED: Not a valid state, but the default value of the enum.
  CREATING: The worker pool is in state `CREATING` once `CreateWorkerPool`
    is called and before all requested workers are ready.
  RUNNING: The worker pool is in state `RUNNING` when all its workers are
    ready for use.
  UPDATING: The worker pool is in state `UPDATING` once `UpdateWorkerPool`
    is called and before the new configuration has all the requested
    workers ready for use, and no older configuration has any workers. At
    that point the state transitions to `RUNNING`.
  DELETING: The worker pool is in state `DELETING` once the `Delete`
    method is called and before the deletion completes.
  INACTIVE: The worker pool is in state `INACTIVE` when the instance
    hosting the worker pool in not running.
r   r   r   r   r   r   r   N)r   r   r   r   r   rT  rU  rV  UPDATINGDELETINGrW  r$   r   r%   r&   rX  r  	  s(    " HGHHHr%   rX  r  r   r   r   r   r   r  r   r2   r   N)r   r   r   r   r   r   rO   rX  r   	autoscaler"   channelhostOsrY   rR   rb  workerConfigr8   workerCountr$   r   r%   r&   r  r  	  s    (Y^^ 2 $$%^`ab)!!!$'  #&			q	!$


4a
8%''(dfgh,&&q)+r%   r  c                       \ rS rSrSr " S S\R                  5      r\R                  " S\R                  R                  S9r\R                  " S5      r\R                  " SS5      rS	rg
)r\  i	  a  ZoneDrain indicates a zone that should be drained (no new tasks should
be assigned to all or part of the workers in it).

Enums:
  ZoneTypeValueValuesEnum: Optional. Type of zone for validation purposes.

Fields:
  percent: Optional. The percentage of workers in the zone to drain, from 0
    (no workers drained) to 100 (all workers drained).
  zone: Required. The zone to drain.
  zoneType: Optional. Type of zone for validation purposes.
c                        \ rS rSrSrSrSrSrg)OGoogleDevtoolsRemotebuildexecutionAdminV1alphaZoneDrain.ZoneTypeValueValuesEnumi	  zOptional. Type of zone for validation purposes.

Values:
  ZONE_TYPE_UNSPECIFIED: When unspecified, defaults to GCE zone type.
  ZONE_TYPE_GCE: Validate as GCE zone.
r   r   r   N)r   r   r   r   r   ZONE_TYPE_UNSPECIFIEDZONE_TYPE_GCEr$   r   r%   r&   ZoneTypeValueValuesEnumr  	  s     Mr%   r  r   r+   r   r   r   N)r   r   r   r   r   r   rO   r  r8   r9   r:   percentr"   zonerR   zoneTyper$   r   r%   r&   r\  r\  	  sZ    	  ""1i.?.?.E.EF'			q	!$  !:A>(r%   r\  c                       \ rS rSrSr " S S\R                  5      r\R                  " S5      r	\R                  " SS5      rSrg)	+GoogleDevtoolsRemoteworkersV1test2AdminTempi
  aa  AdminTemp is a prelimiary set of administration tasks. It's called
"Temp" because we do not yet know the best way to represent admin tasks;
it's possible that this will be entirely replaced in later versions of this
API. If this message proves to be sufficient, it will be renamed in the
alpha or beta release of this API. This message (suitably marshalled into a
protobuf.Any) can be used as the inline_assignment field in a lease; the
lease assignment field should simply be `"admin"` in these cases. This
message is heavily based on Swarming administration tasks from the LUCI
project (http://github.com/luci/luci-py/appengine/swarming).

Enums:
  CommandValueValuesEnum: The admin action; see `Command` for legal values.

Fields:
  arg: The argument to the admin action; see `Command` for semantics.
  command: The admin action; see `Command` for legal values.
c                   ,    \ rS rSrSrSrSrSrSrSr	Sr
g	)
BGoogleDevtoolsRemoteworkersV1test2AdminTemp.CommandValueValuesEnumi
  aN  The admin action; see `Command` for legal values.

Values:
  UNSPECIFIED: Illegal value.
  BOT_UPDATE: Download and run a new version of the bot. `arg` will be a
    resource accessible via `ByteStream.Read` to obtain the new bot code.
  BOT_RESTART: Restart the bot without downloading a new version. `arg`
    will be a message to log.
  BOT_TERMINATE: Shut down the bot. `arg` will be a task resource name
    (similar to those in tasks.proto) that the bot can use to tell the
    server that it is terminating.
  HOST_RESTART: Restart the host computer. `arg` will be a message to log.
r   r   r   r   r   r   N)r   r   r   r   r   r  
BOT_UPDATEBOT_RESTARTBOT_TERMINATEHOST_RESTARTr$   r   r%   r&   CommandValueValuesEnumr  
  s"     KJKMLr%   r  r   r   r   N)r   r   r   r   r   r   rO   r  r"   argrR   commandr$   r   r%   r&   r  r  
  s<    $y~~ ( 	a # 8!<'r%   r  c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)&GoogleDevtoolsRemoteworkersV1test2Blobi2
  zDescribes a blob of binary content with its digest.

Fields:
  contents: The contents of the blob.
  digest: The digest of the blob. This should be verified by the receiver.
r   (GoogleDevtoolsRemoteworkersV1test2Digestr   r   N)r   r   r   r   r   r   r    r   r   rj   r$   r   r%   r&   r  r  2
  s,     !!!$(!!"LaP&r%   r  c                       \ rS rSrSr\R                  " S\R                  R                  S9r	\R                  " SS5      rSrg)	0GoogleDevtoolsRemoteworkersV1test2CommandOutputsi>
  ay  DEPRECATED - use CommandResult instead. Describes the actual outputs
from the task.

Fields:
  exitCode: exit_code is only fully reliable if the status' code is OK. If
    the task exceeded its deadline or was cancelled, the process may still
    produce an exit code as it is cancelled, and this will be populated, but
    a successful (zero) is unlikely to be correct unless the status code is
    OK.
  outputs: The output files. The blob referenced by the digest should
    contain one of the following (implementation-dependent): * A marshalled
    DirectoryMetadata of the returned filesystem * A LUCI-style .isolated
    file
r   r+   r  r   r   N)r   r   r   r   r   r   r8   r9   r:   r;   r   outputsr$   r   r%   r&   r  r  >
  s:     ##Ay/@/@/F/FG(""#MqQ'r%   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)1GoogleDevtoolsRemoteworkersV1test2CommandOverheadiR
  a  DEPRECATED - use CommandResult instead. Can be used as part of
CompleteRequest.metadata, or are part of a more sophisticated message.

Fields:
  duration: The elapsed time between calling Accept and Complete. The server
    will also have its own idea of what this should be, but this excludes
    the overhead of the RPCs and the bot response time.
  overhead: The amount of time *not* spent executing the command (ie
    uploading/downloading files).
r   r   r   N)
r   r   r   r   r   r   r"   durationoverheadr$   r   r%   r&   r  r  R
  s)    	 ""1%(""1%(r%   r  c                   n   \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S5      r\R                  " S\R                  R                  S9r\R                   " SS	S
S9r\R                   " SS5      r\R                  " S5      r\R                   " SS5      rSrg)/GoogleDevtoolsRemoteworkersV1test2CommandResultib
  a  All information about the execution of a command, suitable for providing
as the Bots interface's `Lease.result` field.

Messages:
  MetadataValueListEntry: A MetadataValueListEntry object.

Fields:
  duration: The elapsed time between calling Accept and Complete. The server
    will also have its own idea of what this should be, but this excludes
    the overhead of the RPCs and the bot response time.
  exitCode: The exit code of the process. An exit code of "0" should only be
    trusted if `status` has a code of OK (otherwise it may simply be unset).
  metadata: Implementation-dependent metadata about the task. Both servers
    and bots may define messages which can be encoded here; bots are free to
    provide metadata in multiple formats, and servers are free to choose one
    or more of the values to process and ignore others. In particular, it is
    *not* considered an error for the bot to provide the server with a field
    that it doesn't know about.
  outputs: The output files. The blob referenced by the digest should
    contain one of the following (implementation-dependent): * A marshalled
    DirectoryMetadata of the returned filesystem * A LUCI-style .isolated
    file
  overhead: The amount of time *not* spent executing the command (ie
    uploading/downloading files).
  status: An overall status for the command. For example, if the command
    timed out, this might have a code of DEADLINE_EXCEEDED; if it was killed
    by the OS for memory exhaustion, it might have a code of
    RESOURCE_EXHAUSTED.
r|   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
FGoogleDevtoolsRemoteworkersV1test2CommandResult.MetadataValueListEntryi
  zA MetadataValueListEntry object.

Messages:
  AdditionalProperty: An additional property for a MetadataValueListEntry
    object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)YGoogleDevtoolsRemoteworkersV1test2CommandResult.MetadataValueListEntry.AdditionalPropertyi
  zAn additional property for a MetadataValueListEntry object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   r   r   r   Nr   r   r%   r&   r   r  
  r   r%   r   r   Tr.   r   Nr   r   r%   r&   MetadataValueListEntryr  
  r   r%   r  r   r   r+   r   Tr.   r  r   r   r   r   r   N)r   r   r   r   r   r   r   r   r   r  r"   r  r8   r9   r:   r;   r   metadatar  r  r   r$   r   r%   r&   r  r  b
  s    < !!"89Zy00 Z :Z2 ""1%(##Ay/@/@/F/FG(##$<a$O(""#MqQ'""1%(!!"3Q7&r%   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " SS5      r\R                  " SS5      r	S	r
g
)-GoogleDevtoolsRemoteworkersV1test2CommandTaski
  zDescribes a shell-style task to execute, suitable for providing as the
Bots interface's `Lease.payload` field.

Fields:
  expectedOutputs: The expected outputs from the task.
  inputs: The inputs to the task.
  timeouts: The timeouts of this task.
4GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputsr   3GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsr   5GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeoutsr   r   N)r   r   r   r   r   r   r   expectedOutputsinputstimeoutsr$   r   r%   r&   r  r  
  sE     **+acde/!!"WYZ[&##$[]^_(r%   r  c                       \ rS rSrSr\R                  " SSS9r\R                  " SSSS9r	\R                  " SS	SS9r
\R                  " S
SSS9r\R                  " SS5      r\R                  " S5      rSrg)r  i
  a  Describes the inputs to a shell-style task.

Fields:
  arguments: The command itself to run (e.g., argv). This field should be
    passed directly to the underlying operating system, and so it must be
    sensible to that operating system. For example, on Windows, the first
    argument might be "C:\Windows\System32\ping.exe" - that is, using drive
    letters and backslashes. A command for a *nix system, on the other hand,
    would use forward slashes. All other fields in the RWAPI must
    consistently use forward slashes, since those fields may be interpreted
    by both the service and the bot.
  environmentVariables: All environment variables required by the task.
  files: The input filesystem to be set up prior to the task beginning. The
    contents should be a repeated set of FileMetadata messages though other
    formats are allowed if better for the implementation (eg, a LUCI-style
    .isolated file). This field is repeated since implementations might want
    to cache the metadata, in which case it may be useful to break up
    portions of the filesystem that change frequently (eg, specific input
    files) from those that don't (eg, standard header files).
  inlineBlobs: Inline contents for blobs expected to be needed by the bot to
    execute the task. For example, contents of entries in `files` or blobs
    that are indirectly referenced by an entry there. The bot should check
    against this list before downloading required task inputs to reduce the
    number of communications between itself and the remote CAS server.
  inputRootDigest: The digest of the Merkle tree root of the inputs to the
    task. If present, the 'files' field should be empty.
  workingDirectory: Directory from which a command is executed. It is a
    relative directory with respect to the bot's working directory (i.e.,
    "./"). If it is non-empty, then it must exist under "./". Otherwise,
    "./" will be used.
r   Tr.   FGoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariabler   r  r   r  r   r   r   r   N)r   r   r   r   r   r   r"   rP   r   rQ   rf   inlineBlobsr   rV   r$   r   r%   r&   r  r  
  s    @ ##A5)"//0xz{  GK  L

 
 !KQY]
^%&&'OQR]ab+**+UWXY/**1-r%   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)r  i
  zlAn environment variable required by this task.

Fields:
  name: The envvar name.
  value: The envvar value.
r   r   r   NrX   r   r%   r&   r  r  
  s)     
		q	!$



"%r%   r  c                       \ rS rSrSr\R                  " SSS9r\R                  " SSS9r\R                  " S5      r	\R                  " S5      r
S	rg
)r  i
  a  Describes the expected outputs of the command.

Fields:
  directories: A list of expected directories, relative to the execution
    root. All paths MUST be delimited by forward slashes.
  files: A list of expected files, relative to the execution root. All paths
    MUST be delimited by forward slashes.
  stderrDestination: The destination to which any stderr should be sent. The
    method by which the bot should send the stream contents to that
    destination is not defined in this API. As examples, the destination
    could be a file referenced in the `files` field in this message, or it
    could be a URI that must be written via the ByteStream API.
  stdoutDestination: The destination to which any stdout should be sent. The
    method by which the bot should send the stream contents to that
    destination is not defined in this API. As examples, the destination
    could be a file referenced in the `files` field in this message, or it
    could be a URI that must be written via the ByteStream API.
r   Tr.   r   r   r   r   N)r   r   r   r   r   r   r"   re   rf   stderrDestinationstdoutDestinationr$   r   r%   r&   r  r  
  sO    & %%a$7+


D
1%++A.++A.r%   r  c                       \ rS rSrSr\R                  " S5      r\R                  " S5      r\R                  " S5      r	Sr
g)r  i  a  Describes the timeouts associated with this task.

Fields:
  execution: This specifies the maximum time that the task can run,
    excluding the time required to download inputs or upload outputs. That
    is, the worker will terminate the task if it runs longer than this.
  idle: This specifies the maximum amount of time the task can be idle -
    that is, go without generating some output in either stdout or stderr.
    If the process is silent for more than the specified time, the worker
    will terminate the task.
  shutdown: If the execution or IO timeouts are exceeded, the worker will
    try to gracefully terminate the task and return any existing logs.
    However, tasks may be hard-frozen in which case this process will fail.
    This timeout specifies how long to wait for a terminated task to shut
    down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g.
    SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).
r   r   r   r   N)r   r   r   r   r   r   r"   r   idleshutdownr$   r   r%   r&   r  r    s9    $ ##A&)			q	!$""1%(r%   r  c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      r	Sr
g)r  i  a  The CommandTask and CommandResult messages assume the existence of a
service that can serve blobs of content, identified by a hash and size known
as a "digest." The method by which these blobs may be retrieved is not
specified here, but a model implementation is in the Remote Execution API's
"ContentAddressibleStorage" interface. In the context of the RWAPI, a Digest
will virtually always refer to the contents of a file or a directory. The
latter is represented by the byte-encoded Directory message.

Fields:
  hash: A string-encoded hash (eg "1a2b3c", not the byte array [0x1a, 0x2b,
    0x3c]) using an implementation-defined hash algorithm (eg SHA-256).
  sizeBytes: The size of the contents. While this is not strictly required
    as part of an identifier (after all, any given hash will have exactly
    one canonical size), it's useful in almost all cases when one might want
    to send or retrieve blobs of content and is included here for this
    reason.
r   r   r   Nr\   r   r%   r&   r  r    s)    $ 
		q	!$$$Q')r%   r  c                   `    \ rS rSrSr\R                  " SSSS9r\R                  " SSSS9rS	r	g
)+GoogleDevtoolsRemoteworkersV1test2Directoryi0  zThe contents of a directory. Similar to the equivalent message in the
Remote Execution API.

Fields:
  directories: Any subdirectories
  files: The files in this directory
3GoogleDevtoolsRemoteworkersV1test2DirectoryMetadatar   Tr.   .GoogleDevtoolsRemoteworkersV1test2FileMetadatar   r   N)
r   r   r   r   r   r   r   re   rf   r$   r   r%   r&   r  r  0  s7     &&'\^_jno+

 
 !QST_c
d%r%   r  c                   b    \ rS rSrSr\R                  " SS5      r\R                  " S5      r	Sr
g)r  i=  a  The metadata for a directory. Similar to the equivalent message in the
Remote Execution API.

Fields:
  digest: A pointer to the contents of the directory, in the form of a
    marshalled Directory message.
  path: The path of the directory, as in FileMetadata.path.
r  r   r   r   N)r   r   r   r   r   r   r   rj   r"   r   r$   r   r%   r&   r  r  =  s,     !!"LaP&			q	!$r%   r  c                       \ rS rSrSr\R                  " S5      r\R                  " SS5      r	\R                  " S5      r\R                  " S5      rSrg	)
r  iK  a  The metadata for a file. Similar to the equivalent message in the Remote
Execution API.

Fields:
  contents: If the file is small enough, its contents may also or
    alternatively be listed here.
  digest: A pointer to the contents of the file. The method by which a
    client retrieves the contents from a CAS system is not defined here.
  isExecutable: Properties of the file
  path: The path of this file. If this message is part of the
    CommandOutputs.outputs fields, the path is relative to the execution
    root and must correspond to an entry in CommandTask.outputs.files. If
    this message is part of a Directory message, then the path is relative
    to the root of that directory. All paths MUST be delimited by forward
    slashes.
r   r  r   r   r   r   N)r   r   r   r   r   r   r    r   r   rj   r   r   r"   r   r$   r   r%   r&   r  r  K  sL    " !!!$(!!"LaP&''*,			q	!$r%   r  c                   z   \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S5       " S S\R                  5      5       r
\R                  " S5      r\R                  " S	S
5      r\R                  " SS5      r\R                   " S5      r\R                  " SS5      rSrg)GoogleLongrunningOperationic  a  This resource represents a long-running operation that is the result of
a network API call.

Messages:
  MetadataValue: Service-specific metadata associated with the operation. It
    typically contains progress information and common metadata such as
    create time. Some services might not provide such metadata. Any method
    that returns a long-running operation should document the metadata type,
    if any.
  ResponseValue: The normal, successful response of the operation. If the
    original method returns no data on success, such as `Delete`, the
    response is `google.protobuf.Empty`. If the original method is standard
    `Get`/`Create`/`Update`, the response should be the resource. For other
    methods, the response should have the type `XxxResponse`, where `Xxx` is
    the original method name. For example, if the original method name is
    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

Fields:
  done: If the value is `false`, it means the operation is still in
    progress. If `true`, the operation is completed, and either `error` or
    `response` is available.
  error: The error result of the operation in case of failure or
    cancellation.
  metadata: Service-specific metadata associated with the operation. It
    typically contains progress information and common metadata such as
    create time. Some services might not provide such metadata. Any method
    that returns a long-running operation should document the metadata type,
    if any.
  name: The server-assigned name, which is only unique within the same
    service that originally returns it. If you use the default HTTP mapping,
    the `name` should be a resource name ending with
    `operations/{unique_id}`.
  response: The normal, successful response of the operation. If the
    original method returns no data on success, such as `Delete`, the
    response is `google.protobuf.Empty`. If the original method is standard
    `Get`/`Create`/`Update`, the response should be the resource. For other
    methods, the response should have the type `XxxResponse`, where `Xxx` is
    the original method name. For example, if the original method name is
    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
r|   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
(GoogleLongrunningOperation.MetadataValuei  a  Service-specific metadata associated with the operation. It typically
contains progress information and common metadata such as create time.
Some services might not provide such metadata. Any method that returns a
long-running operation should document the metadata type, if any.

Messages:
  AdditionalProperty: An additional property for a MetadataValue object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g);GoogleLongrunningOperation.MetadataValue.AdditionalPropertyi  zAn additional property for a MetadataValue object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   r   r   r   Nr   r   r%   r&   r   r    r   r%   r   r   Tr.   r   Nr   r   r%   r&   MetadataValuer    s4    	AY.. 	A %112FTXYr%   r  c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
(GoogleLongrunningOperation.ResponseValuei  a  The normal, successful response of the operation. If the original
method returns no data on success, such as `Delete`, the response is
`google.protobuf.Empty`. If the original method is standard
`Get`/`Create`/`Update`, the response should be the resource. For other
methods, the response should have the type `XxxResponse`, where `Xxx` is
the original method name. For example, if the original method name is
`TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

Messages:
  AdditionalProperty: An additional property for a ResponseValue object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g);GoogleLongrunningOperation.ResponseValue.AdditionalPropertyi  zAn additional property for a ResponseValue object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   r   r   r   Nr   r   r%   r&   r   r    r   r%   r   r   Tr.   r   Nr   r   r%   r&   ResponseValuer    s4     	AY.. 	A %112FTXYr%   r  r   r   r   r   r   r   r   N)r   r   r   r   r   r   r   r   r   r  r  r   doner   errorr  r"   rY   responser$   r   r%   r&   r  r  c  s    'R !!"89Zi'' Z :Z6 !!"89Zi'' Z :Z< 
			"$

 
 !2A
6%##OQ7(			q	!$##OQ7(r%   r  c                       \ rS rSrSrSrg)GoogleProtobufEmptyi  a  A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs. A typical example is to use it as the request
or the response type of an API method. For instance: service Foo { rpc
Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
r   Nr  r   r%   r&   r  r    s    r%   r  c                       \ rS rSrSr\R                  " S5       " S S\R                  5      5       r	\R                  " S\R                  R                  S9r\R                  " SSS	S
9r\R                   " S5      rSrg)r   i  a  The `Status` type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by [gRPC](https://github.com/grpc). Each `Status` message contains
three pieces of data: error code, error message, and error details. You can
find out more about this error model and how to work with it in the [API
Design Guide](https://cloud.google.com/apis/design/errors).

Messages:
  DetailsValueListEntry: A DetailsValueListEntry object.

Fields:
  code: The status code, which should be an enum value of google.rpc.Code.
  details: A list of messages that carry the error details. There is a
    common set of message types for APIs to use.
  message: A developer-facing error message, which should be in English. Any
    user-facing error message should be localized and sent in the
    google.rpc.Status.details field, or localized by the client.
r|   c                   f    \ rS rSrSr " S S\R                  5      r\R                  " SSSS9r	Sr
g	)
%GoogleRpcStatus.DetailsValueListEntryi  zA DetailsValueListEntry object.

Messages:
  AdditionalProperty: An additional property for a DetailsValueListEntry
    object.

Fields:
  additionalProperties: Properties of the object. Contains field @type
    with type URL.
c                   b    \ rS rSrSr\R                  " S5      r\R                  " SS5      r	Sr
g)8GoogleRpcStatus.DetailsValueListEntry.AdditionalPropertyi  zAn additional property for a DetailsValueListEntry object.

Fields:
  key: Name of the additional property.
  value: A extra_types.JsonValue attribute.
r   r   r   r   Nr   r   r%   r&   r   r    r   r%   r   r   Tr.   r   Nr   r   r%   r&   DetailsValueListEntryr    r   r%   r  r   r+   r   Tr.   r   r   N)r   r   r   r   r   r   r   r   r   r  r8   r9   r:   rv  r   detailsr"   r   r$   r   r%   r&   r   r     s|    & !!"89Zi// Z :Z2 
		9+<+<+B+B	C$""#:AM'!!!$'r%   r   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
CRemotebuildexecutionProjectsInstancesCreateBackendIAMBindingRequesti  a  A RemotebuildexecutionProjectsInstancesCreateBackendIAMBindingRequest
object.

Fields:
  googleDevtoolsRemotebuildexecutionAdminV1alphaCreateBackendIAMBindingReque
    st: A GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateBackendIAMBind
    ingRequest resource to be passed as the request body.
  parent: Required. Name of the instance to create a backend project IAM
    binding for. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID]
r  r   r   Trequiredr   N)r   r   r   r   r   r   r   LgoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateBackendIAMBindingRequestr"   r  r$   r   r%   r&   r  r    >    	 R[QgQg  iw  yz  R{N  T2&r%   r  c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
5RemotebuildexecutionProjectsInstancesCreateTBIRequesti  a~  A RemotebuildexecutionProjectsInstancesCreateTBIRequest object.

Fields:
  googleDevtoolsRemotebuildexecutionAdminV1alphaCreateTbiInstanceRequest: A
    GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateTbiInstanceRequest
    resource to be passed as the request body.
  parent: Required. Resource name of the project containing the instance.
    Format: `projects/[PROJECT_ID]`.
r  r   r   Tr  r   N)r   r   r   r   r   r   r   FgoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateTbiInstanceRequestr"   r  r$   r   r%   r&   r  r    s>     LUKaKa  ck  mn  LoH  T2&r%   r  c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
CRemotebuildexecutionProjectsInstancesDeleteBackendIAMBindingRequesti*  a  A RemotebuildexecutionProjectsInstancesDeleteBackendIAMBindingRequest
object.

Fields:
  googleDevtoolsRemotebuildexecutionAdminV1alphaDeleteBackendIAMBindingReque
    st: A GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteBackendIAMBind
    ingRequest resource to be passed as the request body.
  parent: Required. Name of the instance to delete a backend project IAM
    binding for. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID]
r  r   r   Tr  r   N)r   r   r   r   r   r   r   LgoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteBackendIAMBindingRequestr"   r  r$   r   r%   r&   r  r  *  r  r%   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg)2RemotebuildexecutionProjectsInstancesDeleteRequesti:  zA RemotebuildexecutionProjectsInstancesDeleteRequest object.

Fields:
  name: Required. Name of the instance to delete. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
r   Tr  r   Nr  r   r%   r&   r	  r	  :       
		q4	0$r%   r	  c                   :    \ rS rSrSr\R                  " SSS9rSrg)/RemotebuildexecutionProjectsInstancesGetRequestiE  zA RemotebuildexecutionProjectsInstancesGetRequest object.

Fields:
  name: Required. Name of the instance to retrieve. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
r   Tr  r   Nr  r   r%   r&   r  r  E  r
  r%   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg)0RemotebuildexecutionProjectsInstancesListRequestiP  zA RemotebuildexecutionProjectsInstancesListRequest object.

Fields:
  parent: Required. Resource name of the project. Format:
    `projects/[PROJECT_ID]`.
r   Tr  r   Nrg  r   r%   r&   r  r  P  s       T2&r%   r  c                       \ rS rSrSr\R                  " SS5      r\R                  " S5      r	\R                  " SSS9r\R                  " S	5      r\R                  " S
5      rSrg)1RemotebuildexecutionProjectsInstancesPatchRequesti[  a  A RemotebuildexecutionProjectsInstancesPatchRequest object.

Fields:
  googleDevtoolsRemotebuildexecutionAdminV1alphaInstance: A
    GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance resource to be
    passed as the request body.
  loggingEnabled: Deprecated, use instance.logging_enabled instead. Whether
    to enable Stackdriver logging for this instance.
  name: Output only. Instance resource name formatted as:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be
    populated when creating an instance since it is provided in the
    `instance_id` field.
  name1: Deprecated, use instance.Name instead. Name of the instance to
    update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
  updateMask: The update mask applies to instance. For the `FieldMask`
    definition, see https://developers.google.com/protocol-
    buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask
    is provided, only the non-default valued field in the worker pool field
    will be updated. Note that in order to update a field to the default
    value (zero, false, empty string) an explicit update_mask must be
    provided.
r  r   r   r   Tr  r   r   r   N)r   r   r   r   r   r   r   6googleDevtoolsRemotebuildexecutionAdminV1alphaInstancer   r`  r"   rY   name1r  r$   r   r%   r&   r  r  [  sl    . <E;Q;Q  SK  MN  <O8))!,.			q4	0$



"%$$Q'*r%   r  c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
6RemotebuildexecutionProjectsInstancesTestNotifyRequestiz  a  A RemotebuildexecutionProjectsInstancesTestNotifyRequest object.

Fields:
  googleDevtoolsRemotebuildexecutionAdminV1alphaTestNotifyInstanceRequest: A
    GoogleDevtoolsRemotebuildexecutionAdminV1alphaTestNotifyInstanceRequest
    resource to be passed as the request body.
  name: Name of the instance for which to send a test notification. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
r  r   r   Tr  r   N)r   r   r   r   r   r   r   GgoogleDevtoolsRemotebuildexecutionAdminV1alphaTestNotifyInstanceRequestr"   rY   r$   r   r%   r&   r  r  z  s>     MVLbLb  dm  op  MqI			q4	0$r%   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg)=RemotebuildexecutionProjectsInstancesWorkerpoolsDeleteRequesti  zA RemotebuildexecutionProjectsInstancesWorkerpoolsDeleteRequest object.

Fields:
  name: Name of the worker pool to delete. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
r   Tr  r   Nr  r   r%   r&   r  r    r
  r%   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg):RemotebuildexecutionProjectsInstancesWorkerpoolsGetRequesti  zA RemotebuildexecutionProjectsInstancesWorkerpoolsGetRequest object.

Fields:
  name: Name of the worker pool to retrieve. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
r   Tr  r   Nr  r   r%   r&   r  r    r
  r%   r  c                   ^    \ rS rSrSr\R                  " S5      r\R                  " SSS9rSr	g)	;RemotebuildexecutionProjectsInstancesWorkerpoolsListRequesti  a#  A RemotebuildexecutionProjectsInstancesWorkerpoolsListRequest object.

Fields:
  filter: Optional. A filter expression that filters resources listed in the
    response. The expression must specify the field name, a comparison
    operator, and the value that you want to use for filtering. The value
    must be a string, a number, or a boolean. String values are case-
    insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`,
    `>=`, `<=` or `<`. The `:` operator can be used with string fields to
    match substrings. For non-string fields it is equivalent to the `=`
    operator. The `:*` comparison can be used to test whether a key has been
    defined. You can also filter on nested fields. To filter on multiple
    expressions, you can separate expression using `AND` and `OR` operators,
    using parentheses to specify precedence. If neither operator is
    specified, `AND` is assumed. Examples: Include only pools with more than
    100 reserved workers: `(worker_count > 100) (worker_config.reserved =
    true)` Include only pools with a certain label or machines of the
    e2-standard family: `worker_config.labels.key1 : * OR
    worker_config.machine_type: e2-standard`
  parent: Resource name of the instance. Format:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
r   r   Tr  r   Nrn  r   r%   r&   r  r    s+    .   #&  T2&r%   r  c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
<RemotebuildexecutionProjectsInstancesWorkerpoolsPatchRequesti  a  A RemotebuildexecutionProjectsInstancesWorkerpoolsPatchRequest object.

Fields:
  googleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest: A
    GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest
    resource to be passed as the request body.
  name: WorkerPool resource name formatted as:
    `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
    name should not be populated when creating a worker pool since it is
    provided in the `poolId` field.
r  r   r   Tr  r   N)r   r   r   r   r   r   r   EgoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequestr"   rY   r$   r   r%   r&   r  r    s>    
 KTJ`J`  bi  kl  KmG			q4	0$r%   r  c                   :    \ rS rSrSr\R                  " SSS9rSrg)0RemotebuildexecutionProjectsOperationsGetRequesti  zpA RemotebuildexecutionProjectsOperationsGetRequest object.

Fields:
  name: The name of the operation resource.
r   Tr  r   Nr  r   r%   r&   r   r     s     
		q4	0$r%   r   c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " SS	S
S9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R$                  " SSS9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)StandardQueryParametersi  a  Query parameters accepted by all methods.

Enums:
  FXgafvValueValuesEnum: V1 error format.
  AltValueValuesEnum: Data format for response.

Fields:
  f__xgafv: V1 error format.
  access_token: OAuth access token.
  alt: Data format for response.
  callback: JSONP
  fields: Selector specifying which fields to include in a partial response.
  key: API key. Your API key identifies your project and provides you with
    API access, quota, and reports. Required unless you provide an OAuth 2.0
    token.
  oauth_token: OAuth 2.0 token for the current user.
  prettyPrint: Returns response with indentations and line breaks.
  quotaUser: Available to use for quota purposes for server-side
    applications. Can be any arbitrary string assigned to a user, but should
    not exceed 40 characters.
  trace: A tracing token of the form "token:<tokenid>" to include in api
    requests.
  uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
  upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
c                   $    \ rS rSrSrSrSrSrSrg)*StandardQueryParameters.AltValueValuesEnumi  zData format for response.

Values:
  json: Responses with Content-Type of application/json
  media: Media download with context-dependent Content-Type
  proto: Responses with Content-Type of application/x-protobuf
r   r   r   r   N)	r   r   r   r   r   jsonmediaprotor$   r   r%   r&   AltValueValuesEnumr$    s     DEEr%   r(  c                        \ rS rSrSrSrSrSrg)-StandardQueryParameters.FXgafvValueValuesEnumi  zFV1 error format.

Values:
  _1: v1 error format
  _2: v2 error format
r   r   r   N)r   r   r   r   r   _1_2r$   r   r%   r&   FXgafvValueValuesEnumr*    s     
B	
Br%   r-  r   r   r   r%  )defaultr   r   r   r2   r3   Tr4   r5   r6   r   r   N)r   r   r   r   r   r   rO   r(  r-  rR   f__xgafvr"   access_tokenaltcallbackfieldsr   oauth_tokenr   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr$   r   r%   r&   r"  r"    s    4
9>> 
inn    !8!<(&&q),0!VD#""1%(  #&a #%%a(+&&q$7+##A&)



#%$$R(*))"-/r%   r"  r/  z$.xgafvr+  1r,  2N)pr   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   r   packager   r	   r(   rF   rN   r   r`   ra   rl   r{   r*   rb   r   rc   r   r-   r1   r0   r   r   r   rd   r   r   r   r   r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r.  rL  rN  rP  r  rf  ri  rm  rq  rY  rZ  r[  r  r  r  r  r  r\  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r	  r  r  r  r  r  r  r  r  r   r"  AddCustomJsonFieldMappingAddCustomJsonEnumMappingr-  r   r%   r&   <module>rB     s   ' < % ( !C%	(9(9 C%Lr'i.?.? r'jV.):): V.r
#I<M<M 
#!(	(9(9 !(H'`9+<+< '`T"y/@/@ "(.):K:K (.VH81B1B H8VO3	8I8I O3dZ)*;*; Z ,):): , I	0A0A I#i.?.? #-N1B1B -N`"I,=,= "4$y/@/@ $,g)*;*; g"#)2C2C #4+.1B1B +.\$Y->-> $,	)Y->-> 	)Ki&7&7 K&".93D3D ".J{2	0A0A {2|z%	0A0A z%zM1B1B M("c	0A0A "cJLy7H7H L(	EI4E4E 	E-iFWFW -&i>O>O &$"iFWFW ""yiFWFW y$.S\SdSd .:sS\SdSd s	sT]TeTe 	s$PYPaPa $&$)J[J[ $&OMPYPaPa OMdMMYM^M^ MM`eIL]L] e&sS\SdSd s")J[J[ ""IL]L] "f):K:K f
%)BSBS 
%)	HYHY )jP)BSBS jPZ;IZIZ ;D"yGXGX ""IZIZ "	"y?P?P 	"GtY=N=N GtT$IZIZ $	8)J[J[ 	8$9K\K\ $:uIL]L] u$8ARAR $8N#PYPaPa #$IDUDU $,4iN_N_ 4()J[J[ (0eIL]L] e$g3ARAR g3T4*y?P?P 4*n?i>O>O ?:(=)2C2C (=V	QY->-> 	QRy7H7H R(&	8I8I & >8i6G6G >8B`I4E4E `&.):K:K &.R	#YM^M^ 	#/9;L;L /4&I<M<M &0(y/@/@ (.
e)2C2C 
e"):K:K ""Y5F5F "0i8!2!2 i8X)++ 0%i'' 0%f3)J[J[ 3 3I<M<M 33)J[J[ 3 19J9J 11i6G6G 13y7H7H 3(	8I8I (>1Y=N=N 11IDUDU 11ARAR 13)BSBS 3819CTCT 1"1y7H7H 1<.i// <.~ 	 " "Z4  ! !114>  ! !114>r%   