lab config: add working_bluetooth_btpeer.

BUG=chromium:1052511
TEST=generate.sh

Change-Id: I3330337fff982d35aea9d29145dc533438c3d5e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2076677
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Congbin Guo <guocb@chromium.org>
Commit-Queue: Xixuan Wu <xixuan@chromium.org>
diff --git a/go/lab/dut_state.pb.go b/go/lab/dut_state.pb.go
index 97cdfa2..2f08fa0 100644
--- a/go/lab/dut_state.pb.go
+++ b/go/lab/dut_state.pb.go
@@ -53,15 +53,17 @@
 	return fileDescriptor_bfe5ddd3f74c848d, []int{0}
 }
 
-// Next Tag: 3
+// Next Tag: 6
 type DutState struct {
-	Id                   *ChromeOSDeviceID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-	Servo                PeripheralState   `protobuf:"varint,2,opt,name=servo,proto3,enum=lab.PeripheralState" json:"servo,omitempty"`
-	Chameleon            PeripheralState   `protobuf:"varint,3,opt,name=chameleon,proto3,enum=lab.PeripheralState" json:"chameleon,omitempty"`
-	AudioLoopbackDongle  PeripheralState   `protobuf:"varint,4,opt,name=audio_loopback_dongle,json=audioLoopbackDongle,proto3,enum=lab.PeripheralState" json:"audio_loopback_dongle,omitempty"`
-	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
-	XXX_unrecognized     []byte            `json:"-"`
-	XXX_sizecache        int32             `json:"-"`
+	Id                  *ChromeOSDeviceID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	Servo               PeripheralState   `protobuf:"varint,2,opt,name=servo,proto3,enum=lab.PeripheralState" json:"servo,omitempty"`
+	Chameleon           PeripheralState   `protobuf:"varint,3,opt,name=chameleon,proto3,enum=lab.PeripheralState" json:"chameleon,omitempty"`
+	AudioLoopbackDongle PeripheralState   `protobuf:"varint,4,opt,name=audio_loopback_dongle,json=audioLoopbackDongle,proto3,enum=lab.PeripheralState" json:"audio_loopback_dongle,omitempty"`
+	// Indicate how many working bluetooth btpeer for a device.
+	WorkingBluetoothBtpeer int32    `protobuf:"varint,5,opt,name=working_bluetooth_btpeer,json=workingBluetoothBtpeer,proto3" json:"working_bluetooth_btpeer,omitempty"`
+	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
+	XXX_unrecognized       []byte   `json:"-"`
+	XXX_sizecache          int32    `json:"-"`
 }
 
 func (m *DutState) Reset()         { *m = DutState{} }
@@ -117,6 +119,13 @@
 	return PeripheralState_UNKNOWN
 }
 
+func (m *DutState) GetWorkingBluetoothBtpeer() int32 {
+	if m != nil {
+		return m.WorkingBluetoothBtpeer
+	}
+	return 0
+}
+
 func init() {
 	proto.RegisterEnum("lab.PeripheralState", PeripheralState_name, PeripheralState_value)
 	proto.RegisterType((*DutState)(nil), "lab.DutState")
@@ -125,24 +134,26 @@
 func init() { proto.RegisterFile("lab/dut_state.proto", fileDescriptor_bfe5ddd3f74c848d) }
 
 var fileDescriptor_bfe5ddd3f74c848d = []byte{
-	// 297 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd0, 0xc1, 0x4a, 0xc3, 0x30,
-	0x1c, 0xc7, 0x71, 0xdb, 0xe9, 0xd4, 0x0c, 0xb5, 0x66, 0x0e, 0x8a, 0x78, 0x18, 0x82, 0x30, 0x06,
-	0x36, 0x30, 0xdf, 0x60, 0xeb, 0xd0, 0x39, 0x49, 0xa5, 0x9b, 0x0c, 0xbc, 0x84, 0xa4, 0x89, 0x5d,
-	0x30, 0xdb, 0x7f, 0xa4, 0xed, 0x5e, 0xd6, 0x97, 0x91, 0x66, 0x8a, 0xe0, 0x61, 0xc7, 0x1f, 0xf9,
-	0x7e, 0x72, 0xf8, 0xa3, 0xb6, 0xe1, 0x82, 0xc8, 0xaa, 0x64, 0x45, 0xc9, 0x4b, 0x15, 0x6d, 0x2c,
-	0x94, 0x80, 0x1b, 0x86, 0x8b, 0xe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01, 0x05, 0xd1, 0xeb, 0x0f, 0xcb,
-	0x89, 0xbb, 0x29, 0xc9, 0x81, 0x18, 0x2e, 0x44, 0xd3, 0xad, 0x87, 0xef, 0x00, 0x00, 0x00, 0xff,
-	0xff, 0x54, 0x47, 0x8e, 0x90, 0x9b, 0x01, 0x00, 0x00,
+	// 336 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x41, 0x6b, 0xdb, 0x30,
+	0x1c, 0x47, 0x67, 0x67, 0xc9, 0x36, 0x85, 0x6d, 0x9e, 0xb2, 0x0c, 0x33, 0x76, 0x08, 0x83, 0x41,
+	0x08, 0xcc, 0x86, 0xec, 0xb2, 0xb3, 0xe3, 0xd0, 0xa6, 0x29, 0x72, 0x71, 0x52, 0x02, 0xbd, 0x08,
+	0xc9, 0x56, 0x6d, 0x11, 0xc5, 0x7f, 0x23, 0xcb, 0xe9, 0x27, 0xe9, 0xf7, 0x2d, 0x51, 0x12, 0x0a,
+	0x3d, 0xe4, 0xf8, 0xe3, 0xbd, 0x27, 0x1d, 0xfe, 0x68, 0xa0, 0x18, 0x0f, 0xf3, 0xd6, 0xd0, 0xc6,
+	0x30, 0x23, 0x82, 0x5a, 0x83, 0x01, 0xdc, 0x51, 0x8c, 0xff, 0xfc, 0x75, 0x20, 0x59, 0xa9, 0x61,
+	0x27, 0xa0, 0xa1, 0xb9, 0xd8, 0xcb, 0x4c, 0x50, 0x99, 0x1f, 0x95, 0xdf, 0xcf, 0x2e, 0xfa, 0x18,
+	0xb7, 0x66, 0x75, 0xa8, 0xf0, 0x1f, 0xe4, 0xca, 0xdc, 0x77, 0x46, 0xce, 0xb8, 0x3f, 0x1d, 0x06,
+	0x8a, 0xf1, 0x60, 0x66, 0xbb, 0x64, 0x15, 0xdb, 0x6c, 0x11, 0xa7, 0xae, 0xcc, 0xf1, 0x04, 0x75,
+	0x1b, 0xa1, 0xf7, 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0xff, 0x94, 0xfa, 0xaa, 0x84, 0xd5, 0x01, 0x00, 0x00,
 }
diff --git a/src/lab/dut_state.proto b/src/lab/dut_state.proto
index fb9d197..1f7d38f 100644
--- a/src/lab/dut_state.proto
+++ b/src/lab/dut_state.proto
@@ -12,12 +12,14 @@
 
 // This proto defines status labels in lab config of a DUT.
 
-// Next Tag: 3
+// Next Tag: 6
 message DutState {
     ChromeOSDeviceID id = 1;
     PeripheralState servo = 2;
     PeripheralState chameleon = 3;
     PeripheralState audio_loopback_dongle = 4;
+    // Indicate how many working bluetooth btpeer for a device.
+    int32 working_bluetooth_btpeer = 5;
 }
 
 // Next Tag: 3