packages.proto: Add HasChromePrebuilt method.

BUG=chromium:950006
TEST=./generate.sh

Change-Id: Ib40444afa1c9c90906664835bb81e1731d21f90c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/1807599
Tested-by: Alex Klein <saklein@chromium.org>
Auto-Submit: Alex Klein <saklein@chromium.org>
Reviewed-by: David Burger <dburger@chromium.org>
Commit-Queue: Alex Klein <saklein@chromium.org>
diff --git a/descpb.bin b/descpb.bin
index 11115b0..2741d25 100644
--- a/descpb.bin
+++ b/descpb.bin
Binary files differ
diff --git a/go/chromite/api/packages.pb.go b/go/chromite/api/packages.pb.go
index 4e7eae8..88b4553 100644
--- a/go/chromite/api/packages.pb.go
+++ b/go/chromite/api/packages.pb.go
@@ -212,6 +212,99 @@
 	return ""
 }
 
+// This can easily be generalized to a HasPrebuilt method if necessary, but
+// currently we have no use case for anything but Chrome, and making this
+// specifically for Chrome simplifies the calling code significantly.
+type HasChromePrebuiltRequest struct {
+	// The chroot where the operations will be executed.
+	// Required.
+	Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"`
+	// The build target whose prebuilt is being checked.
+	BuildTarget          *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
+	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
+	XXX_unrecognized     []byte                  `json:"-"`
+	XXX_sizecache        int32                   `json:"-"`
+}
+
+func (m *HasChromePrebuiltRequest) Reset()         { *m = HasChromePrebuiltRequest{} }
+func (m *HasChromePrebuiltRequest) String() string { return proto.CompactTextString(m) }
+func (*HasChromePrebuiltRequest) ProtoMessage()    {}
+func (*HasChromePrebuiltRequest) Descriptor() ([]byte, []int) {
+	return fileDescriptor_40286986e1d9a416, []int{4}
+}
+
+func (m *HasChromePrebuiltRequest) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_HasChromePrebuiltRequest.Unmarshal(m, b)
+}
+func (m *HasChromePrebuiltRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_HasChromePrebuiltRequest.Marshal(b, m, deterministic)
+}
+func (m *HasChromePrebuiltRequest) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_HasChromePrebuiltRequest.Merge(m, src)
+}
+func (m *HasChromePrebuiltRequest) XXX_Size() int {
+	return xxx_messageInfo_HasChromePrebuiltRequest.Size(m)
+}
+func (m *HasChromePrebuiltRequest) XXX_DiscardUnknown() {
+	xxx_messageInfo_HasChromePrebuiltRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_HasChromePrebuiltRequest proto.InternalMessageInfo
+
+func (m *HasChromePrebuiltRequest) GetChroot() *chromiumos.Chroot {
+	if m != nil {
+		return m.Chroot
+	}
+	return nil
+}
+
+func (m *HasChromePrebuiltRequest) GetBuildTarget() *chromiumos.BuildTarget {
+	if m != nil {
+		return m.BuildTarget
+	}
+	return nil
+}
+
+type HasChromePrebuiltResponse struct {
+	// Whether or not it has a prebuilt.
+	HasPrebuilt          bool     `protobuf:"varint,1,opt,name=has_prebuilt,json=hasPrebuilt,proto3" json:"has_prebuilt,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *HasChromePrebuiltResponse) Reset()         { *m = HasChromePrebuiltResponse{} }
+func (m *HasChromePrebuiltResponse) String() string { return proto.CompactTextString(m) }
+func (*HasChromePrebuiltResponse) ProtoMessage()    {}
+func (*HasChromePrebuiltResponse) Descriptor() ([]byte, []int) {
+	return fileDescriptor_40286986e1d9a416, []int{5}
+}
+
+func (m *HasChromePrebuiltResponse) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_HasChromePrebuiltResponse.Unmarshal(m, b)
+}
+func (m *HasChromePrebuiltResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_HasChromePrebuiltResponse.Marshal(b, m, deterministic)
+}
+func (m *HasChromePrebuiltResponse) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_HasChromePrebuiltResponse.Merge(m, src)
+}
+func (m *HasChromePrebuiltResponse) XXX_Size() int {
+	return xxx_messageInfo_HasChromePrebuiltResponse.Size(m)
+}
+func (m *HasChromePrebuiltResponse) XXX_DiscardUnknown() {
+	xxx_messageInfo_HasChromePrebuiltResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_HasChromePrebuiltResponse proto.InternalMessageInfo
+
+func (m *HasChromePrebuiltResponse) GetHasPrebuilt() bool {
+	if m != nil {
+		return m.HasPrebuilt
+	}
+	return false
+}
+
 type UprevPackagesRequest struct {
 	// The chroot path.
 	// Required if not in the default location.
@@ -234,7 +327,7 @@
 func (m *UprevPackagesRequest) String() string { return proto.CompactTextString(m) }
 func (*UprevPackagesRequest) ProtoMessage()    {}
 func (*UprevPackagesRequest) Descriptor() ([]byte, []int) {
-	return fileDescriptor_40286986e1d9a416, []int{4}
+	return fileDescriptor_40286986e1d9a416, []int{6}
 }
 
 func (m *UprevPackagesRequest) XXX_Unmarshal(b []byte) error {
@@ -302,7 +395,7 @@
 func (m *UprevVersionedPackageRequest) String() string { return proto.CompactTextString(m) }
 func (*UprevVersionedPackageRequest) ProtoMessage()    {}
 func (*UprevVersionedPackageRequest) Descriptor() ([]byte, []int) {
-	return fileDescriptor_40286986e1d9a416, []int{5}
+	return fileDescriptor_40286986e1d9a416, []int{7}
 }
 
 func (m *UprevVersionedPackageRequest) XXX_Unmarshal(b []byte) error {
@@ -367,7 +460,7 @@
 func (m *UprevVersionedPackageRequest_GitRef) String() string { return proto.CompactTextString(m) }
 func (*UprevVersionedPackageRequest_GitRef) ProtoMessage()    {}
 func (*UprevVersionedPackageRequest_GitRef) Descriptor() ([]byte, []int) {
-	return fileDescriptor_40286986e1d9a416, []int{5, 0}
+	return fileDescriptor_40286986e1d9a416, []int{7, 0}
 }
 
 func (m *UprevVersionedPackageRequest_GitRef) XXX_Unmarshal(b []byte) error {
@@ -423,7 +516,7 @@
 func (m *UprevPackagesResponse) String() string { return proto.CompactTextString(m) }
 func (*UprevPackagesResponse) ProtoMessage()    {}
 func (*UprevPackagesResponse) Descriptor() ([]byte, []int) {
-	return fileDescriptor_40286986e1d9a416, []int{6}
+	return fileDescriptor_40286986e1d9a416, []int{8}
 }
 
 func (m *UprevPackagesResponse) XXX_Unmarshal(b []byte) error {
@@ -469,7 +562,7 @@
 func (m *UprevPackagesResponse_Ebuild) String() string { return proto.CompactTextString(m) }
 func (*UprevPackagesResponse_Ebuild) ProtoMessage()    {}
 func (*UprevPackagesResponse_Ebuild) Descriptor() ([]byte, []int) {
-	return fileDescriptor_40286986e1d9a416, []int{6, 0}
+	return fileDescriptor_40286986e1d9a416, []int{8, 0}
 }
 
 func (m *UprevPackagesResponse_Ebuild) XXX_Unmarshal(b []byte) error {
@@ -509,7 +602,7 @@
 func (m *UprevVersionedPackageResponse) String() string { return proto.CompactTextString(m) }
 func (*UprevVersionedPackageResponse) ProtoMessage()    {}
 func (*UprevVersionedPackageResponse) Descriptor() ([]byte, []int) {
-	return fileDescriptor_40286986e1d9a416, []int{7}
+	return fileDescriptor_40286986e1d9a416, []int{9}
 }
 
 func (m *UprevVersionedPackageResponse) XXX_Unmarshal(b []byte) error {
@@ -542,6 +635,8 @@
 	proto.RegisterType((*GetBestVisibleResponse)(nil), "chromite.api.GetBestVisibleResponse")
 	proto.RegisterType((*GetChromeVersionRequest)(nil), "chromite.api.GetChromeVersionRequest")
 	proto.RegisterType((*GetChromeVersionResponse)(nil), "chromite.api.GetChromeVersionResponse")
+	proto.RegisterType((*HasChromePrebuiltRequest)(nil), "chromite.api.HasChromePrebuiltRequest")
+	proto.RegisterType((*HasChromePrebuiltResponse)(nil), "chromite.api.HasChromePrebuiltResponse")
 	proto.RegisterType((*UprevPackagesRequest)(nil), "chromite.api.UprevPackagesRequest")
 	proto.RegisterType((*UprevVersionedPackageRequest)(nil), "chromite.api.UprevVersionedPackageRequest")
 	proto.RegisterType((*UprevVersionedPackageRequest_GitRef)(nil), "chromite.api.UprevVersionedPackageRequest.GitRef")
@@ -553,48 +648,52 @@
 func init() { proto.RegisterFile("chromite/api/packages.proto", fileDescriptor_40286986e1d9a416) }
 
 var fileDescriptor_40286986e1d9a416 = []byte{
-	// 681 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x5d, 0x6e, 0xd3, 0x4a,
-	0x14, 0x96, 0x9d, 0xde, 0xdc, 0xe6, 0x24, 0xb7, 0x37, 0x1a, 0x51, 0x6a, 0x4c, 0x8b, 0x2a, 0xf3,
-	0xa3, 0xaa, 0x48, 0xb6, 0x28, 0x08, 0x21, 0xd4, 0x17, 0x0a, 0xa8, 0xe2, 0x01, 0x51, 0x99, 0xb6,
-	0x0f, 0xbc, 0x44, 0x4e, 0x72, 0x92, 0x8e, 0xa8, 0x3d, 0xc3, 0xcc, 0x24, 0x52, 0x1e, 0x59, 0x03,
-	0x7b, 0x60, 0x09, 0x2c, 0xa0, 0xfb, 0x60, 0x05, 0xa8, 0x7b, 0x40, 0x9e, 0x19, 0x37, 0x8e, 0x5b,
-	0x42, 0xda, 0xb7, 0x39, 0x73, 0xce, 0x1c, 0x7f, 0xdf, 0x37, 0x9f, 0xcf, 0xc0, 0xdd, 0xde, 0x89,
-	0x60, 0x29, 0x55, 0x18, 0x25, 0x9c, 0x46, 0x3c, 0xe9, 0x7d, 0x4e, 0x86, 0x28, 0x43, 0x2e, 0x98,
-	0x62, 0xa4, 0x55, 0x24, 0xc3, 0x84, 0x53, 0xdf, 0x9f, 0x29, 0xed, 0xd2, 0xec, 0x84, 0x49, 0x65,
-	0x2a, 0xfd, 0xf5, 0xd9, 0xdc, 0x88, 0x9e, 0xf6, 0x3b, 0x09, 0xa7, 0x36, 0xbb, 0x66, 0xb2, 0xa3,
-	0x94, 0xc9, 0xa8, 0xc7,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fe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x51, 0xfb, 0x81, 0xce, 0xad, 0x08, 0x00,
+	0x00,
 }
diff --git a/src/chromite/api/packages.proto b/src/chromite/api/packages.proto
index 43034a0..afbaaa2 100644
--- a/src/chromite/api/packages.proto
+++ b/src/chromite/api/packages.proto
@@ -41,6 +41,22 @@
   string version = 1;
 }
 
+// This can easily be generalized to a HasPrebuilt method if necessary, but
+// currently we have no use case for anything but Chrome, and making this
+// specifically for Chrome simplifies the calling code significantly.
+message HasChromePrebuiltRequest {
+  // The chroot where the operations will be executed.
+  // Required.
+  chromiumos.Chroot chroot = 1;
+  // The build target whose prebuilt is being checked.
+  chromiumos.BuildTarget build_target = 2;
+}
+
+message HasChromePrebuiltResponse {
+  // Whether or not it has a prebuilt.
+  bool has_prebuilt = 1;
+}
+
 message UprevPackagesRequest {
   // The chroot path.
   // Required if not in the default location.
@@ -132,6 +148,15 @@
     };
   }
 
+  // Check if there is an available chrome prebuilt for the most recent
+  // version of chrome.
+  rpc HasChromePrebuilt(HasChromePrebuiltRequest) returns
+    (HasChromePrebuiltResponse) {
+    option (method_options) = {
+      method_chroot_assert: INSIDE,
+    };
+  }
+
   // The generic uprev process -- performs uprevs for all packages in the
   // public and/or private overlays for the build target(s) specified.
   // This handles all cros_workon packages except those that have a separate