bot_scaling.proto: Move enums into message bodies.

Move Enums inside of the proto messages to make them more accessble.

Remove Actionable from RobocropAction as actionable is tied to each
scaling action and will be inspected, therefore this is a bit redundant
since we also need to account for Mode.

Bug: chromium:1027593
Change-Id: I7a54acdab2355a44b0d7e6cb41413625e5f5b85f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2111112
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 d2f9c2a..732d972 100644
--- a/go/chromiumos/bot_scaling.pb.go
+++ b/go/chromiumos/bot_scaling.pb.go
@@ -21,65 +21,65 @@
 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 
 // Specifies mode for a bot policy
-type Mode int32
+type BotPolicy_Mode int32
 
 const (
-	Mode_UNKNOWN_MODE Mode = 0
+	BotPolicy_UNKNOWN_MODE BotPolicy_Mode = 0
 	// Collect stats only for a bot group.
-	Mode_MONITORED Mode = 1
+	BotPolicy_MONITORED BotPolicy_Mode = 1
 	// Generate configuration updates for bot group.
-	Mode_CONFIGURED Mode = 2
+	BotPolicy_CONFIGURED BotPolicy_Mode = 2
 )
 
-var Mode_name = map[int32]string{
+var BotPolicy_Mode_name = map[int32]string{
 	0: "UNKNOWN_MODE",
 	1: "MONITORED",
 	2: "CONFIGURED",
 }
 
-var Mode_value = map[string]int32{
+var BotPolicy_Mode_value = map[string]int32{
 	"UNKNOWN_MODE": 0,
 	"MONITORED":    1,
 	"CONFIGURED":   2,
 }
 
-func (x Mode) String() string {
-	return proto.EnumName(Mode_name, int32(x))
+func (x BotPolicy_Mode) String() string {
+	return proto.EnumName(BotPolicy_Mode_name, int32(x))
 }
 
-func (Mode) EnumDescriptor() ([]byte, []int) {
-	return fileDescriptor_dbe70eabfd64e7ef, []int{0}
+func (BotPolicy_Mode) EnumDescriptor() ([]byte, []int) {
+	return fileDescriptor_dbe70eabfd64e7ef, []int{2, 0}
 }
 
 // Specifies if there has been a change since the last iteration.
-type Actionable int32
+type ScalingAction_Actionable int32
 
 const (
-	Actionable_UNSPECIFIED Actionable = 0
+	ScalingAction_UNSPECIFIED ScalingAction_Actionable = 0
 	// There is a change since last time.
-	Actionable_YES Actionable = 1
+	ScalingAction_YES ScalingAction_Actionable = 1
 	// There is no change since last time.
-	Actionable_NO Actionable = 2
+	ScalingAction_NO ScalingAction_Actionable = 2
 )
 
-var Actionable_name = map[int32]string{
+var ScalingAction_Actionable_name = map[int32]string{
 	0: "UNSPECIFIED",
 	1: "YES",
 	2: "NO",
 }
 
-var Actionable_value = map[string]int32{
+var ScalingAction_Actionable_value = map[string]int32{
 	"UNSPECIFIED": 0,
 	"YES":         1,
 	"NO":          2,
 }
 
-func (x Actionable) String() string {
-	return proto.EnumName(Actionable_name, int32(x))
+func (x ScalingAction_Actionable) String() string {
+	return proto.EnumName(ScalingAction_Actionable_name, int32(x))
 }
 
-func (Actionable) EnumDescriptor() ([]byte, []int) {
-	return fileDescriptor_dbe70eabfd64e7ef, []int{1}
+func (ScalingAction_Actionable) EnumDescriptor() ([]byte, []int) {
+	return fileDescriptor_dbe70eabfd64e7ef, []int{4, 0}
 }
 
 // Defines a type of bot associated with a bot group.
@@ -193,10 +193,10 @@
 	// A set of dimensions used to validate current Swarming allocations.
 	SwarmingDimensions []*SwarmingDimension `protobuf:"bytes,5,rep,name=swarming_dimensions,json=swarmingDimensions,proto3" json:"swarming_dimensions,omitempty"`
 	// Set whether a bot group should be configured or only monitored.
-	PolicyMode           Mode     `protobuf:"varint,6,opt,name=policy_mode,json=policyMode,proto3,enum=chromiumos.Mode" json:"policy_mode,omitempty"`
-	XXX_NoUnkeyedLiteral struct{} `json:"-"`
-	XXX_unrecognized     []byte   `json:"-"`
-	XXX_sizecache        int32    `json:"-"`
+	PolicyMode           BotPolicy_Mode `protobuf:"varint,6,opt,name=policy_mode,json=policyMode,proto3,enum=chromiumos.BotPolicy_Mode" json:"policy_mode,omitempty"`
+	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
+	XXX_unrecognized     []byte         `json:"-"`
+	XXX_sizecache        int32          `json:"-"`
 }
 
 func (m *BotPolicy) Reset()         { *m = BotPolicy{} }
@@ -259,11 +259,11 @@
 	return nil
 }
 
-func (m *BotPolicy) GetPolicyMode() Mode {
+func (m *BotPolicy) GetPolicyMode() BotPolicy_Mode {
 	if m != nil {
 		return m.PolicyMode
 	}
-	return Mode_UNKNOWN_MODE
+	return BotPolicy_UNKNOWN_MODE
 }
 
 // Scaling restriction specifies the limits on how the group can be
@@ -456,7 +456,7 @@
 	BotType *BotType `protobuf:"bytes,2,opt,name=bot_type,json=botType,proto3" json:"bot_type,omitempty"`
 	// Whether there has been a change in the number of bots requested
 	// for this bot group. See step_size for more info.
-	Actionable Actionable `protobuf:"varint,3,opt,name=actionable,proto3,enum=chromiumos.Actionable" json:"actionable,omitempty"`
+	Actionable ScalingAction_Actionable `protobuf:"varint,3,opt,name=actionable,proto3,enum=chromiumos.ScalingAction_Actionable" json:"actionable,omitempty"`
 	// Total number of bots requested for the group.
 	BotsRequested        int32                           `protobuf:"varint,4,opt,name=bots_requested,json=botsRequested,proto3" json:"bots_requested,omitempty"`
 	RegionalActions      []*ScalingAction_RegionalAction `protobuf:"bytes,5,rep,name=regional_actions,json=regionalActions,proto3" json:"regional_actions,omitempty"`
@@ -504,11 +504,11 @@
 	return nil
 }
 
-func (m *ScalingAction) GetActionable() Actionable {
+func (m *ScalingAction) GetActionable() ScalingAction_Actionable {
 	if m != nil {
 		return m.Actionable
 	}
-	return Actionable_UNSPECIFIED
+	return ScalingAction_UNSPECIFIED
 }
 
 func (m *ScalingAction) GetBotsRequested() int32 {
@@ -586,11 +586,8 @@
 
 // All the actions that will be executed by RoboCrop.
 type RoboCropAction struct {
-	// Whether there has been any change in any of the bot groups
-	// since the last RoboCrop execution.
-	Actionable Actionable `protobuf:"varint,1,opt,name=actionable,proto3,enum=chromiumos.Actionable" json:"actionable,omitempty"`
 	// List of an action per bot group scaled by RoboCrop.
-	ScalingActions       []*ScalingAction `protobuf:"bytes,2,rep,name=scaling_actions,json=scalingActions,proto3" json:"scaling_actions,omitempty"`
+	ScalingActions       []*ScalingAction `protobuf:"bytes,1,rep,name=scaling_actions,json=scalingActions,proto3" json:"scaling_actions,omitempty"`
 	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
 	XXX_unrecognized     []byte           `json:"-"`
 	XXX_sizecache        int32            `json:"-"`
@@ -621,13 +618,6 @@
 
 var xxx_messageInfo_RoboCropAction proto.InternalMessageInfo
 
-func (m *RoboCropAction) GetActionable() Actionable {
-	if m != nil {
-		return m.Actionable
-	}
-	return Actionable_UNSPECIFIED
-}
-
 func (m *RoboCropAction) GetScalingActions() []*ScalingAction {
 	if m != nil {
 		return m.ScalingActions
@@ -636,8 +626,8 @@
 }
 
 func init() {
-	proto.RegisterEnum("chromiumos.Mode", Mode_name, Mode_value)
-	proto.RegisterEnum("chromiumos.Actionable", Actionable_name, Actionable_value)
+	proto.RegisterEnum("chromiumos.BotPolicy_Mode", BotPolicy_Mode_name, BotPolicy_Mode_value)
+	proto.RegisterEnum("chromiumos.ScalingAction_Actionable", ScalingAction_Actionable_name, ScalingAction_Actionable_value)
 	proto.RegisterType((*BotType)(nil), "chromiumos.BotType")
 	proto.RegisterType((*SwarmingDimension)(nil), "chromiumos.SwarmingDimension")
 	proto.RegisterType((*BotPolicy)(nil), "chromiumos.BotPolicy")
@@ -652,52 +642,51 @@
 func init() { proto.RegisterFile("chromiumos/bot_scaling.proto", fileDescriptor_dbe70eabfd64e7ef) }
 
 var fileDescriptor_dbe70eabfd64e7ef = []byte{
-	// 742 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdb, 0x6e, 0xeb, 0x44,
-	0x14, 0x3d, 0xce, 0x95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0x00, 0x00,
+	// 733 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5d, 0x6f, 0xeb, 0x44,
+	0x10, 0xbd, 0xce, 0x27, 0x99, 0x34, 0x69, 0xee, 0x06, 0x90, 0x6f, 0x00, 0x11, 0x2c, 0x10, 0x79,
+	0x72, 0xa4, 0x80, 0x00, 0x09, 0xf1, 0x70, 0xf3, 0xd1, 0xdb, 0x08, 0xd5, 0x89, 0x36, 0xad, 0xa0,
+	0xf0, 0x60, 0xd9, 0xc9, 0xc6, 0x5d, 0x61, 0x7b, 0xcd, 0xae, 0x43, 0x69, 0xff, 0x13, 0xcf, 0xfc,
+	0x1d, 0x7e, 0x0a, 0xda, 0x8f, 0x34, 0x49, 0x93, 0x3e, 0x20, 0xf1, 0xe6, 0x39, 0x3b, 0x73, 0x76,
+	0x66, 0xce, 0xb1, 0x0d, 0x1f, 0x2f, 0xef, 0x38, 0x4b, 0xe8, 0x26, 0x61, 0xa2, 0x1f, 0xb2, 0xdc,
+	0x17, 0xcb, 0x20, 0xa6, 0x69, 0xe4, 0x66, 0x9c, 0xe5, 0x0c, 0xc1, 0xee, 0xd4, 0xb9, 0x84, 0xea,
+	0x90, 0xe5, 0xd7, 0x0f, 0x19, 0x41, 0x6f, 0xe0, 0x3d, 0x95, 0x4b, 0x1f, 0x89, 0x6d, 0x75, 0xad,
+	0x5e, 0x0d, 0x57, 0x43, 0x96, 0x2f, 0xe8, 0x23, 0x41, 0x0e, 0x34, 0x96, 0x8c, 0x13, 0xe1, 0x67,
+	0x84, 0xfb, 0x21, 0xcb, 0xed, 0x42, 0xd7, 0xea, 0x95, 0x71, 0x5d, 0x81, 0x73, 0xc2, 0x87, 0x2c,
+	0x77, 0x7e, 0x80, 0xd7, 0x8b, 0xfb, 0x80, 0x27, 0x34, 0x8d, 0xc6, 0x34, 0x21, 0xa9, 0xa0, 0x2c,
+	0x45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2, 0xc0, 0xaf, 0xfe,
+	0x0d, 0x00, 0x00, 0xff, 0xff, 0x10, 0x08, 0x15, 0x6b, 0x30, 0x06, 0x00, 0x00,
 }
diff --git a/src/chromiumos/bot_scaling.proto b/src/chromiumos/bot_scaling.proto
index 8dcd912..848d264 100644
--- a/src/chromiumos/bot_scaling.proto
+++ b/src/chromiumos/bot_scaling.proto
@@ -24,15 +24,6 @@
   string value = 2;
 }
 
-// Specifies mode for a bot policy
-enum Mode {
-  UNKNOWN_MODE = 0;
-  // Collect stats only for a bot group.
-  MONITORED = 1;
-  // Generate configuration updates for bot group.
-  CONFIGURED = 2;
-}
-
 // Bot Policy to apply to a bot group.
 message BotPolicy {
   // Bot group controlled by this policy, like, 'cq', 'postsubmit',...
@@ -74,6 +65,15 @@
   // A set of dimensions used to validate current Swarming allocations.
   repeated SwarmingDimension swarming_dimensions = 5;
 
+  // Specifies mode for a bot policy
+  enum Mode {
+    UNKNOWN_MODE = 0;
+    // Collect stats only for a bot group.
+    MONITORED = 1;
+    // Generate configuration updates for bot group.
+    CONFIGURED = 2;
+  }
+
   // Set whether a bot group should be configured or only monitored.
   Mode policy_mode = 6;
 }
@@ -84,15 +84,6 @@
   repeated BotPolicy bot_policies = 1;
 }
 
-// Specifies if there has been a change since the last iteration.
-enum Actionable {
-  UNSPECIFIED = 0;
-  // There is a change since last time.
-  YES = 1;
-  // There is no change since last time.
-  NO = 2;
-}
-
 // Scaling Action that resulted because of bot demand.
 message ScalingAction {
   // Bot group modified by the action. Should be the same as BotPolicy.
@@ -101,6 +92,15 @@
   // The type of bot requested. Should be the same as BotPolicy.
   BotType bot_type = 2;
 
+  // Specifies if there has been a change since the last iteration.
+  enum Actionable {
+    UNSPECIFIED = 0;
+    // There is a change since last time.
+    YES = 1;
+    // There is no change since last time.
+    NO = 2;
+  }
+
   // Whether there has been a change in the number of bots requested
   // for this bot group. See step_size for more info.
   Actionable actionable = 3;
@@ -122,10 +122,6 @@
 
 // All the actions that will be executed by RoboCrop.
 message RoboCropAction {
-  // Whether there has been any change in any of the bot groups
-  // since the last RoboCrop execution.
-  Actionable actionable = 1;
-
   // List of an action per bot group scaled by RoboCrop.
-  repeated ScalingAction scaling_actions = 2;
+  repeated ScalingAction scaling_actions = 1;
 }
\ No newline at end of file