build_api_test.proto: Add new fields to request.

Add enum, repeated enum, int, and repeated int fields for additional
test cases.


Change-Id: I9fba31b5d4bbb36723031b226440747a41923711
Auto-Submit: Alex Klein <>
Reviewed-by: Michael Mortensen <>
Commit-Queue: Michael Mortensen <>
diff --git a/go/chromite/api/build_api_test.pb.go b/go/chromite/api/build_api_test.pb.go
index b072b2a..1cf2468 100644
--- a/go/chromite/api/build_api_test.pb.go
+++ b/go/chromite/api/build_api_test.pb.go
@@ -25,6 +25,37 @@
 // proto package needs to be updated.
 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
+type TestEnum int32
+const (
+	TestEnum_TEST_ENUM_FOO         TestEnum = 1
+	TestEnum_TEST_ENUM_BAR         TestEnum = 2
+	TestEnum_TEST_ENUM_BAZ         TestEnum = 3
+var TestEnum_name = map[int32]string{
+var TestEnum_value = map[string]int32{
+	"TEST_ENUM_FOO":         1,
+	"TEST_ENUM_BAR":         2,
+	"TEST_ENUM_BAZ":         3,
+func (x TestEnum) String() string {
+	return proto.EnumName(TestEnum_name, int32(x))
+func (TestEnum) EnumDescriptor() ([]byte, []int) {
+	return fileDescriptor_78ca3263cf74c05a, []int{0}
 type NestedPath struct {
 	Path                 *chromiumos.Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
 	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
@@ -68,6 +99,7 @@
 	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
 	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
 	Flag                 bool     `protobuf:"varint,3,opt,name=flag,proto3" json:"flag,omitempty"`
+	TestEnum             TestEnum `protobuf:"varint,4,opt,name=test_enum,json=testEnum,proto3,enum=chromite.api.TestEnum" json:"test_enum,omitempty"`
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 	XXX_unrecognized     []byte   `json:"-"`
 	XXX_sizecache        int32    `json:"-"`
@@ -119,6 +151,13 @@
 	return false
+func (m *MultiFieldMessage) GetTestEnum() TestEnum {
+	if m != nil {
+		return m.TestEnum
+	}
 // Simple input message.
 type TestRequestMessage struct {
 	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
@@ -137,6 +176,10 @@
 	SyncedDirs []*chromiumos.SyncedDir `protobuf:"bytes,10,rep,name=synced_dirs,json=syncedDirs,proto3" json:"synced_dirs,omitempty"`
 	// Repeated message with multiple fields.
 	Messages             []*MultiFieldMessage `protobuf:"bytes,11,rep,name=messages,proto3" json:"messages,omitempty"`
+	TestEnum             TestEnum             `protobuf:"varint,12,opt,name=test_enum,json=testEnum,proto3,enum=chromite.api.TestEnum" json:"test_enum,omitempty"`
+	TestEnums            []TestEnum           `protobuf:"varint,13,rep,packed,name=test_enums,json=testEnums,proto3,enum=chromite.api.TestEnum" json:"test_enums,omitempty"`
+	Number               int32                `protobuf:"varint,14,opt,name=number,proto3" json:"number,omitempty"`
+	Numbers              []int32              `protobuf:"varint,15,rep,packed,name=numbers,proto3" json:"numbers,omitempty"`
 	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
 	XXX_unrecognized     []byte               `json:"-"`
 	XXX_sizecache        int32                `json:"-"`
@@ -244,6 +287,34 @@
 	return nil
+func (m *TestRequestMessage) GetTestEnum() TestEnum {
+	if m != nil {
+		return m.TestEnum
+	}
+func (m *TestRequestMessage) GetTestEnums() []TestEnum {
+	if m != nil {
+		return m.TestEnums
+	}
+	return nil
+func (m *TestRequestMessage) GetNumber() int32 {
+	if m != nil {
+		return m.Number
+	}
+	return 0
+func (m *TestRequestMessage) GetNumbers() []int32 {
+	if m != nil {
+		return m.Numbers
+	}
+	return nil
 // Simple output message.
 type TestResultMessage struct {
 	Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
@@ -318,6 +389,7 @@
 func init() {
+	proto.RegisterEnum("chromite.api.TestEnum", TestEnum_name, TestEnum_value)
 	proto.RegisterType((*NestedPath)(nil), "chromite.api.NestedPath")
 	proto.RegisterType((*MultiFieldMessage)(nil), "chromite.api.MultiFieldMessage")
 	proto.RegisterType((*TestRequestMessage)(nil), "chromite.api.TestRequestMessage")
@@ -327,51 +399,59 @@
 func init() { proto.RegisterFile("chromite/api/build_api_test.proto", fileDescriptor_78ca3263cf74c05a) }
 var fileDescriptor_78ca3263cf74c05a = []byte{
-	// 690 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xdd, 0x6e, 0xd3, 0x30,
-	0x14, 0xc7, 0x95, 0xb6, 0x2b, 0xed, 0x49, 0x57, 0x5a, 0x0b, 0xba, 0x10, 0x90, 0x56, 0x2a, 0x2e,
-	0x26, 0x84, 0x12, 0xa9, 0x43, 0xe3, 0xf3, 0x66, 0x1b, 0x20, 0x4d, 0xa8, 0x1b, 0xca, 0x26, 0x2e,
-	0xb8, 0xa0, 0x78, 0x89, 0x97, 0x5a, 0x6a, 0x3e, 0xb0, 0x9d, 0x49, 0xbc, 0x5e, 0xc5, 0xab, 0x70,
-	0xd9, 0x07, 0x40, 0x02, 0x09, 0xc5, 0x4e, 0xd3, 0x94, 0x6c, 0xe3, 0xa6, 0xdc, 0x39, 0xf9, 0x9f,
-	0xdf, 0x39, 0xfe, 0x9f, 0x63, 0x27, 0xf0, 0xd0, 0x9d, 0xb0, 0x28, 0xa0, 0x82, 0xd8, 0x38, 0xa6,
-	0xf6, 0x79, 0x42, 0xa7, 0xde, 0x18, 0xc7, 0x74, 0x2c, 0x08, 0x17, 0x56, 0xcc, 0x22, 0x11, 0xa1,
-	0xd6, 0x22, 0xc4, 0xc2, 0x31, 0x35, 0x1f, 0x5c, 0x0d, 0xa8, 0x58, 0x73, 0x4b, 0xa9, 0x49, 0x10,
-	0x71, 0xdb, 0x8d, 0x82, 0x20, 0x0a, 0x33, 0xc1, 0x28, 0x08, 0x01, 0x11, 0x8c, 0xba, 0x5c, 0x29,
-	0x83, 0x21, 0xc0,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x00, 0x00,
+	// 824 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x96, 0x4d, 0x6f, 0xdb, 0x36,
+	0x18, 0xc7, 0x27, 0xbf, 0xd5, 0x7e, 0x64, 0xbb, 0x32, 0xb1, 0x3a, 0xac, 0x36, 0xa0, 0x9a, 0xb1,
+	0x83, 0x51, 0x0c, 0x12, 0xe0, 0x6c, 0xdd, 0xeb, 0x25, 0x49, 0x1d, 0x20, 0x07, 0x27, 0x05, 0x93,
+	0xee, 0xd0, 0x43, 0x3d, 0xc5, 0x62, 0x6c, 0x02, 0xd6, 0xcb, 0x48, 0xaa, 0xc0, 0x6e, 0xfb, 0x6c,
+	0xfe, 0x28, 0x03, 0x76, 0xf4, 0x07, 0x18, 0xb0, 0x01, 0x83, 0xa8, 0x17, 0x4b, 0x75, 0x93, 0xed,
+	0xe0, 0xde, 0x48, 0xfe, 0x9f, 0x1f, 0x1f, 0xfe, 0xf9, 0x3c, 0xa6, 0x05, 0x5f, 0x2c, 0x56, 0x3c,
+	0xf4, 0x99, 0xa4, 0x8e, 0x1b, 0x31, 0xe7, 0x36, 0x66, 0x6b, 0x6f, 0xee, 0x46, 0x6c, 0x2e, 0xa9,
+	0x90, 0x76, 0xc4, 0x43, 0x19, 0xa2, 0x6e, 0x1e, 0x62, 0xbb, 0x11, 0x33, 0x3f, 0xff, 0x30, 0x90,
+	0xc6, 0x9a, 0x47, 0xa9, 0x1a, 0xfb, 0xa1, 0x70, 0x16, 0xa1, 0xef, 0x87, 0x41, 0x26, 0xe0, 0x92,
+	0xe0, 0x53, 0xc9, 0xd9, 0x42, 0xa4, 0xca, 0x68, 0x02, 0x70, 0x49, 0x85, 0xa4, 0xde, 0x2b, 0x57,
+	0xae, 0xd0, 0x97, 0xd0, 0x88, 0x5c, 0xb9, 0xc2, 0x9a, 0xa5, 0x8d, 0xf5, 0x89, 0x61, 0xef, 0x30,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 0xfc, 0xbe, 0x85, 0xa7, 0xa9, 0x92, 0x2d,
+	0xa4, 0x93, 0xc3, 0xf9, 0x5e, 0x82, 0x59, 0xd9, 0xff, 0x2a, 0x96, 0x07, 0x4d, 0x30, 0x6a, 0x6d,
+	0xb6, 0x66, 0xcd, 0xa8, 0x99, 0xc3, 0xcd, 0xd6, 0x44, 0xef, 0x3b, 0x37, 0xb4, 0xc9, 0xdf, 0x1a,
+	0x1c, 0x65, 0x49, 0xf7, 0xcc, 0xff, 0x02, 0x9f, 0x65, 0xd2, 0x47, 0x3a, 0x5d, 0x62, 0xbf, 0x9a,
+	0xe1, 0xc0, 0xf7, 0x9b, 0xd9, 0xd7, 0xee, 0xb1, 0x5f, 0x3b, 0xfd, 0xee, 0xcd, 0x8b, 0x65, 0x58,
+	0xfc, 0xce, 0xec, 0x90, 0x2f, 0x9d, 0xd2, 0xa7, 0x00, 0x0b, 0xee, 0xb8, 0xeb, 0xa8, 0x0f, 0x01,
+	0x67, 0x19, 0x3a, 0xe5, 0x6f, 0x8b, 0xdb, 0x96, 0x5a, 0x3e, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff,
+	0x61, 0x2f, 0x0f, 0xa8, 0xa3, 0x08, 0x00, 0x00,
 // Reference imports to suppress errors if they are not otherwise used.
diff --git a/src/chromite/api/build_api_test.proto b/src/chromite/api/build_api_test.proto
index 2f281d0..44e3d3f 100644
--- a/src/chromite/api/build_api_test.proto
+++ b/src/chromite/api/build_api_test.proto
@@ -14,10 +14,18 @@
   chromiumos.Path path = 1;
+enum TestEnum {
 message MultiFieldMessage {
   int32 id = 1;
   string name = 2;
   bool flag = 3;
+  TestEnum test_enum = 4;
 // Simple input message.
@@ -38,6 +46,10 @@
   repeated chromiumos.SyncedDir synced_dirs = 10;
   // Repeated message with multiple fields.
   repeated MultiFieldMessage messages = 11;
+  TestEnum test_enum = 12;
+  repeated TestEnum test_enums = 13;
+  int32 number = 14;
+  repeated int32 numbers = 15;
 // Simple output message.