Make python scripts consistent with ctoolchain_comparator

This will simplify copybara export logic.

RELNOTES: None.
PiperOrigin-RevId: 238396543
diff --git a/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto b/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto
index 361710d..9f72624 100644
--- a/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto
+++ b/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto
@@ -16,7 +16,7 @@
 
 syntax = "proto2";
 
-
+option java_api_version = 2;
 option java_package = "com.google.devtools.build.lib.view.config.crosstool";
 
 package com.google.devtools.build.lib.view.config.crosstool;