Add a flag for disabling local fallback for actions that failed remotely.

--
PiperOrigin-RevId: 141817345
MOS_MIGRATED_REVID=141817345
diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
index 538c554..53fb4a9 100644
--- a/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteOptions.java
@@ -114,4 +114,12 @@
       help = "Whether to accept remotely cached action results."
     )
   public boolean remoteAcceptCached;
+
+  @Option(
+      name = "remote_allow_local_fallback",
+      defaultValue = "true",
+      category = "remote",
+      help = "Whether to fall back to standalone strategy if remote fails."
+    )
+  public boolean remoteAllowLocalFallback;
 }