bot_scaling: Add swarming field and remove Resourceusage type

Add a field to track the swarming URL for each config message, as well
as removing ResourceUsage as it has been decommissioned in favor of
ResourceUtilization.

Bug: chromium:1093415
Change-Id: If1578ed252a59f958829ea570f2583bef238687b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2239758
Reviewed-by: Sean Abraham <seanabraham@chromium.org>
Reviewed-by: David Burger <dburger@chromium.org>
Commit-Queue: Mike Nichols <mikenichols@chromium.org>
Tested-by: Mike Nichols <mikenichols@chromium.org>
diff --git a/go/chromiumos/bot_scaling.pb.go b/go/chromiumos/bot_scaling.pb.go
index a311ada..2f68495 100644
--- a/go/chromiumos/bot_scaling.pb.go
+++ b/go/chromiumos/bot_scaling.pb.go
@@ -256,10 +256,12 @@
 	// Number of hours to lookback for Swarming stats.
 	LookbackHours int32 `protobuf:"zigzag32,7,opt,name=lookback_hours,json=lookbackHours,proto3" json:"lookback_hours,omitempty"`
 	// Set the scaling approach for the bot group being monitored.
-	ScalingMode          BotPolicy_BotScalingMode `protobuf:"varint,8,opt,name=scaling_mode,json=scalingMode,proto3,enum=chromiumos.BotPolicy_BotScalingMode" json:"scaling_mode,omitempty"`
-	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
-	XXX_unrecognized     []byte                   `json:"-"`
-	XXX_sizecache        int32                    `json:"-"`
+	ScalingMode BotPolicy_BotScalingMode `protobuf:"varint,8,opt,name=scaling_mode,json=scalingMode,proto3,enum=chromiumos.BotPolicy_BotScalingMode" json:"scaling_mode,omitempty"`
+	// Swarming instance name:  chromeos-swarming.appspot.com
+	SwarmingInstance     string   `protobuf:"bytes,9,opt,name=swarming_instance,json=swarmingInstance,proto3" json:"swarming_instance,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
 }
 
 func (m *BotPolicy) Reset()         { *m = BotPolicy{} }
@@ -343,6 +345,13 @@
 	return BotPolicy_UNKNOWN_SCALING_MODE
 }
 
+func (m *BotPolicy) GetSwarmingInstance() string {
+	if m != nil {
+		return m.SwarmingInstance
+	}
+	return ""
+}
+
 // Scaling restriction specifies the limits on how the group can be
 // expanded or reduced.
 type BotPolicy_ScalingRestriction struct {
@@ -671,65 +680,6 @@
 	return 0
 }
 
-// ResourceUsage based on the current resources assigned.
-type ResourceUsage struct {
-	// Number of VMs allocated across all bot groups.
-	Vms int32 `protobuf:"varint,1,opt,name=vms,proto3" json:"vms,omitempty"`
-	// Number of CPUs allocated across all bot groups.
-	Cpus float32 `protobuf:"fixed32,2,opt,name=cpus,proto3" json:"cpus,omitempty"`
-	// Amount of memory in GB allocated across all bot groups.
-	MemoryGb             float32  `protobuf:"fixed32,3,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"`
-	XXX_NoUnkeyedLiteral struct{} `json:"-"`
-	XXX_unrecognized     []byte   `json:"-"`
-	XXX_sizecache        int32    `json:"-"`
-}
-
-func (m *ResourceUsage) Reset()         { *m = ResourceUsage{} }
-func (m *ResourceUsage) String() string { return proto.CompactTextString(m) }
-func (*ResourceUsage) ProtoMessage()    {}
-func (*ResourceUsage) Descriptor() ([]byte, []int) {
-	return fileDescriptor_dbe70eabfd64e7ef, []int{5}
-}
-
-func (m *ResourceUsage) XXX_Unmarshal(b []byte) error {
-	return xxx_messageInfo_ResourceUsage.Unmarshal(m, b)
-}
-func (m *ResourceUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
-	return xxx_messageInfo_ResourceUsage.Marshal(b, m, deterministic)
-}
-func (m *ResourceUsage) XXX_Merge(src proto.Message) {
-	xxx_messageInfo_ResourceUsage.Merge(m, src)
-}
-func (m *ResourceUsage) XXX_Size() int {
-	return xxx_messageInfo_ResourceUsage.Size(m)
-}
-func (m *ResourceUsage) XXX_DiscardUnknown() {
-	xxx_messageInfo_ResourceUsage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ResourceUsage proto.InternalMessageInfo
-
-func (m *ResourceUsage) GetVms() int32 {
-	if m != nil {
-		return m.Vms
-	}
-	return 0
-}
-
-func (m *ResourceUsage) GetCpus() float32 {
-	if m != nil {
-		return m.Cpus
-	}
-	return 0
-}
-
-func (m *ResourceUsage) GetMemoryGb() float32 {
-	if m != nil {
-		return m.MemoryGb
-	}
-	return 0
-}
-
 // Resource utilization based on regional assignment.
 type ResourceUtilization struct {
 	// Region of the bot sub-group.
@@ -753,7 +703,7 @@
 func (m *ResourceUtilization) String() string { return proto.CompactTextString(m) }
 func (*ResourceUtilization) ProtoMessage()    {}
 func (*ResourceUtilization) Descriptor() ([]byte, []int) {
-	return fileDescriptor_dbe70eabfd64e7ef, []int{6}
+	return fileDescriptor_dbe70eabfd64e7ef, []int{5}
 }
 
 func (m *ResourceUtilization) XXX_Unmarshal(b []byte) error {
@@ -830,7 +780,7 @@
 func (m *RoboCropAction) String() string { return proto.CompactTextString(m) }
 func (*RoboCropAction) ProtoMessage()    {}
 func (*RoboCropAction) Descriptor() ([]byte, []int) {
-	return fileDescriptor_dbe70eabfd64e7ef, []int{7}
+	return fileDescriptor_dbe70eabfd64e7ef, []int{6}
 }
 
 func (m *RoboCropAction) XXX_Unmarshal(b []byte) error {
@@ -877,7 +827,6 @@
 	proto.RegisterType((*BotPolicyCfg)(nil), "chromiumos.BotPolicyCfg")
 	proto.RegisterType((*ScalingAction)(nil), "chromiumos.ScalingAction")
 	proto.RegisterType((*ScalingAction_RegionalAction)(nil), "chromiumos.ScalingAction.RegionalAction")
-	proto.RegisterType((*ResourceUsage)(nil), "chromiumos.ResourceUsage")
 	proto.RegisterType((*ResourceUtilization)(nil), "chromiumos.ResourceUtilization")
 	proto.RegisterType((*RoboCropAction)(nil), "chromiumos.RoboCropAction")
 }
@@ -886,67 +835,67 @@
 
 var fileDescriptor_dbe70eabfd64e7ef = []byte{
 	// 1002 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff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0x00,
+	0xff, 0xff, 0x62, 0xf9, 0xbf, 0x30, 0x92, 0x08, 0x00, 0x00,
 }
diff --git a/src/chromiumos/bot_scaling.proto b/src/chromiumos/bot_scaling.proto
index 9076751..8075af4 100644
--- a/src/chromiumos/bot_scaling.proto
+++ b/src/chromiumos/bot_scaling.proto
@@ -97,6 +97,8 @@
 
   // Set the scaling approach for the bot group being monitored.
   BotScalingMode scaling_mode = 8;
+  // Swarming instance name:  chromeos-swarming.appspot.com
+  string swarming_instance = 9;
 }
 
 // Configures the root message.
@@ -144,16 +146,6 @@
   float estimated_savings = 6;
 }
 
-// ResourceUsage based on the current resources assigned.
-message ResourceUsage {
-  // Number of VMs allocated across all bot groups.
-  int32 vms = 1;
-  // Number of CPUs allocated across all bot groups.
-  float cpus = 2;
-  // Amount of memory in GB allocated across all bot groups.
-  float memory_gb = 3;
-}
-
 // Resource utilization based on regional assignment.
 message ResourceUtilization {
   // Region of the bot sub-group.