// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: build/bazel/remote/execution/v2/remote_execution.proto
// Protobuf Java Version: 3.25.3
package build.bazel.remote.execution.v2;
public interface ExecuteRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:build.bazel.remote.execution.v2.ExecuteRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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.
*
*
* string instance_name = 1;
* @return The instanceName.
*/
java.lang.String getInstanceName();
/**
*
* 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.
*
*
* string instance_name = 1;
* @return The bytes for instanceName.
*/
com.google.protobuf.ByteString
getInstanceNameBytes();
/**
*
* 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.
*
*
* bool skip_cache_lookup = 3;
* @return The skipCacheLookup.
*/
boolean getSkipCacheLookup();
/**
*
* The digest of the [Action][build.bazel.remote.execution.v2.Action] to
* execute.
*
*
* .build.bazel.remote.execution.v2.Digest action_digest = 6;
* @return Whether the actionDigest field is set.
*/
boolean hasActionDigest();
/**
*
* The digest of the [Action][build.bazel.remote.execution.v2.Action] to
* execute.
*
*
* .build.bazel.remote.execution.v2.Digest action_digest = 6;
* @return The actionDigest.
*/
build.bazel.remote.execution.v2.Digest getActionDigest();
/**
*
* The digest of the [Action][build.bazel.remote.execution.v2.Action] to
* execute.
*
*
* .build.bazel.remote.execution.v2.Digest action_digest = 6;
*/
build.bazel.remote.execution.v2.DigestOrBuilder getActionDigestOrBuilder();
/**
*
* An optional policy for execution of the action.
* The server will have a default policy if this is not provided.
*
*
* .build.bazel.remote.execution.v2.ExecutionPolicy execution_policy = 7;
* @return Whether the executionPolicy field is set.
*/
boolean hasExecutionPolicy();
/**
*
* An optional policy for execution of the action.
* The server will have a default policy if this is not provided.
*
*
* .build.bazel.remote.execution.v2.ExecutionPolicy execution_policy = 7;
* @return The executionPolicy.
*/
build.bazel.remote.execution.v2.ExecutionPolicy getExecutionPolicy();
/**
*
* An optional policy for execution of the action.
* The server will have a default policy if this is not provided.
*
*
* .build.bazel.remote.execution.v2.ExecutionPolicy execution_policy = 7;
*/
build.bazel.remote.execution.v2.ExecutionPolicyOrBuilder getExecutionPolicyOrBuilder();
/**
*
* 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.
*
*
* .build.bazel.remote.execution.v2.ResultsCachePolicy results_cache_policy = 8;
* @return Whether the resultsCachePolicy field is set.
*/
boolean hasResultsCachePolicy();
/**
*
* 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.
*
*
* .build.bazel.remote.execution.v2.ResultsCachePolicy results_cache_policy = 8;
* @return The resultsCachePolicy.
*/
build.bazel.remote.execution.v2.ResultsCachePolicy getResultsCachePolicy();
/**
*
* 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.
*
*
* .build.bazel.remote.execution.v2.ResultsCachePolicy results_cache_policy = 8;
*/
build.bazel.remote.execution.v2.ResultsCachePolicyOrBuilder getResultsCachePolicyOrBuilder();
}