remote-apis: github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2 Index | Files

package remoteexecution

import "github.com/bazelbuild/remote-apis/build/bazel/remote/execution/v2"

Index

Package Files

remote_execution.pb.go

Variables

var DigestFunction_Value_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "SHA256",
    2:  "SHA1",
    3:  "MD5",
    4:  "VSO",
    5:  "SHA384",
    6:  "SHA512",
    7:  "MURMUR3",
}
var DigestFunction_Value_value = map[string]int32{
    "UNKNOWN": 0,
    "SHA256":  1,
    "SHA1":    2,
    "MD5":     3,
    "VSO":     4,
    "SHA384":  5,
    "SHA512":  6,
    "MURMUR3": 7,
}
var ExecutionStage_Value_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "CACHE_CHECK",
    2:  "QUEUED",
    3:  "EXECUTING",
    4:  "COMPLETED",
}
var ExecutionStage_Value_value = map[string]int32{
    "UNKNOWN":     0,
    "CACHE_CHECK": 1,
    "QUEUED":      2,
    "EXECUTING":   3,
    "COMPLETED":   4,
}
var SymlinkAbsolutePathStrategy_Value_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "DISALLOWED",
    2:  "ALLOWED",
}
var SymlinkAbsolutePathStrategy_Value_value = map[string]int32{
    "UNKNOWN":    0,
    "DISALLOWED": 1,
    "ALLOWED":    2,
}

func RegisterActionCacheServer Uses

func RegisterActionCacheServer(s *grpc.Server, srv ActionCacheServer)

func RegisterCapabilitiesServer Uses

func RegisterCapabilitiesServer(s *grpc.Server, srv CapabilitiesServer)

func RegisterContentAddressableStorageServer Uses

func RegisterContentAddressableStorageServer(s *grpc.Server, srv ContentAddressableStorageServer)

func RegisterExecutionServer Uses

func RegisterExecutionServer(s *grpc.Server, srv ExecutionServer)

type Action Uses

type Action struct {
    // The digest of the [Command][build.bazel.remote.execution.v2.Command]
    // to run, which MUST be present in the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
    CommandDigest *Digest `protobuf:"bytes,1,opt,name=command_digest,json=commandDigest,proto3" json:"command_digest,omitempty"`
    // The digest of the root
    // [Directory][build.bazel.remote.execution.v2.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][build.bazel.remote.execution.v2.ContentAddressableStorage].
    InputRootDigest *Digest `protobuf:"bytes,2,opt,name=input_root_digest,json=inputRootDigest,proto3" json:"input_root_digest,omitempty"`
    // 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 a part of the
    // [Action][build.bazel.remote.execution.v2.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.
    Timeout *duration.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
    // If true, then the `Action`'s result cannot be cached, and in-flight
    // requests for the same `Action` may not be merged.
    DoNotCache bool `protobuf:"varint,7,opt,name=do_not_cache,json=doNotCache,proto3" json:"do_not_cache,omitempty"`
    // 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.
    Salt []byte `protobuf:"bytes,9,opt,name=salt,proto3" json:"salt,omitempty"`
    // 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][build.bazel.remote.execution.v2.Command]. Servers
    // SHOULD prefer those set here.
    Platform             *Platform `protobuf:"bytes,10,opt,name=platform,proto3" json:"platform,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

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][build.bazel.remote.execution.v2.Action], it MAY choose to cache the [result][build.bazel.remote.execution.v2.ActionResult] in the [ActionCache][build.bazel.remote.execution.v2.ActionCache] unless `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By default, future calls to [Execute][build.bazel.remote.execution.v2.Execution.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.

func (*Action) Descriptor Uses

func (*Action) Descriptor() ([]byte, []int)

func (*Action) GetCommandDigest Uses

func (m *Action) GetCommandDigest() *Digest

func (*Action) GetDoNotCache Uses

func (m *Action) GetDoNotCache() bool

func (*Action) GetInputRootDigest Uses

func (m *Action) GetInputRootDigest() *Digest

func (*Action) GetPlatform Uses

func (m *Action) GetPlatform() *Platform

func (*Action) GetSalt Uses

func (m *Action) GetSalt() []byte

func (*Action) GetTimeout Uses

func (m *Action) GetTimeout() *duration.Duration

func (*Action) ProtoMessage Uses

func (*Action) ProtoMessage()

func (*Action) Reset Uses

func (m *Action) Reset()

func (*Action) String Uses

func (m *Action) String() string

func (*Action) XXX_DiscardUnknown Uses

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal Uses

func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Action) XXX_Merge Uses

func (m *Action) XXX_Merge(src proto.Message)

func (*Action) XXX_Size Uses

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal Uses

func (m *Action) XXX_Unmarshal(b []byte) error

type ActionCacheClient Uses

type ActionCacheClient interface {
    // Retrieve a cached execution result.
    //
    // Implementations SHOULD ensure that any blobs referenced from the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage]
    // are available at the time of returning the
    // [ActionResult][build.bazel.remote.execution.v2.ActionResult] and will be
    // for some period of time afterwards. The lifetimes of the referenced blobs SHOULD be increased
    // if necessary and applicable.
    //
    // Errors:
    //
    // * `NOT_FOUND`: The requested `ActionResult` is not in the cache.
    GetActionResult(ctx context.Context, in *GetActionResultRequest, opts ...grpc.CallOption) (*ActionResult, error)
    // Upload a new execution result.
    //
    // In order to allow the server to perform access control based on the type of
    // action, and to assist with client debugging, the client MUST first upload
    // the [Action][build.bazel.remote.execution.v2.Execution] that produced the
    // result, along with its
    // [Command][build.bazel.remote.execution.v2.Command], into the
    // `ContentAddressableStorage`.
    //
    // Server implementations MAY modify the
    // `UpdateActionResultRequest.action_result` and return an equivalent value.
    //
    // Errors:
    //
    // * `INVALID_ARGUMENT`: One or more arguments are invalid.
    // * `FAILED_PRECONDITION`: One or more errors occurred in updating the
    //   action result, such as a missing command or action.
    // * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the
    //   entry to the cache.
    UpdateActionResult(ctx context.Context, in *UpdateActionResultRequest, opts ...grpc.CallOption) (*ActionResult, error)
}

ActionCacheClient is the client API for ActionCache service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewActionCacheClient Uses

func NewActionCacheClient(cc *grpc.ClientConn) ActionCacheClient

type ActionCacheServer Uses

type ActionCacheServer interface {
    // Retrieve a cached execution result.
    //
    // Implementations SHOULD ensure that any blobs referenced from the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage]
    // are available at the time of returning the
    // [ActionResult][build.bazel.remote.execution.v2.ActionResult] and will be
    // for some period of time afterwards. The lifetimes of the referenced blobs SHOULD be increased
    // if necessary and applicable.
    //
    // Errors:
    //
    // * `NOT_FOUND`: The requested `ActionResult` is not in the cache.
    GetActionResult(context.Context, *GetActionResultRequest) (*ActionResult, error)
    // Upload a new execution result.
    //
    // In order to allow the server to perform access control based on the type of
    // action, and to assist with client debugging, the client MUST first upload
    // the [Action][build.bazel.remote.execution.v2.Execution] that produced the
    // result, along with its
    // [Command][build.bazel.remote.execution.v2.Command], into the
    // `ContentAddressableStorage`.
    //
    // Server implementations MAY modify the
    // `UpdateActionResultRequest.action_result` and return an equivalent value.
    //
    // Errors:
    //
    // * `INVALID_ARGUMENT`: One or more arguments are invalid.
    // * `FAILED_PRECONDITION`: One or more errors occurred in updating the
    //   action result, such as a missing command or action.
    // * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the
    //   entry to the cache.
    UpdateActionResult(context.Context, *UpdateActionResultRequest) (*ActionResult, error)
}

ActionCacheServer is the server API for ActionCache service.

type ActionCacheUpdateCapabilities Uses

type ActionCacheUpdateCapabilities struct {
    UpdateEnabled        bool     `protobuf:"varint,1,opt,name=update_enabled,json=updateEnabled,proto3" json:"update_enabled,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Describes the server/instance capabilities for updating the action cache.

func (*ActionCacheUpdateCapabilities) Descriptor Uses

func (*ActionCacheUpdateCapabilities) Descriptor() ([]byte, []int)

func (*ActionCacheUpdateCapabilities) GetUpdateEnabled Uses

func (m *ActionCacheUpdateCapabilities) GetUpdateEnabled() bool

func (*ActionCacheUpdateCapabilities) ProtoMessage Uses

func (*ActionCacheUpdateCapabilities) ProtoMessage()

func (*ActionCacheUpdateCapabilities) Reset Uses

func (m *ActionCacheUpdateCapabilities) Reset()

func (*ActionCacheUpdateCapabilities) String Uses

func (m *ActionCacheUpdateCapabilities) String() string

func (*ActionCacheUpdateCapabilities) XXX_DiscardUnknown Uses

func (m *ActionCacheUpdateCapabilities) XXX_DiscardUnknown()

func (*ActionCacheUpdateCapabilities) XXX_Marshal Uses

func (m *ActionCacheUpdateCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionCacheUpdateCapabilities) XXX_Merge Uses

func (m *ActionCacheUpdateCapabilities) XXX_Merge(src proto.Message)

func (*ActionCacheUpdateCapabilities) XXX_Size Uses

func (m *ActionCacheUpdateCapabilities) XXX_Size() int

func (*ActionCacheUpdateCapabilities) XXX_Unmarshal Uses

func (m *ActionCacheUpdateCapabilities) XXX_Unmarshal(b []byte) error

type ActionResult Uses

type ActionResult struct {
    // 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.
    OutputFiles []*OutputFile `protobuf:"bytes,2,rep,name=output_files,json=outputFiles,proto3" json:"output_files,omitempty"`
    // 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][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
    // 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`.
    OutputFileSymlinks []*OutputSymlink `protobuf:"bytes,10,rep,name=output_file_symlinks,json=outputFileSymlinks,proto3" json:"output_file_symlinks,omitempty"`
    // 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][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
    // 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.
    OutputSymlinks []*OutputSymlink `protobuf:"bytes,12,rep,name=output_symlinks,json=outputSymlinks,proto3" json:"output_symlinks,omitempty"`
    // 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][build.bazel.remote.execution.v2.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.
    OutputDirectories []*OutputDirectory `protobuf:"bytes,3,rep,name=output_directories,json=outputDirectories,proto3" json:"output_directories,omitempty"`
    // 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][build.bazel.remote.execution.v2.CacheCapabilities.SymlinkAbsolutePathStrategy].
    // 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`.
    OutputDirectorySymlinks []*OutputSymlink `protobuf:"bytes,11,rep,name=output_directory_symlinks,json=outputDirectorySymlinks,proto3" json:"output_directory_symlinks,omitempty"`
    // The exit code of the command.
    ExitCode int32 `protobuf:"varint,4,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
    // The standard output buffer of the action. The server SHOULD NOT inline
    // stdout unless requested by the client in the
    // [GetActionResultRequest][build.bazel.remote.execution.v2.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.
    StdoutRaw []byte `protobuf:"bytes,5,opt,name=stdout_raw,json=stdoutRaw,proto3" json:"stdout_raw,omitempty"`
    // The digest for a blob containing the standard output of the action, which
    // can be retrieved from the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
    StdoutDigest *Digest `protobuf:"bytes,6,opt,name=stdout_digest,json=stdoutDigest,proto3" json:"stdout_digest,omitempty"`
    // The standard error buffer of the action. The server SHOULD NOT inline
    // stderr unless requested by the client in the
    // [GetActionResultRequest][build.bazel.remote.execution.v2.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.
    StderrRaw []byte `protobuf:"bytes,7,opt,name=stderr_raw,json=stderrRaw,proto3" json:"stderr_raw,omitempty"`
    // The digest for a blob containing the standard error of the action, which
    // can be retrieved from the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
    StderrDigest *Digest `protobuf:"bytes,8,opt,name=stderr_digest,json=stderrDigest,proto3" json:"stderr_digest,omitempty"`
    // The details of the execution that originally produced this result.
    ExecutionMetadata    *ExecutedActionMetadata `protobuf:"bytes,9,opt,name=execution_metadata,json=executionMetadata,proto3" json:"execution_metadata,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                `json:"-"`
    XXX_unrecognized     []byte                  `json:"-"`
    XXX_sizecache        int32                   `json:"-"`
}

An ActionResult represents the result of an [Action][build.bazel.remote.execution.v2.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.

func (*ActionResult) Descriptor Uses

func (*ActionResult) Descriptor() ([]byte, []int)

func (*ActionResult) GetExecutionMetadata Uses

func (m *ActionResult) GetExecutionMetadata() *ExecutedActionMetadata

func (*ActionResult) GetExitCode Uses

func (m *ActionResult) GetExitCode() int32

func (*ActionResult) GetOutputDirectories Uses

func (m *ActionResult) GetOutputDirectories() []*OutputDirectory
func (m *ActionResult) GetOutputDirectorySymlinks() []*OutputSymlink
func (m *ActionResult) GetOutputFileSymlinks() []*OutputSymlink

func (*ActionResult) GetOutputFiles Uses

func (m *ActionResult) GetOutputFiles() []*OutputFile
func (m *ActionResult) GetOutputSymlinks() []*OutputSymlink

func (*ActionResult) GetStderrDigest Uses

func (m *ActionResult) GetStderrDigest() *Digest

func (*ActionResult) GetStderrRaw Uses

func (m *ActionResult) GetStderrRaw() []byte

func (*ActionResult) GetStdoutDigest Uses

func (m *ActionResult) GetStdoutDigest() *Digest

func (*ActionResult) GetStdoutRaw Uses

func (m *ActionResult) GetStdoutRaw() []byte

func (*ActionResult) ProtoMessage Uses

func (*ActionResult) ProtoMessage()

func (*ActionResult) Reset Uses

func (m *ActionResult) Reset()

func (*ActionResult) String Uses

func (m *ActionResult) String() string

func (*ActionResult) XXX_DiscardUnknown Uses

func (m *ActionResult) XXX_DiscardUnknown()

func (*ActionResult) XXX_Marshal Uses

func (m *ActionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActionResult) XXX_Merge Uses

func (m *ActionResult) XXX_Merge(src proto.Message)

func (*ActionResult) XXX_Size Uses

func (m *ActionResult) XXX_Size() int

func (*ActionResult) XXX_Unmarshal Uses

func (m *ActionResult) XXX_Unmarshal(b []byte) error

type BatchReadBlobsRequest Uses

type BatchReadBlobsRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    // The individual blob digests.
    Digests              []*Digest `protobuf:"bytes,2,rep,name=digests,proto3" json:"digests,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

A request message for [ContentAddressableStorage.BatchReadBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.BatchReadBlobs].

func (*BatchReadBlobsRequest) Descriptor Uses

func (*BatchReadBlobsRequest) Descriptor() ([]byte, []int)

func (*BatchReadBlobsRequest) GetDigests Uses

func (m *BatchReadBlobsRequest) GetDigests() []*Digest

func (*BatchReadBlobsRequest) GetInstanceName Uses

func (m *BatchReadBlobsRequest) GetInstanceName() string

func (*BatchReadBlobsRequest) ProtoMessage Uses

func (*BatchReadBlobsRequest) ProtoMessage()

func (*BatchReadBlobsRequest) Reset Uses

func (m *BatchReadBlobsRequest) Reset()

func (*BatchReadBlobsRequest) String Uses

func (m *BatchReadBlobsRequest) String() string

func (*BatchReadBlobsRequest) XXX_DiscardUnknown Uses

func (m *BatchReadBlobsRequest) XXX_DiscardUnknown()

func (*BatchReadBlobsRequest) XXX_Marshal Uses

func (m *BatchReadBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchReadBlobsRequest) XXX_Merge Uses

func (m *BatchReadBlobsRequest) XXX_Merge(src proto.Message)

func (*BatchReadBlobsRequest) XXX_Size Uses

func (m *BatchReadBlobsRequest) XXX_Size() int

func (*BatchReadBlobsRequest) XXX_Unmarshal Uses

func (m *BatchReadBlobsRequest) XXX_Unmarshal(b []byte) error

type BatchReadBlobsResponse Uses

type BatchReadBlobsResponse struct {
    // The responses to the requests.
    Responses            []*BatchReadBlobsResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
    XXX_unrecognized     []byte                             `json:"-"`
    XXX_sizecache        int32                              `json:"-"`
}

A response message for [ContentAddressableStorage.BatchReadBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.BatchReadBlobs].

func (*BatchReadBlobsResponse) Descriptor Uses

func (*BatchReadBlobsResponse) Descriptor() ([]byte, []int)

func (*BatchReadBlobsResponse) GetResponses Uses

func (m *BatchReadBlobsResponse) GetResponses() []*BatchReadBlobsResponse_Response

func (*BatchReadBlobsResponse) ProtoMessage Uses

func (*BatchReadBlobsResponse) ProtoMessage()

func (*BatchReadBlobsResponse) Reset Uses

func (m *BatchReadBlobsResponse) Reset()

func (*BatchReadBlobsResponse) String Uses

func (m *BatchReadBlobsResponse) String() string

func (*BatchReadBlobsResponse) XXX_DiscardUnknown Uses

func (m *BatchReadBlobsResponse) XXX_DiscardUnknown()

func (*BatchReadBlobsResponse) XXX_Marshal Uses

func (m *BatchReadBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchReadBlobsResponse) XXX_Merge Uses

func (m *BatchReadBlobsResponse) XXX_Merge(src proto.Message)

func (*BatchReadBlobsResponse) XXX_Size Uses

func (m *BatchReadBlobsResponse) XXX_Size() int

func (*BatchReadBlobsResponse) XXX_Unmarshal Uses

func (m *BatchReadBlobsResponse) XXX_Unmarshal(b []byte) error

type BatchReadBlobsResponse_Response Uses

type BatchReadBlobsResponse_Response struct {
    // The digest to which this response corresponds.
    Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
    // The raw binary data.
    Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
    // The result of attempting to download that blob.
    Status               *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

A response corresponding to a single blob that the client tried to download.

func (*BatchReadBlobsResponse_Response) Descriptor Uses

func (*BatchReadBlobsResponse_Response) Descriptor() ([]byte, []int)

func (*BatchReadBlobsResponse_Response) GetData Uses

func (m *BatchReadBlobsResponse_Response) GetData() []byte

func (*BatchReadBlobsResponse_Response) GetDigest Uses

func (m *BatchReadBlobsResponse_Response) GetDigest() *Digest

func (*BatchReadBlobsResponse_Response) GetStatus Uses

func (m *BatchReadBlobsResponse_Response) GetStatus() *status.Status

func (*BatchReadBlobsResponse_Response) ProtoMessage Uses

func (*BatchReadBlobsResponse_Response) ProtoMessage()

func (*BatchReadBlobsResponse_Response) Reset Uses

func (m *BatchReadBlobsResponse_Response) Reset()

func (*BatchReadBlobsResponse_Response) String Uses

func (m *BatchReadBlobsResponse_Response) String() string

func (*BatchReadBlobsResponse_Response) XXX_DiscardUnknown Uses

func (m *BatchReadBlobsResponse_Response) XXX_DiscardUnknown()

func (*BatchReadBlobsResponse_Response) XXX_Marshal Uses

func (m *BatchReadBlobsResponse_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchReadBlobsResponse_Response) XXX_Merge Uses

func (m *BatchReadBlobsResponse_Response) XXX_Merge(src proto.Message)

func (*BatchReadBlobsResponse_Response) XXX_Size Uses

func (m *BatchReadBlobsResponse_Response) XXX_Size() int

func (*BatchReadBlobsResponse_Response) XXX_Unmarshal Uses

func (m *BatchReadBlobsResponse_Response) XXX_Unmarshal(b []byte) error

type BatchUpdateBlobsRequest Uses

type BatchUpdateBlobsRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    // The individual upload requests.
    Requests             []*BatchUpdateBlobsRequest_Request `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
    XXX_unrecognized     []byte                             `json:"-"`
    XXX_sizecache        int32                              `json:"-"`
}

A request message for [ContentAddressableStorage.BatchUpdateBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.BatchUpdateBlobs].

func (*BatchUpdateBlobsRequest) Descriptor Uses

func (*BatchUpdateBlobsRequest) Descriptor() ([]byte, []int)

func (*BatchUpdateBlobsRequest) GetInstanceName Uses

func (m *BatchUpdateBlobsRequest) GetInstanceName() string

func (*BatchUpdateBlobsRequest) GetRequests Uses

func (m *BatchUpdateBlobsRequest) GetRequests() []*BatchUpdateBlobsRequest_Request

func (*BatchUpdateBlobsRequest) ProtoMessage Uses

func (*BatchUpdateBlobsRequest) ProtoMessage()

func (*BatchUpdateBlobsRequest) Reset Uses

func (m *BatchUpdateBlobsRequest) Reset()

func (*BatchUpdateBlobsRequest) String Uses

func (m *BatchUpdateBlobsRequest) String() string

func (*BatchUpdateBlobsRequest) XXX_DiscardUnknown Uses

func (m *BatchUpdateBlobsRequest) XXX_DiscardUnknown()

func (*BatchUpdateBlobsRequest) XXX_Marshal Uses

func (m *BatchUpdateBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateBlobsRequest) XXX_Merge Uses

func (m *BatchUpdateBlobsRequest) XXX_Merge(src proto.Message)

func (*BatchUpdateBlobsRequest) XXX_Size Uses

func (m *BatchUpdateBlobsRequest) XXX_Size() int

func (*BatchUpdateBlobsRequest) XXX_Unmarshal Uses

func (m *BatchUpdateBlobsRequest) XXX_Unmarshal(b []byte) error

type BatchUpdateBlobsRequest_Request Uses

type BatchUpdateBlobsRequest_Request struct {
    // The digest of the blob. This MUST be the digest of `data`.
    Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
    // The raw binary data.
    Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request corresponding to a single blob that the client wants to upload.

func (*BatchUpdateBlobsRequest_Request) Descriptor Uses

func (*BatchUpdateBlobsRequest_Request) Descriptor() ([]byte, []int)

func (*BatchUpdateBlobsRequest_Request) GetData Uses

func (m *BatchUpdateBlobsRequest_Request) GetData() []byte

func (*BatchUpdateBlobsRequest_Request) GetDigest Uses

func (m *BatchUpdateBlobsRequest_Request) GetDigest() *Digest

func (*BatchUpdateBlobsRequest_Request) ProtoMessage Uses

func (*BatchUpdateBlobsRequest_Request) ProtoMessage()

func (*BatchUpdateBlobsRequest_Request) Reset Uses

func (m *BatchUpdateBlobsRequest_Request) Reset()

func (*BatchUpdateBlobsRequest_Request) String Uses

func (m *BatchUpdateBlobsRequest_Request) String() string

func (*BatchUpdateBlobsRequest_Request) XXX_DiscardUnknown Uses

func (m *BatchUpdateBlobsRequest_Request) XXX_DiscardUnknown()

func (*BatchUpdateBlobsRequest_Request) XXX_Marshal Uses

func (m *BatchUpdateBlobsRequest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateBlobsRequest_Request) XXX_Merge Uses

func (m *BatchUpdateBlobsRequest_Request) XXX_Merge(src proto.Message)

func (*BatchUpdateBlobsRequest_Request) XXX_Size Uses

func (m *BatchUpdateBlobsRequest_Request) XXX_Size() int

func (*BatchUpdateBlobsRequest_Request) XXX_Unmarshal Uses

func (m *BatchUpdateBlobsRequest_Request) XXX_Unmarshal(b []byte) error

type BatchUpdateBlobsResponse Uses

type BatchUpdateBlobsResponse struct {
    // The responses to the requests.
    Responses            []*BatchUpdateBlobsResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
    XXX_unrecognized     []byte                               `json:"-"`
    XXX_sizecache        int32                                `json:"-"`
}

A response message for [ContentAddressableStorage.BatchUpdateBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.BatchUpdateBlobs].

func (*BatchUpdateBlobsResponse) Descriptor Uses

func (*BatchUpdateBlobsResponse) Descriptor() ([]byte, []int)

func (*BatchUpdateBlobsResponse) GetResponses Uses

func (m *BatchUpdateBlobsResponse) GetResponses() []*BatchUpdateBlobsResponse_Response

func (*BatchUpdateBlobsResponse) ProtoMessage Uses

func (*BatchUpdateBlobsResponse) ProtoMessage()

func (*BatchUpdateBlobsResponse) Reset Uses

func (m *BatchUpdateBlobsResponse) Reset()

func (*BatchUpdateBlobsResponse) String Uses

func (m *BatchUpdateBlobsResponse) String() string

func (*BatchUpdateBlobsResponse) XXX_DiscardUnknown Uses

func (m *BatchUpdateBlobsResponse) XXX_DiscardUnknown()

func (*BatchUpdateBlobsResponse) XXX_Marshal Uses

func (m *BatchUpdateBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateBlobsResponse) XXX_Merge Uses

func (m *BatchUpdateBlobsResponse) XXX_Merge(src proto.Message)

func (*BatchUpdateBlobsResponse) XXX_Size Uses

func (m *BatchUpdateBlobsResponse) XXX_Size() int

func (*BatchUpdateBlobsResponse) XXX_Unmarshal Uses

func (m *BatchUpdateBlobsResponse) XXX_Unmarshal(b []byte) error

type BatchUpdateBlobsResponse_Response Uses

type BatchUpdateBlobsResponse_Response struct {
    // The blob digest to which this response corresponds.
    Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
    // The result of attempting to upload that blob.
    Status               *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

A response corresponding to a single blob that the client tried to upload.

func (*BatchUpdateBlobsResponse_Response) Descriptor Uses

func (*BatchUpdateBlobsResponse_Response) Descriptor() ([]byte, []int)

func (*BatchUpdateBlobsResponse_Response) GetDigest Uses

func (m *BatchUpdateBlobsResponse_Response) GetDigest() *Digest

func (*BatchUpdateBlobsResponse_Response) GetStatus Uses

func (m *BatchUpdateBlobsResponse_Response) GetStatus() *status.Status

func (*BatchUpdateBlobsResponse_Response) ProtoMessage Uses

func (*BatchUpdateBlobsResponse_Response) ProtoMessage()

func (*BatchUpdateBlobsResponse_Response) Reset Uses

func (m *BatchUpdateBlobsResponse_Response) Reset()

func (*BatchUpdateBlobsResponse_Response) String Uses

func (m *BatchUpdateBlobsResponse_Response) String() string

func (*BatchUpdateBlobsResponse_Response) XXX_DiscardUnknown Uses

func (m *BatchUpdateBlobsResponse_Response) XXX_DiscardUnknown()

func (*BatchUpdateBlobsResponse_Response) XXX_Marshal Uses

func (m *BatchUpdateBlobsResponse_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateBlobsResponse_Response) XXX_Merge Uses

func (m *BatchUpdateBlobsResponse_Response) XXX_Merge(src proto.Message)

func (*BatchUpdateBlobsResponse_Response) XXX_Size Uses

func (m *BatchUpdateBlobsResponse_Response) XXX_Size() int

func (*BatchUpdateBlobsResponse_Response) XXX_Unmarshal Uses

func (m *BatchUpdateBlobsResponse_Response) XXX_Unmarshal(b []byte) error

type CacheCapabilities Uses

type CacheCapabilities struct {
    // All the digest functions supported by the remote cache.
    // Remote cache may support multiple digest functions simultaneously.
    DigestFunction []DigestFunction_Value `protobuf:"varint,1,rep,packed,name=digest_function,json=digestFunction,proto3,enum=build.bazel.remote.execution.v2.DigestFunction_Value" json:"digest_function,omitempty"`
    // Capabilities for updating the action cache.
    ActionCacheUpdateCapabilities *ActionCacheUpdateCapabilities `protobuf:"bytes,2,opt,name=action_cache_update_capabilities,json=actionCacheUpdateCapabilities,proto3" json:"action_cache_update_capabilities,omitempty"`
    // Supported cache priority range for both CAS and ActionCache.
    CachePriorityCapabilities *PriorityCapabilities `protobuf:"bytes,3,opt,name=cache_priority_capabilities,json=cachePriorityCapabilities,proto3" json:"cache_priority_capabilities,omitempty"`
    // Maximum total size of blobs to be uploaded/downloaded using
    // batch methods. A value of 0 means no limit is set, although
    // in practice there will always be a message size limitation
    // of the protocol in use, e.g. GRPC.
    MaxBatchTotalSizeBytes int64 `protobuf:"varint,4,opt,name=max_batch_total_size_bytes,json=maxBatchTotalSizeBytes,proto3" json:"max_batch_total_size_bytes,omitempty"`
    // Whether absolute symlink targets are supported.
    SymlinkAbsolutePathStrategy SymlinkAbsolutePathStrategy_Value `protobuf:"varint,5,opt,name=symlink_absolute_path_strategy,json=symlinkAbsolutePathStrategy,proto3,enum=build.bazel.remote.execution.v2.SymlinkAbsolutePathStrategy_Value" json:"symlink_absolute_path_strategy,omitempty"`
    XXX_NoUnkeyedLiteral        struct{}                          `json:"-"`
    XXX_unrecognized            []byte                            `json:"-"`
    XXX_sizecache               int32                             `json:"-"`
}

Capabilities of the remote cache system.

func (*CacheCapabilities) Descriptor Uses

func (*CacheCapabilities) Descriptor() ([]byte, []int)

func (*CacheCapabilities) GetActionCacheUpdateCapabilities Uses

func (m *CacheCapabilities) GetActionCacheUpdateCapabilities() *ActionCacheUpdateCapabilities

func (*CacheCapabilities) GetCachePriorityCapabilities Uses

func (m *CacheCapabilities) GetCachePriorityCapabilities() *PriorityCapabilities

func (*CacheCapabilities) GetDigestFunction Uses

func (m *CacheCapabilities) GetDigestFunction() []DigestFunction_Value

func (*CacheCapabilities) GetMaxBatchTotalSizeBytes Uses

func (m *CacheCapabilities) GetMaxBatchTotalSizeBytes() int64

func (*CacheCapabilities) GetSymlinkAbsolutePathStrategy Uses

func (m *CacheCapabilities) GetSymlinkAbsolutePathStrategy() SymlinkAbsolutePathStrategy_Value

func (*CacheCapabilities) ProtoMessage Uses

func (*CacheCapabilities) ProtoMessage()

func (*CacheCapabilities) Reset Uses

func (m *CacheCapabilities) Reset()

func (*CacheCapabilities) String Uses

func (m *CacheCapabilities) String() string

func (*CacheCapabilities) XXX_DiscardUnknown Uses

func (m *CacheCapabilities) XXX_DiscardUnknown()

func (*CacheCapabilities) XXX_Marshal Uses

func (m *CacheCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CacheCapabilities) XXX_Merge Uses

func (m *CacheCapabilities) XXX_Merge(src proto.Message)

func (*CacheCapabilities) XXX_Size Uses

func (m *CacheCapabilities) XXX_Size() int

func (*CacheCapabilities) XXX_Unmarshal Uses

func (m *CacheCapabilities) XXX_Unmarshal(b []byte) error

type CapabilitiesClient Uses

type CapabilitiesClient interface {
    // GetCapabilities returns the server capabilities configuration of the
    // remote endpoint.
    // Only the capabilities of the services supported by the endpoint will
    // be returned:
    // * Execution + CAS + Action Cache endpoints should return both
    //   CacheCapabilities and ExecutionCapabilities.
    // * Execution only endpoints should return ExecutionCapabilities.
    // * CAS + Action Cache only endpoints should return CacheCapabilities.
    GetCapabilities(ctx context.Context, in *GetCapabilitiesRequest, opts ...grpc.CallOption) (*ServerCapabilities, error)
}

CapabilitiesClient is the client API for Capabilities service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCapabilitiesClient Uses

func NewCapabilitiesClient(cc *grpc.ClientConn) CapabilitiesClient

type CapabilitiesServer Uses

type CapabilitiesServer interface {
    // GetCapabilities returns the server capabilities configuration of the
    // remote endpoint.
    // Only the capabilities of the services supported by the endpoint will
    // be returned:
    // * Execution + CAS + Action Cache endpoints should return both
    //   CacheCapabilities and ExecutionCapabilities.
    // * Execution only endpoints should return ExecutionCapabilities.
    // * CAS + Action Cache only endpoints should return CacheCapabilities.
    GetCapabilities(context.Context, *GetCapabilitiesRequest) (*ServerCapabilities, error)
}

CapabilitiesServer is the server API for Capabilities service.

type Command Uses

type Command struct {
    // The arguments to the command. The first argument must be the path to the
    // executable, which must be either a relative path, in which case it is
    // evaluated with respect to the input root, or an absolute path.
    Arguments []string `protobuf:"bytes,1,rep,name=arguments,proto3" json:"arguments,omitempty"`
    // The environment variables to set when running the program. The worker may
    // provide its own default environment variables; these defaults can be
    // overridden using this field. Additional variables can also be specified.
    //
    // In order to ensure that equivalent
    // [Command][build.bazel.remote.execution.v2.Command]s always hash to the same
    // value, the environment variables MUST be lexicographically sorted by name.
    // Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
    EnvironmentVariables []*Command_EnvironmentVariable `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"`
    // 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.
    OutputFiles []string `protobuf:"bytes,3,rep,name=output_files,json=outputFiles,proto3" json:"output_files,omitempty"`
    // A list of the output directories that the client expects to retrieve from
    // the action. Only the listed directories will be returned (an entire
    // directory structure will be returned as a
    // [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
    // [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory]), as
    // well as files listed in `output_files`. Other files or directories that
    // may be created during command execution are discarded.
    //
    // The paths are relative to the working directory of the action execution.
    // The paths are specified using a single forward slash (`/`) as a path
    // separator, even if the execution platform natively uses a different
    // separator. The path MUST NOT include a trailing slash, nor a leading slash,
    // being a relative path. The special value of empty string is allowed,
    // although not recommended, and can be used to capture the entire working
    // directory tree, including inputs.
    //
    // In order to ensure consistent hashing of the same Action, the output paths
    // MUST be sorted lexicographically by code point (or, equivalently, by UTF-8
    // bytes).
    //
    // An output directory cannot be duplicated or have the same path as any of
    // the listed output files. An output directory is allowed to be a parent of
    // another output directory.
    //
    // Directories leading up to the output directories (but not the output
    // directories themselves) are created by the worker prior to execution, even
    // if they are not explicitly part of the input root.
    //
    // DEPRECATED since 2.1: Use `output_paths` instead.
    OutputDirectories []string `protobuf:"bytes,4,rep,name=output_directories,json=outputDirectories,proto3" json:"output_directories,omitempty"`
    // A list of the output paths that the client expects to retrieve from the
    // action. Only the listed paths will be returned to the client as output.
    // The type of the output (file or directory) is not specified, and will be
    // determined by the server after action execution. If the resulting path is
    // a file, it will be returned in an
    // [OutputFile][build.bazel.remote.execution.v2.OutputFile]) typed field.
    // If the path is a directory, the entire directory structure will be returned
    // as a [Tree][build.bazel.remote.execution.v2.Tree] message digest, see
    // [OutputDirectory][build.bazel.remote.execution.v2.OutputDirectory])
    // Other files or directories that may be created during command execution
    // are discarded.
    //
    // The paths are relative to the working directory of the action execution.
    // The paths are specified using a single forward slash (`/`) as a path
    // separator, even if the execution platform natively uses a different
    // separator. The path MUST NOT include a trailing slash, nor a leading slash,
    // being a relative path.
    //
    // In order to ensure consistent hashing of the same Action, the output paths
    // MUST be deduplicated and sorted lexicographically by code point (or,
    // equivalently, by UTF-8 bytes).
    //
    // Directories leading up to the output paths are created by the worker prior
    // to execution, even if they are not explicitly part of the input root.
    //
    // New in v2.1: this field supersedes the DEPRECATED `output_files` and
    // `output_directories` fields. If `output_paths` is used, `output_files` and
    // `output_directories` will be ignored!
    OutputPaths []string `protobuf:"bytes,7,rep,name=output_paths,json=outputPaths,proto3" json:"output_paths,omitempty"`
    // The platform requirements for the execution environment. The server MAY
    // choose to execute the action on any worker satisfying the requirements, so
    // the client SHOULD ensure that running the action on any such worker will
    // have the same result.  A detailed lexicon for this can be found in the
    // accompanying platform.md.
    // DEPRECATED as of v2.2: platform properties are now specified directly in
    // the action. See documentation note in the
    // [Action][build.bazel.remote.execution.v2.Action] for migration.  This will
    // be removed in v3.
    Platform *Platform `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
    // 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.
    WorkingDirectory string `protobuf:"bytes,6,opt,name=working_directory,json=workingDirectory,proto3" json:"working_directory,omitempty"`
    // A list of keys for node properties the client expects to retrieve for
    // output files and directories. Keys are either names of string-based
    // [NodeProperty][build.bazel.remote.execution.v2.NodeProperty] or
    // names of fields in [NodeProperties][build.bazel.remote.execution.v2.NodeProperties].
    // In order to ensure that equivalent `Action`s always hash to the same
    // value, the node properties MUST be lexicographically sorted by name.
    // Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
    //
    // The interpretation of string-based properties is server-dependent. If a
    // property is not recognized by the server, the server will return an
    // `INVALID_ARGUMENT`.
    OutputNodeProperties []string `protobuf:"bytes,8,rep,name=output_node_properties,json=outputNodeProperties,proto3" json:"output_node_properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A `Command` is the actual command executed by a worker running an [Action][build.bazel.remote.execution.v2.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.

func (*Command) Descriptor Uses

func (*Command) Descriptor() ([]byte, []int)

func (*Command) GetArguments Uses

func (m *Command) GetArguments() []string

func (*Command) GetEnvironmentVariables Uses

func (m *Command) GetEnvironmentVariables() []*Command_EnvironmentVariable

func (*Command) GetOutputDirectories Uses

func (m *Command) GetOutputDirectories() []string

func (*Command) GetOutputFiles Uses

func (m *Command) GetOutputFiles() []string

func (*Command) GetOutputNodeProperties Uses

func (m *Command) GetOutputNodeProperties() []string

func (*Command) GetOutputPaths Uses

func (m *Command) GetOutputPaths() []string

func (*Command) GetPlatform Uses

func (m *Command) GetPlatform() *Platform

func (*Command) GetWorkingDirectory Uses

func (m *Command) GetWorkingDirectory() string

func (*Command) ProtoMessage Uses

func (*Command) ProtoMessage()

func (*Command) Reset Uses

func (m *Command) Reset()

func (*Command) String Uses

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown Uses

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal Uses

func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command) XXX_Merge Uses

func (m *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size Uses

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal Uses

func (m *Command) XXX_Unmarshal(b []byte) error

type Command_EnvironmentVariable Uses

type Command_EnvironmentVariable struct {
    // The variable name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The variable value.
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An `EnvironmentVariable` is one variable to set in the running program's environment.

func (*Command_EnvironmentVariable) Descriptor Uses

func (*Command_EnvironmentVariable) Descriptor() ([]byte, []int)

func (*Command_EnvironmentVariable) GetName Uses

func (m *Command_EnvironmentVariable) GetName() string

func (*Command_EnvironmentVariable) GetValue Uses

func (m *Command_EnvironmentVariable) GetValue() string

func (*Command_EnvironmentVariable) ProtoMessage Uses

func (*Command_EnvironmentVariable) ProtoMessage()

func (*Command_EnvironmentVariable) Reset Uses

func (m *Command_EnvironmentVariable) Reset()

func (*Command_EnvironmentVariable) String Uses

func (m *Command_EnvironmentVariable) String() string

func (*Command_EnvironmentVariable) XXX_DiscardUnknown Uses

func (m *Command_EnvironmentVariable) XXX_DiscardUnknown()

func (*Command_EnvironmentVariable) XXX_Marshal Uses

func (m *Command_EnvironmentVariable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command_EnvironmentVariable) XXX_Merge Uses

func (m *Command_EnvironmentVariable) XXX_Merge(src proto.Message)

func (*Command_EnvironmentVariable) XXX_Size Uses

func (m *Command_EnvironmentVariable) XXX_Size() int

func (*Command_EnvironmentVariable) XXX_Unmarshal Uses

func (m *Command_EnvironmentVariable) XXX_Unmarshal(b []byte) error

type ContentAddressableStorageClient Uses

type ContentAddressableStorageClient interface {
    // Determine if blobs are present in the CAS.
    //
    // Clients can use this API before uploading blobs to determine which ones are
    // already present in the CAS and do not need to be uploaded again.
    //
    // Servers SHOULD increase the lifetimes of the referenced blobs if necessary and
    // applicable.
    //
    // There are no method-specific errors.
    FindMissingBlobs(ctx context.Context, in *FindMissingBlobsRequest, opts ...grpc.CallOption) (*FindMissingBlobsResponse, error)
    // Upload many blobs at once.
    //
    // The server may enforce a limit of the combined total size of blobs
    // to be uploaded using this API. This limit may be obtained using the
    // [Capabilities][build.bazel.remote.execution.v2.Capabilities] API.
    // Requests exceeding the limit should either be split into smaller
    // chunks or uploaded using the
    // [ByteStream API][google.bytestream.ByteStream], as appropriate.
    //
    // This request is equivalent to calling a Bytestream `Write` request
    // on each individual blob, in parallel. The requests may succeed or fail
    // independently.
    //
    // Errors:
    //
    // * `INVALID_ARGUMENT`: The client attempted to upload more than the
    //   server supported limit.
    //
    // Individual requests may return the following errors, additionally:
    //
    // * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob.
    // * `INVALID_ARGUMENT`: The
    // [Digest][build.bazel.remote.execution.v2.Digest] does not match the
    // provided data.
    BatchUpdateBlobs(ctx context.Context, in *BatchUpdateBlobsRequest, opts ...grpc.CallOption) (*BatchUpdateBlobsResponse, error)
    // Download many blobs at once.
    //
    // The server may enforce a limit of the combined total size of blobs
    // to be downloaded using this API. This limit may be obtained using the
    // [Capabilities][build.bazel.remote.execution.v2.Capabilities] API.
    // Requests exceeding the limit should either be split into smaller
    // chunks or downloaded using the
    // [ByteStream API][google.bytestream.ByteStream], as appropriate.
    //
    // This request is equivalent to calling a Bytestream `Read` request
    // on each individual blob, in parallel. The requests may succeed or fail
    // independently.
    //
    // Errors:
    //
    // * `INVALID_ARGUMENT`: The client attempted to read more than the
    //   server supported limit.
    //
    // Every error on individual read will be returned in the corresponding digest
    // status.
    BatchReadBlobs(ctx context.Context, in *BatchReadBlobsRequest, opts ...grpc.CallOption) (*BatchReadBlobsResponse, error)
    // Fetch the entire directory tree rooted at a node.
    //
    // This request must be targeted at a
    // [Directory][build.bazel.remote.execution.v2.Directory] stored in the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage]
    // (CAS). The server will enumerate the `Directory` tree recursively and
    // return every node descended from the root.
    //
    // The GetTreeRequest.page_token parameter can be used to skip ahead in
    // the stream (e.g. when retrying a partially completed and aborted request),
    // by setting it to a value taken from GetTreeResponse.next_page_token of the
    // last successfully processed GetTreeResponse).
    //
    // The exact traversal order is unspecified and, unless retrieving subsequent
    // pages from an earlier request, is not guaranteed to be stable across
    // multiple invocations of `GetTree`.
    //
    // If part of the tree is missing from the CAS, the server will return the
    // portion present and omit the rest.
    //
    // Errors:
    //
    // * `NOT_FOUND`: The requested tree root is not present in the CAS.
    GetTree(ctx context.Context, in *GetTreeRequest, opts ...grpc.CallOption) (ContentAddressableStorage_GetTreeClient, error)
}

ContentAddressableStorageClient is the client API for ContentAddressableStorage service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewContentAddressableStorageClient Uses

func NewContentAddressableStorageClient(cc *grpc.ClientConn) ContentAddressableStorageClient

type ContentAddressableStorageServer Uses

type ContentAddressableStorageServer interface {
    // Determine if blobs are present in the CAS.
    //
    // Clients can use this API before uploading blobs to determine which ones are
    // already present in the CAS and do not need to be uploaded again.
    //
    // Servers SHOULD increase the lifetimes of the referenced blobs if necessary and
    // applicable.
    //
    // There are no method-specific errors.
    FindMissingBlobs(context.Context, *FindMissingBlobsRequest) (*FindMissingBlobsResponse, error)
    // Upload many blobs at once.
    //
    // The server may enforce a limit of the combined total size of blobs
    // to be uploaded using this API. This limit may be obtained using the
    // [Capabilities][build.bazel.remote.execution.v2.Capabilities] API.
    // Requests exceeding the limit should either be split into smaller
    // chunks or uploaded using the
    // [ByteStream API][google.bytestream.ByteStream], as appropriate.
    //
    // This request is equivalent to calling a Bytestream `Write` request
    // on each individual blob, in parallel. The requests may succeed or fail
    // independently.
    //
    // Errors:
    //
    // * `INVALID_ARGUMENT`: The client attempted to upload more than the
    //   server supported limit.
    //
    // Individual requests may return the following errors, additionally:
    //
    // * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob.
    // * `INVALID_ARGUMENT`: The
    // [Digest][build.bazel.remote.execution.v2.Digest] does not match the
    // provided data.
    BatchUpdateBlobs(context.Context, *BatchUpdateBlobsRequest) (*BatchUpdateBlobsResponse, error)
    // Download many blobs at once.
    //
    // The server may enforce a limit of the combined total size of blobs
    // to be downloaded using this API. This limit may be obtained using the
    // [Capabilities][build.bazel.remote.execution.v2.Capabilities] API.
    // Requests exceeding the limit should either be split into smaller
    // chunks or downloaded using the
    // [ByteStream API][google.bytestream.ByteStream], as appropriate.
    //
    // This request is equivalent to calling a Bytestream `Read` request
    // on each individual blob, in parallel. The requests may succeed or fail
    // independently.
    //
    // Errors:
    //
    // * `INVALID_ARGUMENT`: The client attempted to read more than the
    //   server supported limit.
    //
    // Every error on individual read will be returned in the corresponding digest
    // status.
    BatchReadBlobs(context.Context, *BatchReadBlobsRequest) (*BatchReadBlobsResponse, error)
    // Fetch the entire directory tree rooted at a node.
    //
    // This request must be targeted at a
    // [Directory][build.bazel.remote.execution.v2.Directory] stored in the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage]
    // (CAS). The server will enumerate the `Directory` tree recursively and
    // return every node descended from the root.
    //
    // The GetTreeRequest.page_token parameter can be used to skip ahead in
    // the stream (e.g. when retrying a partially completed and aborted request),
    // by setting it to a value taken from GetTreeResponse.next_page_token of the
    // last successfully processed GetTreeResponse).
    //
    // The exact traversal order is unspecified and, unless retrieving subsequent
    // pages from an earlier request, is not guaranteed to be stable across
    // multiple invocations of `GetTree`.
    //
    // If part of the tree is missing from the CAS, the server will return the
    // portion present and omit the rest.
    //
    // Errors:
    //
    // * `NOT_FOUND`: The requested tree root is not present in the CAS.
    GetTree(*GetTreeRequest, ContentAddressableStorage_GetTreeServer) error
}

ContentAddressableStorageServer is the server API for ContentAddressableStorage service.

type ContentAddressableStorage_GetTreeClient Uses

type ContentAddressableStorage_GetTreeClient interface {
    Recv() (*GetTreeResponse, error)
    grpc.ClientStream
}

type ContentAddressableStorage_GetTreeServer Uses

type ContentAddressableStorage_GetTreeServer interface {
    Send(*GetTreeResponse) error
    grpc.ServerStream
}

type Digest Uses

type Digest struct {
    // The hash. In the case of SHA-256, it will always be a lowercase hex string
    // exactly 64 characters long.
    Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
    // The size of the blob, in bytes.
    SizeBytes            int64    `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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.

func (*Digest) Descriptor Uses

func (*Digest) Descriptor() ([]byte, []int)

func (*Digest) GetHash Uses

func (m *Digest) GetHash() string

func (*Digest) GetSizeBytes Uses

func (m *Digest) GetSizeBytes() int64

func (*Digest) ProtoMessage Uses

func (*Digest) ProtoMessage()

func (*Digest) Reset Uses

func (m *Digest) Reset()

func (*Digest) String Uses

func (m *Digest) String() string

func (*Digest) XXX_DiscardUnknown Uses

func (m *Digest) XXX_DiscardUnknown()

func (*Digest) XXX_Marshal Uses

func (m *Digest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Digest) XXX_Merge Uses

func (m *Digest) XXX_Merge(src proto.Message)

func (*Digest) XXX_Size Uses

func (m *Digest) XXX_Size() int

func (*Digest) XXX_Unmarshal Uses

func (m *Digest) XXX_Unmarshal(b []byte) error

type DigestFunction Uses

type DigestFunction struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The digest function used for converting values into keys for CAS and Action Cache.

func (*DigestFunction) Descriptor Uses

func (*DigestFunction) Descriptor() ([]byte, []int)

func (*DigestFunction) ProtoMessage Uses

func (*DigestFunction) ProtoMessage()

func (*DigestFunction) Reset Uses

func (m *DigestFunction) Reset()

func (*DigestFunction) String Uses

func (m *DigestFunction) String() string

func (*DigestFunction) XXX_DiscardUnknown Uses

func (m *DigestFunction) XXX_DiscardUnknown()

func (*DigestFunction) XXX_Marshal Uses

func (m *DigestFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DigestFunction) XXX_Merge Uses

func (m *DigestFunction) XXX_Merge(src proto.Message)

func (*DigestFunction) XXX_Size Uses

func (m *DigestFunction) XXX_Size() int

func (*DigestFunction) XXX_Unmarshal Uses

func (m *DigestFunction) XXX_Unmarshal(b []byte) error

type DigestFunction_Value Uses

type DigestFunction_Value int32
const (
    // It is an error for the server to return this value.
    DigestFunction_UNKNOWN DigestFunction_Value = 0
    // The SHA-256 digest function.
    DigestFunction_SHA256 DigestFunction_Value = 1
    // The SHA-1 digest function.
    DigestFunction_SHA1 DigestFunction_Value = 2
    // The MD5 digest function.
    DigestFunction_MD5 DigestFunction_Value = 3
    // The Microsoft "VSO-Hash" paged SHA256 digest function.
    // See https://github.com/microsoft/BuildXL/blob/master/Documentation/Specs/PagedHash.md .
    DigestFunction_VSO DigestFunction_Value = 4
    // The SHA-384 digest function.
    DigestFunction_SHA384 DigestFunction_Value = 5
    // The SHA-512 digest function.
    DigestFunction_SHA512 DigestFunction_Value = 6
    // Murmur3 128-bit digest function, x64 variant. Note that this is not a
    // cryptographic hash function and its collision properties are not strongly guaranteed.
    // See https://github.com/aappleby/smhasher/wiki/MurmurHash3 .
    DigestFunction_MURMUR3 DigestFunction_Value = 7
)

func (DigestFunction_Value) EnumDescriptor Uses

func (DigestFunction_Value) EnumDescriptor() ([]byte, []int)

func (DigestFunction_Value) String Uses

func (x DigestFunction_Value) String() string

type Directory Uses

type Directory struct {
    // The files in the directory.
    Files []*FileNode `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
    // The subdirectories in the directory.
    Directories []*DirectoryNode `protobuf:"bytes,2,rep,name=directories,proto3" json:"directories,omitempty"`
    // The symlinks in the directory.
    Symlinks             []*SymlinkNode  `protobuf:"bytes,3,rep,name=symlinks,proto3" json:"symlinks,omitempty"`
    NodeProperties       *NodeProperties `protobuf:"bytes,5,opt,name=node_properties,json=nodeProperties,proto3" json:"node_properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

A `Directory` represents a directory node in a file tree, containing zero or more children [FileNodes][build.bazel.remote.execution.v2.FileNode], [DirectoryNodes][build.bazel.remote.execution.v2.DirectoryNode] and [SymlinkNodes][build.bazel.remote.execution.v2.SymlinkNode]. 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][build.bazel.remote.execution.v2.NodeProperty] 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
  }
]

} “`

func (*Directory) Descriptor Uses

func (*Directory) Descriptor() ([]byte, []int)

func (*Directory) GetDirectories Uses

func (m *Directory) GetDirectories() []*DirectoryNode

func (*Directory) GetFiles Uses

func (m *Directory) GetFiles() []*FileNode

func (*Directory) GetNodeProperties Uses

func (m *Directory) GetNodeProperties() *NodeProperties
func (m *Directory) GetSymlinks() []*SymlinkNode

func (*Directory) ProtoMessage Uses

func (*Directory) ProtoMessage()

func (*Directory) Reset Uses

func (m *Directory) Reset()

func (*Directory) String Uses

func (m *Directory) String() string

func (*Directory) XXX_DiscardUnknown Uses

func (m *Directory) XXX_DiscardUnknown()

func (*Directory) XXX_Marshal Uses

func (m *Directory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Directory) XXX_Merge Uses

func (m *Directory) XXX_Merge(src proto.Message)

func (*Directory) XXX_Size Uses

func (m *Directory) XXX_Size() int

func (*Directory) XXX_Unmarshal Uses

func (m *Directory) XXX_Unmarshal(b []byte) error

type DirectoryNode Uses

type DirectoryNode struct {
    // The name of the directory.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The digest of the
    // [Directory][build.bazel.remote.execution.v2.Directory] object
    // represented. See [Digest][build.bazel.remote.execution.v2.Digest]
    // for information about how to take the digest of a proto message.
    Digest               *Digest  `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A `DirectoryNode` represents a child of a [Directory][build.bazel.remote.execution.v2.Directory] which is itself a `Directory` and its associated metadata.

func (*DirectoryNode) Descriptor Uses

func (*DirectoryNode) Descriptor() ([]byte, []int)

func (*DirectoryNode) GetDigest Uses

func (m *DirectoryNode) GetDigest() *Digest

func (*DirectoryNode) GetName Uses

func (m *DirectoryNode) GetName() string

func (*DirectoryNode) ProtoMessage Uses

func (*DirectoryNode) ProtoMessage()

func (*DirectoryNode) Reset Uses

func (m *DirectoryNode) Reset()

func (*DirectoryNode) String Uses

func (m *DirectoryNode) String() string

func (*DirectoryNode) XXX_DiscardUnknown Uses

func (m *DirectoryNode) XXX_DiscardUnknown()

func (*DirectoryNode) XXX_Marshal Uses

func (m *DirectoryNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DirectoryNode) XXX_Merge Uses

func (m *DirectoryNode) XXX_Merge(src proto.Message)

func (*DirectoryNode) XXX_Size Uses

func (m *DirectoryNode) XXX_Size() int

func (*DirectoryNode) XXX_Unmarshal Uses

func (m *DirectoryNode) XXX_Unmarshal(b []byte) error

type ExecuteOperationMetadata Uses

type ExecuteOperationMetadata struct {
    // The current stage of execution.
    Stage ExecutionStage_Value `protobuf:"varint,1,opt,name=stage,proto3,enum=build.bazel.remote.execution.v2.ExecutionStage_Value" json:"stage,omitempty"`
    // The digest of the [Action][build.bazel.remote.execution.v2.Action]
    // being executed.
    ActionDigest *Digest `protobuf:"bytes,2,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"`
    // If set, the client can use this resource name with
    // [ByteStream.Read][google.bytestream.ByteStream.Read] to stream the
    // standard output from the endpoint hosting streamed responses.
    StdoutStreamName string `protobuf:"bytes,3,opt,name=stdout_stream_name,json=stdoutStreamName,proto3" json:"stdout_stream_name,omitempty"`
    // If set, the client can use this resource name with
    // [ByteStream.Read][google.bytestream.ByteStream.Read] to stream the
    // standard error from the endpoint hosting streamed responses.
    StderrStreamName     string   `protobuf:"bytes,4,opt,name=stderr_stream_name,json=stderrStreamName,proto3" json:"stderr_stream_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Metadata about an ongoing [execution][build.bazel.remote.execution.v2.Execution.Execute], which will be contained in the [metadata field][google.longrunning.Operation.response] of the [Operation][google.longrunning.Operation].

func (*ExecuteOperationMetadata) Descriptor Uses

func (*ExecuteOperationMetadata) Descriptor() ([]byte, []int)

func (*ExecuteOperationMetadata) GetActionDigest Uses

func (m *ExecuteOperationMetadata) GetActionDigest() *Digest

func (*ExecuteOperationMetadata) GetStage Uses

func (m *ExecuteOperationMetadata) GetStage() ExecutionStage_Value

func (*ExecuteOperationMetadata) GetStderrStreamName Uses

func (m *ExecuteOperationMetadata) GetStderrStreamName() string

func (*ExecuteOperationMetadata) GetStdoutStreamName Uses

func (m *ExecuteOperationMetadata) GetStdoutStreamName() string

func (*ExecuteOperationMetadata) ProtoMessage Uses

func (*ExecuteOperationMetadata) ProtoMessage()

func (*ExecuteOperationMetadata) Reset Uses

func (m *ExecuteOperationMetadata) Reset()

func (*ExecuteOperationMetadata) String Uses

func (m *ExecuteOperationMetadata) String() string

func (*ExecuteOperationMetadata) XXX_DiscardUnknown Uses

func (m *ExecuteOperationMetadata) XXX_DiscardUnknown()

func (*ExecuteOperationMetadata) XXX_Marshal Uses

func (m *ExecuteOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteOperationMetadata) XXX_Merge Uses

func (m *ExecuteOperationMetadata) XXX_Merge(src proto.Message)

func (*ExecuteOperationMetadata) XXX_Size Uses

func (m *ExecuteOperationMetadata) XXX_Size() int

func (*ExecuteOperationMetadata) XXX_Unmarshal Uses

func (m *ExecuteOperationMetadata) XXX_Unmarshal(b []byte) error

type ExecuteRequest Uses

type ExecuteRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    // If true, the action will be executed even if its result is already
    // present in the [ActionCache][build.bazel.remote.execution.v2.ActionCache].
    // The execution is still allowed to be merged with other in-flight executions
    // of the same action, however - semantically, the service MUST only guarantee
    // that the results of an execution with this field set were not visible
    // before the corresponding execution request was sent.
    // Note that actions from execution requests setting this field set are still
    // eligible to be entered into the action cache upon completion, and services
    // SHOULD overwrite any existing entries that may exist. This allows
    // skip_cache_lookup requests to be used as a mechanism for replacing action
    // cache entries that reference outputs no longer available or that are
    // poisoned in any way.
    // If false, the result may be served from the action cache.
    SkipCacheLookup bool `protobuf:"varint,3,opt,name=skip_cache_lookup,json=skipCacheLookup,proto3" json:"skip_cache_lookup,omitempty"`
    // The digest of the [Action][build.bazel.remote.execution.v2.Action] to
    // execute.
    ActionDigest *Digest `protobuf:"bytes,6,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"`
    // An optional policy for execution of the action.
    // The server will have a default policy if this is not provided.
    ExecutionPolicy *ExecutionPolicy `protobuf:"bytes,7,opt,name=execution_policy,json=executionPolicy,proto3" json:"execution_policy,omitempty"`
    // An optional policy for the results of this execution in the remote cache.
    // The server will have a default policy if this is not provided.
    // This may be applied to both the ActionResult and the associated blobs.
    ResultsCachePolicy   *ResultsCachePolicy `protobuf:"bytes,8,opt,name=results_cache_policy,json=resultsCachePolicy,proto3" json:"results_cache_policy,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

A request message for [Execution.Execute][build.bazel.remote.execution.v2.Execution.Execute].

func (*ExecuteRequest) Descriptor Uses

func (*ExecuteRequest) Descriptor() ([]byte, []int)

func (*ExecuteRequest) GetActionDigest Uses

func (m *ExecuteRequest) GetActionDigest() *Digest

func (*ExecuteRequest) GetExecutionPolicy Uses

func (m *ExecuteRequest) GetExecutionPolicy() *ExecutionPolicy

func (*ExecuteRequest) GetInstanceName Uses

func (m *ExecuteRequest) GetInstanceName() string

func (*ExecuteRequest) GetResultsCachePolicy Uses

func (m *ExecuteRequest) GetResultsCachePolicy() *ResultsCachePolicy

func (*ExecuteRequest) GetSkipCacheLookup Uses

func (m *ExecuteRequest) GetSkipCacheLookup() bool

func (*ExecuteRequest) ProtoMessage Uses

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) Reset Uses

func (m *ExecuteRequest) Reset()

func (*ExecuteRequest) String Uses

func (m *ExecuteRequest) String() string

func (*ExecuteRequest) XXX_DiscardUnknown Uses

func (m *ExecuteRequest) XXX_DiscardUnknown()

func (*ExecuteRequest) XXX_Marshal Uses

func (m *ExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteRequest) XXX_Merge Uses

func (m *ExecuteRequest) XXX_Merge(src proto.Message)

func (*ExecuteRequest) XXX_Size Uses

func (m *ExecuteRequest) XXX_Size() int

func (*ExecuteRequest) XXX_Unmarshal Uses

func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error

type ExecuteResponse Uses

type ExecuteResponse struct {
    // The result of the action.
    Result *ActionResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
    // True if the result was served from cache, false if it was executed.
    CachedResult bool `protobuf:"varint,2,opt,name=cached_result,json=cachedResult,proto3" json:"cached_result,omitempty"`
    // 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.
    Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
    // 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.
    ServerLogs map[string]*LogFile `protobuf:"bytes,4,rep,name=server_logs,json=serverLogs,proto3" json:"server_logs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Freeform informational message with details on the execution of the action
    // that may be displayed to the user upon failure or when requested explicitly.
    Message              string   `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The response message for [Execution.Execute][build.bazel.remote.execution.v2.Execution.Execute], which will be contained in the [response field][google.longrunning.Operation.response] of the [Operation][google.longrunning.Operation].

func (*ExecuteResponse) Descriptor Uses

func (*ExecuteResponse) Descriptor() ([]byte, []int)

func (*ExecuteResponse) GetCachedResult Uses

func (m *ExecuteResponse) GetCachedResult() bool

func (*ExecuteResponse) GetMessage Uses

func (m *ExecuteResponse) GetMessage() string

func (*ExecuteResponse) GetResult Uses

func (m *ExecuteResponse) GetResult() *ActionResult

func (*ExecuteResponse) GetServerLogs Uses

func (m *ExecuteResponse) GetServerLogs() map[string]*LogFile

func (*ExecuteResponse) GetStatus Uses

func (m *ExecuteResponse) GetStatus() *status.Status

func (*ExecuteResponse) ProtoMessage Uses

func (*ExecuteResponse) ProtoMessage()

func (*ExecuteResponse) Reset Uses

func (m *ExecuteResponse) Reset()

func (*ExecuteResponse) String Uses

func (m *ExecuteResponse) String() string

func (*ExecuteResponse) XXX_DiscardUnknown Uses

func (m *ExecuteResponse) XXX_DiscardUnknown()

func (*ExecuteResponse) XXX_Marshal Uses

func (m *ExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteResponse) XXX_Merge Uses

func (m *ExecuteResponse) XXX_Merge(src proto.Message)

func (*ExecuteResponse) XXX_Size Uses

func (m *ExecuteResponse) XXX_Size() int

func (*ExecuteResponse) XXX_Unmarshal Uses

func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error

type ExecutedActionMetadata Uses

type ExecutedActionMetadata struct {
    // The name of the worker which ran the execution.
    Worker string `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
    // When was the action added to the queue.
    QueuedTimestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=queued_timestamp,json=queuedTimestamp,proto3" json:"queued_timestamp,omitempty"`
    // When the worker received the action.
    WorkerStartTimestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=worker_start_timestamp,json=workerStartTimestamp,proto3" json:"worker_start_timestamp,omitempty"`
    // When the worker completed the action, including all stages.
    WorkerCompletedTimestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=worker_completed_timestamp,json=workerCompletedTimestamp,proto3" json:"worker_completed_timestamp,omitempty"`
    // When the worker started fetching action inputs.
    InputFetchStartTimestamp *timestamp.Timestamp `protobuf:"bytes,5,opt,name=input_fetch_start_timestamp,json=inputFetchStartTimestamp,proto3" json:"input_fetch_start_timestamp,omitempty"`
    // When the worker finished fetching action inputs.
    InputFetchCompletedTimestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=input_fetch_completed_timestamp,json=inputFetchCompletedTimestamp,proto3" json:"input_fetch_completed_timestamp,omitempty"`
    // When the worker started executing the action command.
    ExecutionStartTimestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=execution_start_timestamp,json=executionStartTimestamp,proto3" json:"execution_start_timestamp,omitempty"`
    // When the worker completed executing the action command.
    ExecutionCompletedTimestamp *timestamp.Timestamp `protobuf:"bytes,8,opt,name=execution_completed_timestamp,json=executionCompletedTimestamp,proto3" json:"execution_completed_timestamp,omitempty"`
    // When the worker started uploading action outputs.
    OutputUploadStartTimestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=output_upload_start_timestamp,json=outputUploadStartTimestamp,proto3" json:"output_upload_start_timestamp,omitempty"`
    // When the worker finished uploading action outputs.
    OutputUploadCompletedTimestamp *timestamp.Timestamp `protobuf:"bytes,10,opt,name=output_upload_completed_timestamp,json=outputUploadCompletedTimestamp,proto3" json:"output_upload_completed_timestamp,omitempty"`
    XXX_NoUnkeyedLiteral           struct{}             `json:"-"`
    XXX_unrecognized               []byte               `json:"-"`
    XXX_sizecache                  int32                `json:"-"`
}

ExecutedActionMetadata contains details about a completed execution.

func (*ExecutedActionMetadata) Descriptor Uses

func (*ExecutedActionMetadata) Descriptor() ([]byte, []int)

func (*ExecutedActionMetadata) GetExecutionCompletedTimestamp Uses

func (m *ExecutedActionMetadata) GetExecutionCompletedTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetExecutionStartTimestamp Uses

func (m *ExecutedActionMetadata) GetExecutionStartTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetInputFetchCompletedTimestamp Uses

func (m *ExecutedActionMetadata) GetInputFetchCompletedTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetInputFetchStartTimestamp Uses

func (m *ExecutedActionMetadata) GetInputFetchStartTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetOutputUploadCompletedTimestamp Uses

func (m *ExecutedActionMetadata) GetOutputUploadCompletedTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetOutputUploadStartTimestamp Uses

func (m *ExecutedActionMetadata) GetOutputUploadStartTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetQueuedTimestamp Uses

func (m *ExecutedActionMetadata) GetQueuedTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetWorker Uses

func (m *ExecutedActionMetadata) GetWorker() string

func (*ExecutedActionMetadata) GetWorkerCompletedTimestamp Uses

func (m *ExecutedActionMetadata) GetWorkerCompletedTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) GetWorkerStartTimestamp Uses

func (m *ExecutedActionMetadata) GetWorkerStartTimestamp() *timestamp.Timestamp

func (*ExecutedActionMetadata) ProtoMessage Uses

func (*ExecutedActionMetadata) ProtoMessage()

func (*ExecutedActionMetadata) Reset Uses

func (m *ExecutedActionMetadata) Reset()

func (*ExecutedActionMetadata) String Uses

func (m *ExecutedActionMetadata) String() string

func (*ExecutedActionMetadata) XXX_DiscardUnknown Uses

func (m *ExecutedActionMetadata) XXX_DiscardUnknown()

func (*ExecutedActionMetadata) XXX_Marshal Uses

func (m *ExecutedActionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutedActionMetadata) XXX_Merge Uses

func (m *ExecutedActionMetadata) XXX_Merge(src proto.Message)

func (*ExecutedActionMetadata) XXX_Size Uses

func (m *ExecutedActionMetadata) XXX_Size() int

func (*ExecutedActionMetadata) XXX_Unmarshal Uses

func (m *ExecutedActionMetadata) XXX_Unmarshal(b []byte) error

type ExecutionCapabilities Uses

type ExecutionCapabilities struct {
    // Remote execution may only support a single digest function.
    DigestFunction DigestFunction_Value `protobuf:"varint,1,opt,name=digest_function,json=digestFunction,proto3,enum=build.bazel.remote.execution.v2.DigestFunction_Value" json:"digest_function,omitempty"`
    // Whether remote execution is enabled for the particular server/instance.
    ExecEnabled bool `protobuf:"varint,2,opt,name=exec_enabled,json=execEnabled,proto3" json:"exec_enabled,omitempty"`
    // Supported execution priority range.
    ExecutionPriorityCapabilities *PriorityCapabilities `protobuf:"bytes,3,opt,name=execution_priority_capabilities,json=executionPriorityCapabilities,proto3" json:"execution_priority_capabilities,omitempty"`
    // Supported node properties.
    SupportedNodeProperties []string `protobuf:"bytes,4,rep,name=supported_node_properties,json=supportedNodeProperties,proto3" json:"supported_node_properties,omitempty"`
    XXX_NoUnkeyedLiteral    struct{} `json:"-"`
    XXX_unrecognized        []byte   `json:"-"`
    XXX_sizecache           int32    `json:"-"`
}

Capabilities of the remote execution system.

func (*ExecutionCapabilities) Descriptor Uses

func (*ExecutionCapabilities) Descriptor() ([]byte, []int)

func (*ExecutionCapabilities) GetDigestFunction Uses

func (m *ExecutionCapabilities) GetDigestFunction() DigestFunction_Value

func (*ExecutionCapabilities) GetExecEnabled Uses

func (m *ExecutionCapabilities) GetExecEnabled() bool

func (*ExecutionCapabilities) GetExecutionPriorityCapabilities Uses

func (m *ExecutionCapabilities) GetExecutionPriorityCapabilities() *PriorityCapabilities

func (*ExecutionCapabilities) GetSupportedNodeProperties Uses

func (m *ExecutionCapabilities) GetSupportedNodeProperties() []string

func (*ExecutionCapabilities) ProtoMessage Uses

func (*ExecutionCapabilities) ProtoMessage()

func (*ExecutionCapabilities) Reset Uses

func (m *ExecutionCapabilities) Reset()

func (*ExecutionCapabilities) String Uses

func (m *ExecutionCapabilities) String() string

func (*ExecutionCapabilities) XXX_DiscardUnknown Uses

func (m *ExecutionCapabilities) XXX_DiscardUnknown()

func (*ExecutionCapabilities) XXX_Marshal Uses

func (m *ExecutionCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutionCapabilities) XXX_Merge Uses

func (m *ExecutionCapabilities) XXX_Merge(src proto.Message)

func (*ExecutionCapabilities) XXX_Size Uses

func (m *ExecutionCapabilities) XXX_Size() int

func (*ExecutionCapabilities) XXX_Unmarshal Uses

func (m *ExecutionCapabilities) XXX_Unmarshal(b []byte) error

type ExecutionClient Uses

type ExecutionClient interface {
    // Execute an action remotely.
    //
    // In order to execute an action, the client must first upload all of the
    // inputs, the
    // [Command][build.bazel.remote.execution.v2.Command] to run, and the
    // [Action][build.bazel.remote.execution.v2.Action] into the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
    // It then calls `Execute` with an `action_digest` referring to them. The
    // server will run the action and eventually return the result.
    //
    // The input `Action`'s fields MUST meet the various canonicalization
    // requirements specified in the documentation for their types so that it has
    // the same digest as other logically equivalent `Action`s. The server MAY
    // enforce the requirements and return errors if a non-canonical input is
    // received. It MAY also proceed without verifying some or all of the
    // requirements, such as for performance reasons. If the server does not
    // verify the requirement, then it will treat the `Action` as distinct from
    // another logically equivalent action if they hash differently.
    //
    // Returns a stream of
    // [google.longrunning.Operation][google.longrunning.Operation] messages
    // describing the resulting execution, with eventual `response`
    // [ExecuteResponse][build.bazel.remote.execution.v2.ExecuteResponse]. The
    // `metadata` on the operation is of type
    // [ExecuteOperationMetadata][build.bazel.remote.execution.v2.ExecuteOperationMetadata].
    //
    // If the client remains connected after the first response is returned after
    // the server, then updates are streamed as if the client had called
    // [WaitExecution][build.bazel.remote.execution.v2.Execution.WaitExecution]
    // until the execution completes or the request reaches an error. The
    // operation can also be queried using [Operations
    // API][google.longrunning.Operations.GetOperation].
    //
    // The server NEED NOT implement other methods or functionality of the
    // Operations API.
    //
    // Errors discovered during creation of the `Operation` will be reported
    // as gRPC Status errors, while errors that occurred while running the
    // action will be reported in the `status` field of the `ExecuteResponse`. The
    // server MUST NOT set the `error` field of the `Operation` proto.
    // The possible errors include:
    //
    // * `INVALID_ARGUMENT`: One or more arguments are invalid.
    // * `FAILED_PRECONDITION`: One or more errors occurred in setting up the
    //   action requested, such as a missing input or command or no worker being
    //   available. The client may be able to fix the errors and retry.
    // * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to run
    //   the action.
    // * `UNAVAILABLE`: Due to a transient condition, such as all workers being
    //   occupied (and the server does not support a queue), the action could not
    //   be started. The client should retry.
    // * `INTERNAL`: An internal error occurred in the execution engine or the
    //   worker.
    // * `DEADLINE_EXCEEDED`: The execution timed out.
    // * `CANCELLED`: The operation was cancelled by the client. This status is
    //   only possible if the server implements the Operations API CancelOperation
    //   method, and it was called for the current execution.
    //
    // In the case of a missing input or command, the server SHOULD additionally
    // send a [PreconditionFailure][google.rpc.PreconditionFailure] error detail
    // where, for each requested blob not present in the CAS, there is a
    // `Violation` with a `type` of `MISSING` and a `subject` of
    // `"blobs/{hash}/{size}"` indicating the digest of the missing blob.
    Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (Execution_ExecuteClient, error)
    // Wait for an execution operation to complete. When the client initially
    // makes the request, the server immediately responds with the current status
    // of the execution. The server will leave the request stream open until the
    // operation completes, and then respond with the completed operation. The
    // server MAY choose to stream additional updates as execution progresses,
    // such as to provide an update as to the state of the execution.
    WaitExecution(ctx context.Context, in *WaitExecutionRequest, opts ...grpc.CallOption) (Execution_WaitExecutionClient, error)
}

ExecutionClient is the client API for Execution service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewExecutionClient Uses

func NewExecutionClient(cc *grpc.ClientConn) ExecutionClient

type ExecutionPolicy Uses

type ExecutionPolicy struct {
    // The priority (relative importance) of this action. Generally, a lower value
    // means that the action should be run sooner than actions having a greater
    // priority value, but the interpretation of a given value is server-
    // dependent. A priority of 0 means the *default* priority. Priorities may be
    // positive or negative, and such actions should run later or sooner than
    // actions having the default priority, respectively. The particular semantics
    // of this field is up to the server. In particular, every server will have
    // their own supported range of priorities, and will decide how these map into
    // scheduling policy.
    Priority             int32    `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An `ExecutionPolicy` can be used to control the scheduling of the action.

func (*ExecutionPolicy) Descriptor Uses

func (*ExecutionPolicy) Descriptor() ([]byte, []int)

func (*ExecutionPolicy) GetPriority Uses

func (m *ExecutionPolicy) GetPriority() int32

func (*ExecutionPolicy) ProtoMessage Uses

func (*ExecutionPolicy) ProtoMessage()

func (*ExecutionPolicy) Reset Uses

func (m *ExecutionPolicy) Reset()

func (*ExecutionPolicy) String Uses

func (m *ExecutionPolicy) String() string

func (*ExecutionPolicy) XXX_DiscardUnknown Uses

func (m *ExecutionPolicy) XXX_DiscardUnknown()

func (*ExecutionPolicy) XXX_Marshal Uses

func (m *ExecutionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutionPolicy) XXX_Merge Uses

func (m *ExecutionPolicy) XXX_Merge(src proto.Message)

func (*ExecutionPolicy) XXX_Size Uses

func (m *ExecutionPolicy) XXX_Size() int

func (*ExecutionPolicy) XXX_Unmarshal Uses

func (m *ExecutionPolicy) XXX_Unmarshal(b []byte) error

type ExecutionServer Uses

type ExecutionServer interface {
    // Execute an action remotely.
    //
    // In order to execute an action, the client must first upload all of the
    // inputs, the
    // [Command][build.bazel.remote.execution.v2.Command] to run, and the
    // [Action][build.bazel.remote.execution.v2.Action] into the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
    // It then calls `Execute` with an `action_digest` referring to them. The
    // server will run the action and eventually return the result.
    //
    // The input `Action`'s fields MUST meet the various canonicalization
    // requirements specified in the documentation for their types so that it has
    // the same digest as other logically equivalent `Action`s. The server MAY
    // enforce the requirements and return errors if a non-canonical input is
    // received. It MAY also proceed without verifying some or all of the
    // requirements, such as for performance reasons. If the server does not
    // verify the requirement, then it will treat the `Action` as distinct from
    // another logically equivalent action if they hash differently.
    //
    // Returns a stream of
    // [google.longrunning.Operation][google.longrunning.Operation] messages
    // describing the resulting execution, with eventual `response`
    // [ExecuteResponse][build.bazel.remote.execution.v2.ExecuteResponse]. The
    // `metadata` on the operation is of type
    // [ExecuteOperationMetadata][build.bazel.remote.execution.v2.ExecuteOperationMetadata].
    //
    // If the client remains connected after the first response is returned after
    // the server, then updates are streamed as if the client had called
    // [WaitExecution][build.bazel.remote.execution.v2.Execution.WaitExecution]
    // until the execution completes or the request reaches an error. The
    // operation can also be queried using [Operations
    // API][google.longrunning.Operations.GetOperation].
    //
    // The server NEED NOT implement other methods or functionality of the
    // Operations API.
    //
    // Errors discovered during creation of the `Operation` will be reported
    // as gRPC Status errors, while errors that occurred while running the
    // action will be reported in the `status` field of the `ExecuteResponse`. The
    // server MUST NOT set the `error` field of the `Operation` proto.
    // The possible errors include:
    //
    // * `INVALID_ARGUMENT`: One or more arguments are invalid.
    // * `FAILED_PRECONDITION`: One or more errors occurred in setting up the
    //   action requested, such as a missing input or command or no worker being
    //   available. The client may be able to fix the errors and retry.
    // * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to run
    //   the action.
    // * `UNAVAILABLE`: Due to a transient condition, such as all workers being
    //   occupied (and the server does not support a queue), the action could not
    //   be started. The client should retry.
    // * `INTERNAL`: An internal error occurred in the execution engine or the
    //   worker.
    // * `DEADLINE_EXCEEDED`: The execution timed out.
    // * `CANCELLED`: The operation was cancelled by the client. This status is
    //   only possible if the server implements the Operations API CancelOperation
    //   method, and it was called for the current execution.
    //
    // In the case of a missing input or command, the server SHOULD additionally
    // send a [PreconditionFailure][google.rpc.PreconditionFailure] error detail
    // where, for each requested blob not present in the CAS, there is a
    // `Violation` with a `type` of `MISSING` and a `subject` of
    // `"blobs/{hash}/{size}"` indicating the digest of the missing blob.
    Execute(*ExecuteRequest, Execution_ExecuteServer) error
    // Wait for an execution operation to complete. When the client initially
    // makes the request, the server immediately responds with the current status
    // of the execution. The server will leave the request stream open until the
    // operation completes, and then respond with the completed operation. The
    // server MAY choose to stream additional updates as execution progresses,
    // such as to provide an update as to the state of the execution.
    WaitExecution(*WaitExecutionRequest, Execution_WaitExecutionServer) error
}

ExecutionServer is the server API for Execution service.

type ExecutionStage Uses

type ExecutionStage struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The current stage of action execution.

func (*ExecutionStage) Descriptor Uses

func (*ExecutionStage) Descriptor() ([]byte, []int)

func (*ExecutionStage) ProtoMessage Uses

func (*ExecutionStage) ProtoMessage()

func (*ExecutionStage) Reset Uses

func (m *ExecutionStage) Reset()

func (*ExecutionStage) String Uses

func (m *ExecutionStage) String() string

func (*ExecutionStage) XXX_DiscardUnknown Uses

func (m *ExecutionStage) XXX_DiscardUnknown()

func (*ExecutionStage) XXX_Marshal Uses

func (m *ExecutionStage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutionStage) XXX_Merge Uses

func (m *ExecutionStage) XXX_Merge(src proto.Message)

func (*ExecutionStage) XXX_Size Uses

func (m *ExecutionStage) XXX_Size() int

func (*ExecutionStage) XXX_Unmarshal Uses

func (m *ExecutionStage) XXX_Unmarshal(b []byte) error

type ExecutionStage_Value Uses

type ExecutionStage_Value int32
const (
    // Invalid value.
    ExecutionStage_UNKNOWN ExecutionStage_Value = 0
    // Checking the result against the cache.
    ExecutionStage_CACHE_CHECK ExecutionStage_Value = 1
    // Currently idle, awaiting a free machine to execute.
    ExecutionStage_QUEUED ExecutionStage_Value = 2
    // Currently being executed by a worker.
    ExecutionStage_EXECUTING ExecutionStage_Value = 3
    // Finished execution.
    ExecutionStage_COMPLETED ExecutionStage_Value = 4
)

func (ExecutionStage_Value) EnumDescriptor Uses

func (ExecutionStage_Value) EnumDescriptor() ([]byte, []int)

func (ExecutionStage_Value) String Uses

func (x ExecutionStage_Value) String() string

type Execution_ExecuteClient Uses

type Execution_ExecuteClient interface {
    Recv() (*longrunning.Operation, error)
    grpc.ClientStream
}

type Execution_ExecuteServer Uses

type Execution_ExecuteServer interface {
    Send(*longrunning.Operation) error
    grpc.ServerStream
}

type Execution_WaitExecutionClient Uses

type Execution_WaitExecutionClient interface {
    Recv() (*longrunning.Operation, error)
    grpc.ClientStream
}

type Execution_WaitExecutionServer Uses

type Execution_WaitExecutionServer interface {
    Send(*longrunning.Operation) error
    grpc.ServerStream
}

type FileNode Uses

type FileNode struct {
    // The name of the file.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The digest of the file's content.
    Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
    // True if file is executable, false otherwise.
    IsExecutable         bool            `protobuf:"varint,4,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"`
    NodeProperties       *NodeProperties `protobuf:"bytes,6,opt,name=node_properties,json=nodeProperties,proto3" json:"node_properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

A `FileNode` represents a single file and associated metadata.

func (*FileNode) Descriptor Uses

func (*FileNode) Descriptor() ([]byte, []int)

func (*FileNode) GetDigest Uses

func (m *FileNode) GetDigest() *Digest

func (*FileNode) GetIsExecutable Uses

func (m *FileNode) GetIsExecutable() bool

func (*FileNode) GetName Uses

func (m *FileNode) GetName() string

func (*FileNode) GetNodeProperties Uses

func (m *FileNode) GetNodeProperties() *NodeProperties

func (*FileNode) ProtoMessage Uses

func (*FileNode) ProtoMessage()

func (*FileNode) Reset Uses

func (m *FileNode) Reset()

func (*FileNode) String Uses

func (m *FileNode) String() string

func (*FileNode) XXX_DiscardUnknown Uses

func (m *FileNode) XXX_DiscardUnknown()

func (*FileNode) XXX_Marshal Uses

func (m *FileNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileNode) XXX_Merge Uses

func (m *FileNode) XXX_Merge(src proto.Message)

func (*FileNode) XXX_Size Uses

func (m *FileNode) XXX_Size() int

func (*FileNode) XXX_Unmarshal Uses

func (m *FileNode) XXX_Unmarshal(b []byte) error

type FindMissingBlobsRequest Uses

type FindMissingBlobsRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    // A list of the blobs to check.
    BlobDigests          []*Digest `protobuf:"bytes,2,rep,name=blob_digests,json=blobDigests,proto3" json:"blob_digests,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

A request message for [ContentAddressableStorage.FindMissingBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.FindMissingBlobs].

func (*FindMissingBlobsRequest) Descriptor Uses

func (*FindMissingBlobsRequest) Descriptor() ([]byte, []int)

func (*FindMissingBlobsRequest) GetBlobDigests Uses

func (m *FindMissingBlobsRequest) GetBlobDigests() []*Digest

func (*FindMissingBlobsRequest) GetInstanceName Uses

func (m *FindMissingBlobsRequest) GetInstanceName() string

func (*FindMissingBlobsRequest) ProtoMessage Uses

func (*FindMissingBlobsRequest) ProtoMessage()

func (*FindMissingBlobsRequest) Reset Uses

func (m *FindMissingBlobsRequest) Reset()

func (*FindMissingBlobsRequest) String Uses

func (m *FindMissingBlobsRequest) String() string

func (*FindMissingBlobsRequest) XXX_DiscardUnknown Uses

func (m *FindMissingBlobsRequest) XXX_DiscardUnknown()

func (*FindMissingBlobsRequest) XXX_Marshal Uses

func (m *FindMissingBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindMissingBlobsRequest) XXX_Merge Uses

func (m *FindMissingBlobsRequest) XXX_Merge(src proto.Message)

func (*FindMissingBlobsRequest) XXX_Size Uses

func (m *FindMissingBlobsRequest) XXX_Size() int

func (*FindMissingBlobsRequest) XXX_Unmarshal Uses

func (m *FindMissingBlobsRequest) XXX_Unmarshal(b []byte) error

type FindMissingBlobsResponse Uses

type FindMissingBlobsResponse struct {
    // A list of the blobs requested *not* present in the storage.
    MissingBlobDigests   []*Digest `protobuf:"bytes,2,rep,name=missing_blob_digests,json=missingBlobDigests,proto3" json:"missing_blob_digests,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

A response message for [ContentAddressableStorage.FindMissingBlobs][build.bazel.remote.execution.v2.ContentAddressableStorage.FindMissingBlobs].

func (*FindMissingBlobsResponse) Descriptor Uses

func (*FindMissingBlobsResponse) Descriptor() ([]byte, []int)

func (*FindMissingBlobsResponse) GetMissingBlobDigests Uses

func (m *FindMissingBlobsResponse) GetMissingBlobDigests() []*Digest

func (*FindMissingBlobsResponse) ProtoMessage Uses

func (*FindMissingBlobsResponse) ProtoMessage()

func (*FindMissingBlobsResponse) Reset Uses

func (m *FindMissingBlobsResponse) Reset()

func (*FindMissingBlobsResponse) String Uses

func (m *FindMissingBlobsResponse) String() string

func (*FindMissingBlobsResponse) XXX_DiscardUnknown Uses

func (m *FindMissingBlobsResponse) XXX_DiscardUnknown()

func (*FindMissingBlobsResponse) XXX_Marshal Uses

func (m *FindMissingBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FindMissingBlobsResponse) XXX_Merge Uses

func (m *FindMissingBlobsResponse) XXX_Merge(src proto.Message)

func (*FindMissingBlobsResponse) XXX_Size Uses

func (m *FindMissingBlobsResponse) XXX_Size() int

func (*FindMissingBlobsResponse) XXX_Unmarshal Uses

func (m *FindMissingBlobsResponse) XXX_Unmarshal(b []byte) error

type GetActionResultRequest Uses

type GetActionResultRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    // The digest of the [Action][build.bazel.remote.execution.v2.Action]
    // whose result is requested.
    ActionDigest *Digest `protobuf:"bytes,2,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"`
    // A hint to the server to request inlining stdout in the
    // [ActionResult][build.bazel.remote.execution.v2.ActionResult] message.
    InlineStdout bool `protobuf:"varint,3,opt,name=inline_stdout,json=inlineStdout,proto3" json:"inline_stdout,omitempty"`
    // A hint to the server to request inlining stderr in the
    // [ActionResult][build.bazel.remote.execution.v2.ActionResult] message.
    InlineStderr bool `protobuf:"varint,4,opt,name=inline_stderr,json=inlineStderr,proto3" json:"inline_stderr,omitempty"`
    // A hint to the server to inline the contents of the listed output files.
    // Each path needs to exactly match one file path in either `output_paths` or
    // `output_files` (DEPRECATED since v2.1) in the
    // [Command][build.bazel.remote.execution.v2.Command] message.
    InlineOutputFiles    []string `protobuf:"bytes,5,rep,name=inline_output_files,json=inlineOutputFiles,proto3" json:"inline_output_files,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for [ActionCache.GetActionResult][build.bazel.remote.execution.v2.ActionCache.GetActionResult].

func (*GetActionResultRequest) Descriptor Uses

func (*GetActionResultRequest) Descriptor() ([]byte, []int)

func (*GetActionResultRequest) GetActionDigest Uses

func (m *GetActionResultRequest) GetActionDigest() *Digest

func (*GetActionResultRequest) GetInlineOutputFiles Uses

func (m *GetActionResultRequest) GetInlineOutputFiles() []string

func (*GetActionResultRequest) GetInlineStderr Uses

func (m *GetActionResultRequest) GetInlineStderr() bool

func (*GetActionResultRequest) GetInlineStdout Uses

func (m *GetActionResultRequest) GetInlineStdout() bool

func (*GetActionResultRequest) GetInstanceName Uses

func (m *GetActionResultRequest) GetInstanceName() string

func (*GetActionResultRequest) ProtoMessage Uses

func (*GetActionResultRequest) ProtoMessage()

func (*GetActionResultRequest) Reset Uses

func (m *GetActionResultRequest) Reset()

func (*GetActionResultRequest) String Uses

func (m *GetActionResultRequest) String() string

func (*GetActionResultRequest) XXX_DiscardUnknown Uses

func (m *GetActionResultRequest) XXX_DiscardUnknown()

func (*GetActionResultRequest) XXX_Marshal Uses

func (m *GetActionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetActionResultRequest) XXX_Merge Uses

func (m *GetActionResultRequest) XXX_Merge(src proto.Message)

func (*GetActionResultRequest) XXX_Size Uses

func (m *GetActionResultRequest) XXX_Size() int

func (*GetActionResultRequest) XXX_Unmarshal Uses

func (m *GetActionResultRequest) XXX_Unmarshal(b []byte) error

type GetCapabilitiesRequest Uses

type GetCapabilitiesRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName         string   `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for [Capabilities.GetCapabilities][build.bazel.remote.execution.v2.Capabilities.GetCapabilities].

func (*GetCapabilitiesRequest) Descriptor Uses

func (*GetCapabilitiesRequest) Descriptor() ([]byte, []int)

func (*GetCapabilitiesRequest) GetInstanceName Uses

func (m *GetCapabilitiesRequest) GetInstanceName() string

func (*GetCapabilitiesRequest) ProtoMessage Uses

func (*GetCapabilitiesRequest) ProtoMessage()

func (*GetCapabilitiesRequest) Reset Uses

func (m *GetCapabilitiesRequest) Reset()

func (*GetCapabilitiesRequest) String Uses

func (m *GetCapabilitiesRequest) String() string

func (*GetCapabilitiesRequest) XXX_DiscardUnknown Uses

func (m *GetCapabilitiesRequest) XXX_DiscardUnknown()

func (*GetCapabilitiesRequest) XXX_Marshal Uses

func (m *GetCapabilitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCapabilitiesRequest) XXX_Merge Uses

func (m *GetCapabilitiesRequest) XXX_Merge(src proto.Message)

func (*GetCapabilitiesRequest) XXX_Size Uses

func (m *GetCapabilitiesRequest) XXX_Size() int

func (*GetCapabilitiesRequest) XXX_Unmarshal Uses

func (m *GetCapabilitiesRequest) XXX_Unmarshal(b []byte) error

type GetTreeRequest Uses

type GetTreeRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    // The digest of the root, which must be an encoded
    // [Directory][build.bazel.remote.execution.v2.Directory] message
    // stored in the
    // [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage].
    RootDigest *Digest `protobuf:"bytes,2,opt,name=root_digest,json=rootDigest,proto3" json:"root_digest,omitempty"`
    // A maximum page size to request. If present, the server will request no more
    // than this many items. Regardless of whether a page size is specified, the
    // server may place its own limit on the number of items to be returned and
    // require the client to retrieve more items using a subsequent request.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, which must be a value received in a previous
    // [GetTreeResponse][build.bazel.remote.execution.v2.GetTreeResponse].
    // If present, the server will use that token as an offset, returning only
    // that page and the ones that succeed it.
    PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for [ContentAddressableStorage.GetTree][build.bazel.remote.execution.v2.ContentAddressableStorage.GetTree].

func (*GetTreeRequest) Descriptor Uses

func (*GetTreeRequest) Descriptor() ([]byte, []int)

func (*GetTreeRequest) GetInstanceName Uses

func (m *GetTreeRequest) GetInstanceName() string

func (*GetTreeRequest) GetPageSize Uses

func (m *GetTreeRequest) GetPageSize() int32

func (*GetTreeRequest) GetPageToken Uses

func (m *GetTreeRequest) GetPageToken() string

func (*GetTreeRequest) GetRootDigest Uses

func (m *GetTreeRequest) GetRootDigest() *Digest

func (*GetTreeRequest) ProtoMessage Uses

func (*GetTreeRequest) ProtoMessage()

func (*GetTreeRequest) Reset Uses

func (m *GetTreeRequest) Reset()

func (*GetTreeRequest) String Uses

func (m *GetTreeRequest) String() string

func (*GetTreeRequest) XXX_DiscardUnknown Uses

func (m *GetTreeRequest) XXX_DiscardUnknown()

func (*GetTreeRequest) XXX_Marshal Uses

func (m *GetTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTreeRequest) XXX_Merge Uses

func (m *GetTreeRequest) XXX_Merge(src proto.Message)

func (*GetTreeRequest) XXX_Size Uses

func (m *GetTreeRequest) XXX_Size() int

func (*GetTreeRequest) XXX_Unmarshal Uses

func (m *GetTreeRequest) XXX_Unmarshal(b []byte) error

type GetTreeResponse Uses

type GetTreeResponse struct {
    // The directories descended from the requested root.
    Directories []*Directory `protobuf:"bytes,1,rep,name=directories,proto3" json:"directories,omitempty"`
    // If present, signifies that there are more results which the client can
    // retrieve by passing this as the page_token in a subsequent
    // [request][build.bazel.remote.execution.v2.GetTreeRequest].
    // If empty, signifies that this is the last page of results.
    NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response message for [ContentAddressableStorage.GetTree][build.bazel.remote.execution.v2.ContentAddressableStorage.GetTree].

func (*GetTreeResponse) Descriptor Uses

func (*GetTreeResponse) Descriptor() ([]byte, []int)

func (*GetTreeResponse) GetDirectories Uses

func (m *GetTreeResponse) GetDirectories() []*Directory

func (*GetTreeResponse) GetNextPageToken Uses

func (m *GetTreeResponse) GetNextPageToken() string

func (*GetTreeResponse) ProtoMessage Uses

func (*GetTreeResponse) ProtoMessage()

func (*GetTreeResponse) Reset Uses

func (m *GetTreeResponse) Reset()

func (*GetTreeResponse) String Uses

func (m *GetTreeResponse) String() string

func (*GetTreeResponse) XXX_DiscardUnknown Uses

func (m *GetTreeResponse) XXX_DiscardUnknown()

func (*GetTreeResponse) XXX_Marshal Uses

func (m *GetTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTreeResponse) XXX_Merge Uses

func (m *GetTreeResponse) XXX_Merge(src proto.Message)

func (*GetTreeResponse) XXX_Size Uses

func (m *GetTreeResponse) XXX_Size() int

func (*GetTreeResponse) XXX_Unmarshal Uses

func (m *GetTreeResponse) XXX_Unmarshal(b []byte) error

type LogFile Uses

type LogFile struct {
    // The digest of the log contents.
    Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
    // 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.
    HumanReadable        bool     `protobuf:"varint,2,opt,name=human_readable,json=humanReadable,proto3" json:"human_readable,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A `LogFile` is a log stored in the CAS.

func (*LogFile) Descriptor Uses

func (*LogFile) Descriptor() ([]byte, []int)

func (*LogFile) GetDigest Uses

func (m *LogFile) GetDigest() *Digest

func (*LogFile) GetHumanReadable Uses

func (m *LogFile) GetHumanReadable() bool

func (*LogFile) ProtoMessage Uses

func (*LogFile) ProtoMessage()

func (*LogFile) Reset Uses

func (m *LogFile) Reset()

func (*LogFile) String Uses

func (m *LogFile) String() string

func (*LogFile) XXX_DiscardUnknown Uses

func (m *LogFile) XXX_DiscardUnknown()

func (*LogFile) XXX_Marshal Uses

func (m *LogFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogFile) XXX_Merge Uses

func (m *LogFile) XXX_Merge(src proto.Message)

func (*LogFile) XXX_Size Uses

func (m *LogFile) XXX_Size() int

func (*LogFile) XXX_Unmarshal Uses

func (m *LogFile) XXX_Unmarshal(b []byte) error

type NodeProperties Uses

type NodeProperties struct {
    // A list of string-based
    // [NodeProperties][build.bazel.remote.execution.v2.NodeProperty].
    Properties []*NodeProperty `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
    // The file's last modification timestamp.
    Mtime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=mtime,proto3" json:"mtime,omitempty"`
    // The UNIX file mode, e.g., 0755.
    UnixMode             *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=unix_mode,json=unixMode,proto3" json:"unix_mode,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

Node properties for [FileNodes][build.bazel.remote.execution.v2.FileNode], [DirectoryNodes][build.bazel.remote.execution.v2.DirectoryNode], and [SymlinkNodes][build.bazel.remote.execution.v2.SymlinkNode]. The server is responsible for specifying the properties that it accepts.

func (*NodeProperties) Descriptor Uses

func (*NodeProperties) Descriptor() ([]byte, []int)

func (*NodeProperties) GetMtime Uses

func (m *NodeProperties) GetMtime() *timestamp.Timestamp

func (*NodeProperties) GetProperties Uses

func (m *NodeProperties) GetProperties() []*NodeProperty

func (*NodeProperties) GetUnixMode Uses

func (m *NodeProperties) GetUnixMode() *wrappers.UInt32Value

func (*NodeProperties) ProtoMessage Uses

func (*NodeProperties) ProtoMessage()

func (*NodeProperties) Reset Uses

func (m *NodeProperties) Reset()

func (*NodeProperties) String Uses

func (m *NodeProperties) String() string

func (*NodeProperties) XXX_DiscardUnknown Uses

func (m *NodeProperties) XXX_DiscardUnknown()

func (*NodeProperties) XXX_Marshal Uses

func (m *NodeProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeProperties) XXX_Merge Uses

func (m *NodeProperties) XXX_Merge(src proto.Message)

func (*NodeProperties) XXX_Size Uses

func (m *NodeProperties) XXX_Size() int

func (*NodeProperties) XXX_Unmarshal Uses

func (m *NodeProperties) XXX_Unmarshal(b []byte) error

type NodeProperty Uses

type NodeProperty struct {
    // The property name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The property value.
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A single property for [FileNodes][build.bazel.remote.execution.v2.FileNode], [DirectoryNodes][build.bazel.remote.execution.v2.DirectoryNode], and [SymlinkNodes][build.bazel.remote.execution.v2.SymlinkNode]. 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.

func (*NodeProperty) Descriptor Uses

func (*NodeProperty) Descriptor() ([]byte, []int)

func (*NodeProperty) GetName Uses

func (m *NodeProperty) GetName() string

func (*NodeProperty) GetValue Uses

func (m *NodeProperty) GetValue() string

func (*NodeProperty) ProtoMessage Uses

func (*NodeProperty) ProtoMessage()

func (*NodeProperty) Reset Uses

func (m *NodeProperty) Reset()

func (*NodeProperty) String Uses

func (m *NodeProperty) String() string

func (*NodeProperty) XXX_DiscardUnknown Uses

func (m *NodeProperty) XXX_DiscardUnknown()

func (*NodeProperty) XXX_Marshal Uses

func (m *NodeProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeProperty) XXX_Merge Uses

func (m *NodeProperty) XXX_Merge(src proto.Message)

func (*NodeProperty) XXX_Size Uses

func (m *NodeProperty) XXX_Size() int

func (*NodeProperty) XXX_Unmarshal Uses

func (m *NodeProperty) XXX_Unmarshal(b []byte) error

type OutputDirectory Uses

type OutputDirectory struct {
    // 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.
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // The digest of the encoded
    // [Tree][build.bazel.remote.execution.v2.Tree] proto containing the
    // directory's contents.
    TreeDigest           *Digest  `protobuf:"bytes,3,opt,name=tree_digest,json=treeDigest,proto3" json:"tree_digest,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An `OutputDirectory` is the output in an `ActionResult` corresponding to a directory's full contents rather than a single file.

func (*OutputDirectory) Descriptor Uses

func (*OutputDirectory) Descriptor() ([]byte, []int)

func (*OutputDirectory) GetPath Uses

func (m *OutputDirectory) GetPath() string

func (*OutputDirectory) GetTreeDigest Uses

func (m *OutputDirectory) GetTreeDigest() *Digest

func (*OutputDirectory) ProtoMessage Uses

func (*OutputDirectory) ProtoMessage()

func (*OutputDirectory) Reset Uses

func (m *OutputDirectory) Reset()

func (*OutputDirectory) String Uses

func (m *OutputDirectory) String() string

func (*OutputDirectory) XXX_DiscardUnknown Uses

func (m *OutputDirectory) XXX_DiscardUnknown()

func (*OutputDirectory) XXX_Marshal Uses

func (m *OutputDirectory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputDirectory) XXX_Merge Uses

func (m *OutputDirectory) XXX_Merge(src proto.Message)

func (*OutputDirectory) XXX_Size Uses

func (m *OutputDirectory) XXX_Size() int

func (*OutputDirectory) XXX_Unmarshal Uses

func (m *OutputDirectory) XXX_Unmarshal(b []byte) error

type OutputFile Uses

type OutputFile struct {
    // 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.
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // The digest of the file's content.
    Digest *Digest `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
    // True if file is executable, false otherwise.
    IsExecutable bool `protobuf:"varint,4,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"`
    // The contents of the file if inlining was requested. The server SHOULD NOT inline
    // file contents unless requested by the client in the
    // [GetActionResultRequest][build.bazel.remote.execution.v2.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.
    Contents             []byte          `protobuf:"bytes,5,opt,name=contents,proto3" json:"contents,omitempty"`
    NodeProperties       *NodeProperties `protobuf:"bytes,7,opt,name=node_properties,json=nodeProperties,proto3" json:"node_properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

An `OutputFile` is similar to a [FileNode][build.bazel.remote.execution.v2.FileNode], but it is used as an output in an `ActionResult`. It allows a full file path rather than only a name.

func (*OutputFile) Descriptor Uses

func (*OutputFile) Descriptor() ([]byte, []int)

func (*OutputFile) GetContents Uses

func (m *OutputFile) GetContents() []byte

func (*OutputFile) GetDigest Uses

func (m *OutputFile) GetDigest() *Digest

func (*OutputFile) GetIsExecutable Uses

func (m *OutputFile) GetIsExecutable() bool

func (*OutputFile) GetNodeProperties Uses

func (m *OutputFile) GetNodeProperties() *NodeProperties

func (*OutputFile) GetPath Uses

func (m *OutputFile) GetPath() string

func (*OutputFile) ProtoMessage Uses

func (*OutputFile) ProtoMessage()

func (*OutputFile) Reset Uses

func (m *OutputFile) Reset()

func (*OutputFile) String Uses

func (m *OutputFile) String() string

func (*OutputFile) XXX_DiscardUnknown Uses

func (m *OutputFile) XXX_DiscardUnknown()

func (*OutputFile) XXX_Marshal Uses

func (m *OutputFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputFile) XXX_Merge Uses

func (m *OutputFile) XXX_Merge(src proto.Message)

func (*OutputFile) XXX_Size Uses

func (m *OutputFile) XXX_Size() int

func (*OutputFile) XXX_Unmarshal Uses

func (m *OutputFile) XXX_Unmarshal(b []byte) error
type OutputSymlink struct {
    // 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.
    Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // 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][build.bazel.remote.execution.v2.Capabilities]
    // API. `..` components are allowed anywhere in the target path.
    Target               string          `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
    NodeProperties       *NodeProperties `protobuf:"bytes,4,opt,name=node_properties,json=nodeProperties,proto3" json:"node_properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

An `OutputSymlink` is similar to a [Symlink][build.bazel.remote.execution.v2.SymlinkNode], but it is used as an output in an `ActionResult`.

`OutputSymlink` is binary-compatible with `SymlinkNode`.

func (*OutputSymlink) Descriptor Uses

func (*OutputSymlink) Descriptor() ([]byte, []int)

func (*OutputSymlink) GetNodeProperties Uses

func (m *OutputSymlink) GetNodeProperties() *NodeProperties

func (*OutputSymlink) GetPath Uses

func (m *OutputSymlink) GetPath() string

func (*OutputSymlink) GetTarget Uses

func (m *OutputSymlink) GetTarget() string

func (*OutputSymlink) ProtoMessage Uses

func (*OutputSymlink) ProtoMessage()

func (*OutputSymlink) Reset Uses

func (m *OutputSymlink) Reset()

func (*OutputSymlink) String Uses

func (m *OutputSymlink) String() string

func (*OutputSymlink) XXX_DiscardUnknown Uses

func (m *OutputSymlink) XXX_DiscardUnknown()

func (*OutputSymlink) XXX_Marshal Uses

func (m *OutputSymlink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputSymlink) XXX_Merge Uses

func (m *OutputSymlink) XXX_Merge(src proto.Message)

func (*OutputSymlink) XXX_Size Uses

func (m *OutputSymlink) XXX_Size() int

func (*OutputSymlink) XXX_Unmarshal Uses

func (m *OutputSymlink) XXX_Unmarshal(b []byte) error

type Platform Uses

type Platform struct {
    // 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.
    Properties           []*Platform_Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

A `Platform` is a set of requirements, such as hardware, operating system, or compiler toolchain, for an [Action][build.bazel.remote.execution.v2.Action]'s execution environment. A `Platform` is represented as a series of key-value pairs representing the properties that are required of the platform.

func (*Platform) Descriptor Uses

func (*Platform) Descriptor() ([]byte, []int)

func (*Platform) GetProperties Uses

func (m *Platform) GetProperties() []*Platform_Property

func (*Platform) ProtoMessage Uses

func (*Platform) ProtoMessage()

func (*Platform) Reset Uses

func (m *Platform) Reset()

func (*Platform) String Uses

func (m *Platform) String() string

func (*Platform) XXX_DiscardUnknown Uses

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal Uses

func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Platform) XXX_Merge Uses

func (m *Platform) XXX_Merge(src proto.Message)

func (*Platform) XXX_Size Uses

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal Uses

func (m *Platform) XXX_Unmarshal(b []byte) error

type Platform_Property Uses

type Platform_Property struct {
    // The property name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The property value.
    Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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][build.bazel.remote.execution.v2.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.

func (*Platform_Property) Descriptor Uses

func (*Platform_Property) Descriptor() ([]byte, []int)

func (*Platform_Property) GetName Uses

func (m *Platform_Property) GetName() string

func (*Platform_Property) GetValue Uses

func (m *Platform_Property) GetValue() string

func (*Platform_Property) ProtoMessage Uses

func (*Platform_Property) ProtoMessage()

func (*Platform_Property) Reset Uses

func (m *Platform_Property) Reset()

func (*Platform_Property) String Uses

func (m *Platform_Property) String() string

func (*Platform_Property) XXX_DiscardUnknown Uses

func (m *Platform_Property) XXX_DiscardUnknown()

func (*Platform_Property) XXX_Marshal Uses

func (m *Platform_Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Platform_Property) XXX_Merge Uses

func (m *Platform_Property) XXX_Merge(src proto.Message)

func (*Platform_Property) XXX_Size Uses

func (m *Platform_Property) XXX_Size() int

func (*Platform_Property) XXX_Unmarshal Uses

func (m *Platform_Property) XXX_Unmarshal(b []byte) error

type PriorityCapabilities Uses

type PriorityCapabilities struct {
    Priorities           []*PriorityCapabilities_PriorityRange `protobuf:"bytes,1,rep,name=priorities,proto3" json:"priorities,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
    XXX_unrecognized     []byte                                `json:"-"`
    XXX_sizecache        int32                                 `json:"-"`
}

Allowed values for priority in [ResultsCachePolicy][build.bazel.remoteexecution.v2.ResultsCachePolicy] and [ExecutionPolicy][build.bazel.remoteexecution.v2.ResultsCachePolicy] Used for querying both cache and execution valid priority ranges.

func (*PriorityCapabilities) Descriptor Uses

func (*PriorityCapabilities) Descriptor() ([]byte, []int)

func (*PriorityCapabilities) GetPriorities Uses

func (m *PriorityCapabilities) GetPriorities() []*PriorityCapabilities_PriorityRange

func (*PriorityCapabilities) ProtoMessage Uses

func (*PriorityCapabilities) ProtoMessage()

func (*PriorityCapabilities) Reset Uses

func (m *PriorityCapabilities) Reset()

func (*PriorityCapabilities) String Uses

func (m *PriorityCapabilities) String() string

func (*PriorityCapabilities) XXX_DiscardUnknown Uses

func (m *PriorityCapabilities) XXX_DiscardUnknown()

func (*PriorityCapabilities) XXX_Marshal Uses

func (m *PriorityCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriorityCapabilities) XXX_Merge Uses

func (m *PriorityCapabilities) XXX_Merge(src proto.Message)

func (*PriorityCapabilities) XXX_Size Uses

func (m *PriorityCapabilities) XXX_Size() int

func (*PriorityCapabilities) XXX_Unmarshal Uses

func (m *PriorityCapabilities) XXX_Unmarshal(b []byte) error

type PriorityCapabilities_PriorityRange Uses

type PriorityCapabilities_PriorityRange struct {
    // The minimum numeric value for this priority range, which represents the
    // most urgent task or longest retained item.
    MinPriority int32 `protobuf:"varint,1,opt,name=min_priority,json=minPriority,proto3" json:"min_priority,omitempty"`
    // The maximum numeric value for this priority range, which represents the
    // least urgent task or shortest retained item.
    MaxPriority          int32    `protobuf:"varint,2,opt,name=max_priority,json=maxPriority,proto3" json:"max_priority,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Supported range of priorities, including boundaries.

func (*PriorityCapabilities_PriorityRange) Descriptor Uses

func (*PriorityCapabilities_PriorityRange) Descriptor() ([]byte, []int)

func (*PriorityCapabilities_PriorityRange) GetMaxPriority Uses

func (m *PriorityCapabilities_PriorityRange) GetMaxPriority() int32

func (*PriorityCapabilities_PriorityRange) GetMinPriority Uses

func (m *PriorityCapabilities_PriorityRange) GetMinPriority() int32

func (*PriorityCapabilities_PriorityRange) ProtoMessage Uses

func (*PriorityCapabilities_PriorityRange) ProtoMessage()

func (*PriorityCapabilities_PriorityRange) Reset Uses

func (m *PriorityCapabilities_PriorityRange) Reset()

func (*PriorityCapabilities_PriorityRange) String Uses

func (m *PriorityCapabilities_PriorityRange) String() string

func (*PriorityCapabilities_PriorityRange) XXX_DiscardUnknown Uses

func (m *PriorityCapabilities_PriorityRange) XXX_DiscardUnknown()

func (*PriorityCapabilities_PriorityRange) XXX_Marshal Uses

func (m *PriorityCapabilities_PriorityRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriorityCapabilities_PriorityRange) XXX_Merge Uses

func (m *PriorityCapabilities_PriorityRange) XXX_Merge(src proto.Message)

func (*PriorityCapabilities_PriorityRange) XXX_Size Uses

func (m *PriorityCapabilities_PriorityRange) XXX_Size() int

func (*PriorityCapabilities_PriorityRange) XXX_Unmarshal Uses

func (m *PriorityCapabilities_PriorityRange) XXX_Unmarshal(b []byte) error

type RequestMetadata Uses

type RequestMetadata struct {
    // The details for the tool invoking the requests.
    ToolDetails *ToolDetails `protobuf:"bytes,1,opt,name=tool_details,json=toolDetails,proto3" json:"tool_details,omitempty"`
    // 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.
    ActionId string `protobuf:"bytes,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
    // An identifier that ties multiple actions together to a final result.
    // For example, multiple actions are required to build and run foo_test.
    ToolInvocationId string `protobuf:"bytes,3,opt,name=tool_invocation_id,json=toolInvocationId,proto3" json:"tool_invocation_id,omitempty"`
    // 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.
    CorrelatedInvocationsId string   `protobuf:"bytes,4,opt,name=correlated_invocations_id,json=correlatedInvocationsId,proto3" json:"correlated_invocations_id,omitempty"`
    XXX_NoUnkeyedLiteral    struct{} `json:"-"`
    XXX_unrecognized        []byte   `json:"-"`
    XXX_sizecache           int32    `json:"-"`
}

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 base 64 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.

func (*RequestMetadata) Descriptor Uses

func (*RequestMetadata) Descriptor() ([]byte, []int)

func (*RequestMetadata) GetActionId Uses

func (m *RequestMetadata) GetActionId() string

func (*RequestMetadata) GetCorrelatedInvocationsId Uses

func (m *RequestMetadata) GetCorrelatedInvocationsId() string

func (*RequestMetadata) GetToolDetails Uses

func (m *RequestMetadata) GetToolDetails() *ToolDetails

func (*RequestMetadata) GetToolInvocationId Uses

func (m *RequestMetadata) GetToolInvocationId() string

func (*RequestMetadata) ProtoMessage Uses

func (*RequestMetadata) ProtoMessage()

func (*RequestMetadata) Reset Uses

func (m *RequestMetadata) Reset()

func (*RequestMetadata) String Uses

func (m *RequestMetadata) String() string

func (*RequestMetadata) XXX_DiscardUnknown Uses

func (m *RequestMetadata) XXX_DiscardUnknown()

func (*RequestMetadata) XXX_Marshal Uses

func (m *RequestMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestMetadata) XXX_Merge Uses

func (m *RequestMetadata) XXX_Merge(src proto.Message)

func (*RequestMetadata) XXX_Size Uses

func (m *RequestMetadata) XXX_Size() int

func (*RequestMetadata) XXX_Unmarshal Uses

func (m *RequestMetadata) XXX_Unmarshal(b []byte) error

type ResultsCachePolicy Uses

type ResultsCachePolicy struct {
    // The priority (relative importance) of this content in the overall cache.
    // Generally, a lower value means a longer retention time or other advantage,
    // but the interpretation of a given value is server-dependent. A priority of
    // 0 means a *default* value, decided by the server.
    //
    // The particular semantics of this field is up to the server. In particular,
    // every server will have their own supported range of priorities, and will
    // decide how these map into retention/eviction policy.
    Priority             int32    `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A `ResultsCachePolicy` is used for fine-grained control over how action outputs are stored in the CAS and Action Cache.

func (*ResultsCachePolicy) Descriptor Uses

func (*ResultsCachePolicy) Descriptor() ([]byte, []int)

func (*ResultsCachePolicy) GetPriority Uses

func (m *ResultsCachePolicy) GetPriority() int32

func (*ResultsCachePolicy) ProtoMessage Uses

func (*ResultsCachePolicy) ProtoMessage()

func (*ResultsCachePolicy) Reset Uses

func (m *ResultsCachePolicy) Reset()

func (*ResultsCachePolicy) String Uses

func (m *ResultsCachePolicy) String() string

func (*ResultsCachePolicy) XXX_DiscardUnknown Uses

func (m *ResultsCachePolicy) XXX_DiscardUnknown()

func (*ResultsCachePolicy) XXX_Marshal Uses

func (m *ResultsCachePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResultsCachePolicy) XXX_Merge Uses

func (m *ResultsCachePolicy) XXX_Merge(src proto.Message)

func (*ResultsCachePolicy) XXX_Size Uses

func (m *ResultsCachePolicy) XXX_Size() int

func (*ResultsCachePolicy) XXX_Unmarshal Uses

func (m *ResultsCachePolicy) XXX_Unmarshal(b []byte) error

type ServerCapabilities Uses

type ServerCapabilities struct {
    // Capabilities of the remote cache system.
    CacheCapabilities *CacheCapabilities `protobuf:"bytes,1,opt,name=cache_capabilities,json=cacheCapabilities,proto3" json:"cache_capabilities,omitempty"`
    // Capabilities of the remote execution system.
    ExecutionCapabilities *ExecutionCapabilities `protobuf:"bytes,2,opt,name=execution_capabilities,json=executionCapabilities,proto3" json:"execution_capabilities,omitempty"`
    // Earliest RE API version supported, including deprecated versions.
    DeprecatedApiVersion *semver.SemVer `protobuf:"bytes,3,opt,name=deprecated_api_version,json=deprecatedApiVersion,proto3" json:"deprecated_api_version,omitempty"`
    // Earliest non-deprecated RE API version supported.
    LowApiVersion *semver.SemVer `protobuf:"bytes,4,opt,name=low_api_version,json=lowApiVersion,proto3" json:"low_api_version,omitempty"`
    // Latest RE API version supported.
    HighApiVersion       *semver.SemVer `protobuf:"bytes,5,opt,name=high_api_version,json=highApiVersion,proto3" json:"high_api_version,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

A response message for [Capabilities.GetCapabilities][build.bazel.remote.execution.v2.Capabilities.GetCapabilities].

func (*ServerCapabilities) Descriptor Uses

func (*ServerCapabilities) Descriptor() ([]byte, []int)

func (*ServerCapabilities) GetCacheCapabilities Uses

func (m *ServerCapabilities) GetCacheCapabilities() *CacheCapabilities

func (*ServerCapabilities) GetDeprecatedApiVersion Uses

func (m *ServerCapabilities) GetDeprecatedApiVersion() *semver.SemVer

func (*ServerCapabilities) GetExecutionCapabilities Uses

func (m *ServerCapabilities) GetExecutionCapabilities() *ExecutionCapabilities

func (*ServerCapabilities) GetHighApiVersion Uses

func (m *ServerCapabilities) GetHighApiVersion() *semver.SemVer

func (*ServerCapabilities) GetLowApiVersion Uses

func (m *ServerCapabilities) GetLowApiVersion() *semver.SemVer

func (*ServerCapabilities) ProtoMessage Uses

func (*ServerCapabilities) ProtoMessage()

func (*ServerCapabilities) Reset Uses

func (m *ServerCapabilities) Reset()

func (*ServerCapabilities) String Uses

func (m *ServerCapabilities) String() string

func (*ServerCapabilities) XXX_DiscardUnknown Uses

func (m *ServerCapabilities) XXX_DiscardUnknown()

func (*ServerCapabilities) XXX_Marshal Uses

func (m *ServerCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServerCapabilities) XXX_Merge Uses

func (m *ServerCapabilities) XXX_Merge(src proto.Message)

func (*ServerCapabilities) XXX_Size Uses

func (m *ServerCapabilities) XXX_Size() int

func (*ServerCapabilities) XXX_Unmarshal Uses

func (m *ServerCapabilities) XXX_Unmarshal(b []byte) error

type SymlinkAbsolutePathStrategy Uses

type SymlinkAbsolutePathStrategy struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Describes how the server treats absolute symlink targets.

func (*SymlinkAbsolutePathStrategy) Descriptor Uses

func (*SymlinkAbsolutePathStrategy) Descriptor() ([]byte, []int)

func (*SymlinkAbsolutePathStrategy) ProtoMessage Uses

func (*SymlinkAbsolutePathStrategy) ProtoMessage()

func (*SymlinkAbsolutePathStrategy) Reset Uses

func (m *SymlinkAbsolutePathStrategy) Reset()

func (*SymlinkAbsolutePathStrategy) String Uses

func (m *SymlinkAbsolutePathStrategy) String() string

func (*SymlinkAbsolutePathStrategy) XXX_DiscardUnknown Uses

func (m *SymlinkAbsolutePathStrategy) XXX_DiscardUnknown()

func (*SymlinkAbsolutePathStrategy) XXX_Marshal Uses

func (m *SymlinkAbsolutePathStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SymlinkAbsolutePathStrategy) XXX_Merge Uses

func (m *SymlinkAbsolutePathStrategy) XXX_Merge(src proto.Message)

func (*SymlinkAbsolutePathStrategy) XXX_Size Uses

func (m *SymlinkAbsolutePathStrategy) XXX_Size() int

func (*SymlinkAbsolutePathStrategy) XXX_Unmarshal Uses

func (m *SymlinkAbsolutePathStrategy) XXX_Unmarshal(b []byte) error

type SymlinkAbsolutePathStrategy_Value Uses

type SymlinkAbsolutePathStrategy_Value int32
const (
    // Invalid value.
    SymlinkAbsolutePathStrategy_UNKNOWN SymlinkAbsolutePathStrategy_Value = 0
    // Server will return an `INVALID_ARGUMENT` on input symlinks with absolute
    // targets.
    // If an action tries to create an output symlink with an absolute target, a
    // `FAILED_PRECONDITION` will be returned.
    SymlinkAbsolutePathStrategy_DISALLOWED SymlinkAbsolutePathStrategy_Value = 1
    // Server will allow symlink targets to escape the input root tree, possibly
    // resulting in non-hermetic builds.
    SymlinkAbsolutePathStrategy_ALLOWED SymlinkAbsolutePathStrategy_Value = 2
)

func (SymlinkAbsolutePathStrategy_Value) EnumDescriptor Uses

func (SymlinkAbsolutePathStrategy_Value) EnumDescriptor() ([]byte, []int)

func (SymlinkAbsolutePathStrategy_Value) String Uses

func (x SymlinkAbsolutePathStrategy_Value) String() string

type SymlinkNode Uses

type SymlinkNode struct {
    // The name of the symlink.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // 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][build.bazel.remote.execution.v2.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.
    Target               string          `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
    NodeProperties       *NodeProperties `protobuf:"bytes,4,opt,name=node_properties,json=nodeProperties,proto3" json:"node_properties,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

A `SymlinkNode` represents a symbolic link.

func (*SymlinkNode) Descriptor Uses

func (*SymlinkNode) Descriptor() ([]byte, []int)

func (*SymlinkNode) GetName Uses

func (m *SymlinkNode) GetName() string

func (*SymlinkNode) GetNodeProperties Uses

func (m *SymlinkNode) GetNodeProperties() *NodeProperties

func (*SymlinkNode) GetTarget Uses

func (m *SymlinkNode) GetTarget() string

func (*SymlinkNode) ProtoMessage Uses

func (*SymlinkNode) ProtoMessage()

func (*SymlinkNode) Reset Uses

func (m *SymlinkNode) Reset()

func (*SymlinkNode) String Uses

func (m *SymlinkNode) String() string

func (*SymlinkNode) XXX_DiscardUnknown Uses

func (m *SymlinkNode) XXX_DiscardUnknown()

func (*SymlinkNode) XXX_Marshal Uses

func (m *SymlinkNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SymlinkNode) XXX_Merge Uses

func (m *SymlinkNode) XXX_Merge(src proto.Message)

func (*SymlinkNode) XXX_Size Uses

func (m *SymlinkNode) XXX_Size() int

func (*SymlinkNode) XXX_Unmarshal Uses

func (m *SymlinkNode) XXX_Unmarshal(b []byte) error

type ToolDetails Uses

type ToolDetails struct {
    // Name of the tool, e.g. bazel.
    ToolName string `protobuf:"bytes,1,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"`
    // Version of the tool used for the request, e.g. 5.0.3.
    ToolVersion          string   `protobuf:"bytes,2,opt,name=tool_version,json=toolVersion,proto3" json:"tool_version,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Details for the tool used to call the API.

func (*ToolDetails) Descriptor Uses

func (*ToolDetails) Descriptor() ([]byte, []int)

func (*ToolDetails) GetToolName Uses

func (m *ToolDetails) GetToolName() string

func (*ToolDetails) GetToolVersion Uses

func (m *ToolDetails) GetToolVersion() string

func (*ToolDetails) ProtoMessage Uses

func (*ToolDetails) ProtoMessage()

func (*ToolDetails) Reset Uses

func (m *ToolDetails) Reset()

func (*ToolDetails) String Uses

func (m *ToolDetails) String() string

func (*ToolDetails) XXX_DiscardUnknown Uses

func (m *ToolDetails) XXX_DiscardUnknown()

func (*ToolDetails) XXX_Marshal Uses

func (m *ToolDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ToolDetails) XXX_Merge Uses

func (m *ToolDetails) XXX_Merge(src proto.Message)

func (*ToolDetails) XXX_Size Uses

func (m *ToolDetails) XXX_Size() int

func (*ToolDetails) XXX_Unmarshal Uses

func (m *ToolDetails) XXX_Unmarshal(b []byte) error

type Tree Uses

type Tree struct {
    // The root directory in the tree.
    Root *Directory `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
    // 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`.
    Children             []*Directory `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
    XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    XXX_unrecognized     []byte       `json:"-"`
    XXX_sizecache        int32        `json:"-"`
}

A `Tree` contains all the [Directory][build.bazel.remote.execution.v2.Directory] protos in a single directory Merkle tree, compressed into one message.

func (*Tree) Descriptor Uses

func (*Tree) Descriptor() ([]byte, []int)

func (*Tree) GetChildren Uses

func (m *Tree) GetChildren() []*Directory

func (*Tree) GetRoot Uses

func (m *Tree) GetRoot() *Directory

func (*Tree) ProtoMessage Uses

func (*Tree) ProtoMessage()

func (*Tree) Reset Uses

func (m *Tree) Reset()

func (*Tree) String Uses

func (m *Tree) String() string

func (*Tree) XXX_DiscardUnknown Uses

func (m *Tree) XXX_DiscardUnknown()

func (*Tree) XXX_Marshal Uses

func (m *Tree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tree) XXX_Merge Uses

func (m *Tree) XXX_Merge(src proto.Message)

func (*Tree) XXX_Size Uses

func (m *Tree) XXX_Size() int

func (*Tree) XXX_Unmarshal Uses

func (m *Tree) XXX_Unmarshal(b []byte) error

type UnimplementedActionCacheServer Uses

type UnimplementedActionCacheServer struct {
}

UnimplementedActionCacheServer can be embedded to have forward compatible implementations.

func (*UnimplementedActionCacheServer) GetActionResult Uses

func (*UnimplementedActionCacheServer) GetActionResult(ctx context.Context, req *GetActionResultRequest) (*ActionResult, error)

func (*UnimplementedActionCacheServer) UpdateActionResult Uses

func (*UnimplementedActionCacheServer) UpdateActionResult(ctx context.Context, req *UpdateActionResultRequest) (*ActionResult, error)

type UnimplementedCapabilitiesServer Uses

type UnimplementedCapabilitiesServer struct {
}

UnimplementedCapabilitiesServer can be embedded to have forward compatible implementations.

func (*UnimplementedCapabilitiesServer) GetCapabilities Uses

func (*UnimplementedCapabilitiesServer) GetCapabilities(ctx context.Context, req *GetCapabilitiesRequest) (*ServerCapabilities, error)

type UnimplementedContentAddressableStorageServer Uses

type UnimplementedContentAddressableStorageServer struct {
}

UnimplementedContentAddressableStorageServer can be embedded to have forward compatible implementations.

func (*UnimplementedContentAddressableStorageServer) BatchReadBlobs Uses

func (*UnimplementedContentAddressableStorageServer) BatchReadBlobs(ctx context.Context, req *BatchReadBlobsRequest) (*BatchReadBlobsResponse, error)

func (*UnimplementedContentAddressableStorageServer) BatchUpdateBlobs Uses

func (*UnimplementedContentAddressableStorageServer) BatchUpdateBlobs(ctx context.Context, req *BatchUpdateBlobsRequest) (*BatchUpdateBlobsResponse, error)

func (*UnimplementedContentAddressableStorageServer) FindMissingBlobs Uses

func (*UnimplementedContentAddressableStorageServer) FindMissingBlobs(ctx context.Context, req *FindMissingBlobsRequest) (*FindMissingBlobsResponse, error)

func (*UnimplementedContentAddressableStorageServer) GetTree Uses

func (*UnimplementedContentAddressableStorageServer) GetTree(req *GetTreeRequest, srv ContentAddressableStorage_GetTreeServer) error

type UnimplementedExecutionServer Uses

type UnimplementedExecutionServer struct {
}

UnimplementedExecutionServer can be embedded to have forward compatible implementations.

func (*UnimplementedExecutionServer) Execute Uses

func (*UnimplementedExecutionServer) Execute(req *ExecuteRequest, srv Execution_ExecuteServer) error

func (*UnimplementedExecutionServer) WaitExecution Uses

func (*UnimplementedExecutionServer) WaitExecution(req *WaitExecutionRequest, srv Execution_WaitExecutionServer) error

type UpdateActionResultRequest Uses

type UpdateActionResultRequest struct {
    // The instance of the execution system to operate against. A server may
    // support multiple instances of the execution system (with their own workers,
    // storage, caches, etc.). The server MAY require use of this field to select
    // between them in an implementation-defined fashion, otherwise it can be
    // omitted.
    InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
    // The digest of the [Action][build.bazel.remote.execution.v2.Action]
    // whose result is being uploaded.
    ActionDigest *Digest `protobuf:"bytes,2,opt,name=action_digest,json=actionDigest,proto3" json:"action_digest,omitempty"`
    // The [ActionResult][build.bazel.remote.execution.v2.ActionResult]
    // to store in the cache.
    ActionResult *ActionResult `protobuf:"bytes,3,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"`
    // An optional policy for the results of this execution in the remote cache.
    // The server will have a default policy if this is not provided.
    // This may be applied to both the ActionResult and the associated blobs.
    ResultsCachePolicy   *ResultsCachePolicy `protobuf:"bytes,4,opt,name=results_cache_policy,json=resultsCachePolicy,proto3" json:"results_cache_policy,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

A request message for [ActionCache.UpdateActionResult][build.bazel.remote.execution.v2.ActionCache.UpdateActionResult].

func (*UpdateActionResultRequest) Descriptor Uses

func (*UpdateActionResultRequest) Descriptor() ([]byte, []int)

func (*UpdateActionResultRequest) GetActionDigest Uses

func (m *UpdateActionResultRequest) GetActionDigest() *Digest

func (*UpdateActionResultRequest) GetActionResult Uses

func (m *UpdateActionResultRequest) GetActionResult() *ActionResult

func (*UpdateActionResultRequest) GetInstanceName Uses

func (m *UpdateActionResultRequest) GetInstanceName() string

func (*UpdateActionResultRequest) GetResultsCachePolicy Uses

func (m *UpdateActionResultRequest) GetResultsCachePolicy() *ResultsCachePolicy

func (*UpdateActionResultRequest) ProtoMessage Uses

func (*UpdateActionResultRequest) ProtoMessage()

func (*UpdateActionResultRequest) Reset Uses

func (m *UpdateActionResultRequest) Reset()

func (*UpdateActionResultRequest) String Uses

func (m *UpdateActionResultRequest) String() string

func (*UpdateActionResultRequest) XXX_DiscardUnknown Uses

func (m *UpdateActionResultRequest) XXX_DiscardUnknown()

func (*UpdateActionResultRequest) XXX_Marshal Uses

func (m *UpdateActionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateActionResultRequest) XXX_Merge Uses

func (m *UpdateActionResultRequest) XXX_Merge(src proto.Message)

func (*UpdateActionResultRequest) XXX_Size Uses

func (m *UpdateActionResultRequest) XXX_Size() int

func (*UpdateActionResultRequest) XXX_Unmarshal Uses

func (m *UpdateActionResultRequest) XXX_Unmarshal(b []byte) error

type WaitExecutionRequest Uses

type WaitExecutionRequest struct {
    // The name of the [Operation][google.longrunning.Operation]
    // returned by [Execute][build.bazel.remote.execution.v2.Execution.Execute].
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request message for [WaitExecution][build.bazel.remote.execution.v2.Execution.WaitExecution].

func (*WaitExecutionRequest) Descriptor Uses

func (*WaitExecutionRequest) Descriptor() ([]byte, []int)

func (*WaitExecutionRequest) GetName Uses

func (m *WaitExecutionRequest) GetName() string

func (*WaitExecutionRequest) ProtoMessage Uses

func (*WaitExecutionRequest) ProtoMessage()

func (*WaitExecutionRequest) Reset Uses

func (m *WaitExecutionRequest) Reset()

func (*WaitExecutionRequest) String Uses

func (m *WaitExecutionRequest) String() string

func (*WaitExecutionRequest) XXX_DiscardUnknown Uses

func (m *WaitExecutionRequest) XXX_DiscardUnknown()

func (*WaitExecutionRequest) XXX_Marshal Uses

func (m *WaitExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WaitExecutionRequest) XXX_Merge Uses

func (m *WaitExecutionRequest) XXX_Merge(src proto.Message)

func (*WaitExecutionRequest) XXX_Size Uses

func (m *WaitExecutionRequest) XXX_Size() int

func (*WaitExecutionRequest) XXX_Unmarshal Uses

func (m *WaitExecutionRequest) XXX_Unmarshal(b []byte) error

Package remoteexecution imports 14 packages (graph) and is imported by 31 packages. Updated 2020-10-22. Refresh now. Tools for package owners.