diff --git a/protos/common/common.pb.go b/protos/common/common.pb.go index 53f925a151d..ff8bb378aad 100644 --- a/protos/common/common.pb.go +++ b/protos/common/common.pb.go @@ -49,13 +49,14 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type Status int32 const ( - Status_UNKNOWN Status = 0 - Status_SUCCESS Status = 200 - Status_BAD_REQUEST Status = 400 - Status_FORBIDDEN Status = 403 - Status_NOT_FOUND Status = 404 - Status_INTERNAL_SERVER_ERROR Status = 500 - Status_SERVICE_UNAVAILABLE Status = 503 + Status_UNKNOWN Status = 0 + Status_SUCCESS Status = 200 + Status_BAD_REQUEST Status = 400 + Status_FORBIDDEN Status = 403 + Status_NOT_FOUND Status = 404 + Status_REQUEST_ENTITY_TOO_LARGE Status = 413 + Status_INTERNAL_SERVER_ERROR Status = 500 + Status_SERVICE_UNAVAILABLE Status = 503 ) var Status_name = map[int32]string{ @@ -64,17 +65,19 @@ var Status_name = map[int32]string{ 400: "BAD_REQUEST", 403: "FORBIDDEN", 404: "NOT_FOUND", + 413: "REQUEST_ENTITY_TOO_LARGE", 500: "INTERNAL_SERVER_ERROR", 503: "SERVICE_UNAVAILABLE", } var Status_value = map[string]int32{ - "UNKNOWN": 0, - "SUCCESS": 200, - "BAD_REQUEST": 400, - "FORBIDDEN": 403, - "NOT_FOUND": 404, - "INTERNAL_SERVER_ERROR": 500, - "SERVICE_UNAVAILABLE": 503, + "UNKNOWN": 0, + "SUCCESS": 200, + "BAD_REQUEST": 400, + "FORBIDDEN": 403, + "NOT_FOUND": 404, + "REQUEST_ENTITY_TOO_LARGE": 413, + "INTERNAL_SERVER_ERROR": 500, + "SERVICE_UNAVAILABLE": 503, } func (x Status) String() string { @@ -301,49 +304,50 @@ func init() { func init() { proto.RegisterFile("common/common.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 694 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x54, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xad, 0xeb, 0x7c, 0x34, 0xe3, 0xd0, 0x9a, 0xed, 0x07, 0x26, 0x02, 0x35, 0xb2, 0x04, 0x8a, - 0x5a, 0x91, 0x88, 0x22, 0x24, 0xae, 0x4e, 0xbc, 0x6d, 0x2d, 0x5a, 0xbb, 0xac, 0x9d, 0x22, 0x71, - 0x89, 0x9c, 0x64, 0x9b, 0x04, 0x12, 0x6f, 0xe4, 0x38, 0x55, 0x7b, 0xe5, 0x8a, 0x84, 0x90, 0xe0, - 0x47, 0xf1, 0x0f, 0xf8, 0x23, 0x48, 0x5c, 0xd1, 0xee, 0xda, 0xf9, 0xe8, 0x29, 0xf3, 0xe6, 0xcd, - 0xcc, 0xbe, 0x37, 0xeb, 0x2c, 0xec, 0xf6, 0xd8, 0x64, 0xc2, 0xa2, 0x86, 0xfc, 0xa9, 0x4f, 0x63, - 0x96, 0x30, 0x54, 0x90, 0xa8, 0x72, 0x38, 0x60, 0x6c, 0x30, 0xa6, 0x0d, 0x91, 0xed, 0xce, 0x6f, - 0x1a, 0xc9, 0x68, 0x42, 0x67, 0x49, 0x38, 0x99, 0xca, 0x42, 0xf3, 0xab, 0x02, 0x85, 0x73, 0x1a, - 0xf6, 0x69, 0x8c, 0xde, 0x82, 0xd6, 0x1b, 0x86, 0xa3, 0x48, 0x42, 0x43, 0xa9, 0x2a, 0x35, 0xed, - 0x64, 0xb7, 0x9e, 0xce, 0x6d, 0x2d, 0x29, 0xb2, 0x5a, 0x87, 0x2c, 0xd8, 0x99, 0x8d, 0x06, 0x51, - 0x98, 0xcc, 0x63, 0x9a, 0xb6, 0x6e, 0x8a, 0xd6, 0x27, 0x59, 0xab, 0xbf, 0x4e, 0x93, 0x87, 0xf5, - 0xe6, 0x1f, 0x05, 0xb4, 0x95, 0xf9, 0x08, 0x41, 0x2e, 0xb9, 0x9f, 0x52, 0x21, 0x21, 0x4f, 0x44, - 0x8c, 0x0c, 0x28, 0xde, 0xd2, 0x78, 0x36, 0x62, 0x91, 0x18, 0x9f, 0x27, 0x19, 0x44, 0xef, 0xa0, - 0xb4, 0x70, 0x65, 0xa8, 0xe2, 0xe8, 0x4a, 0x5d, 0xfa, 0xae, 0x67, 0xbe, 0xeb, 0x41, 0x56, 0x41, - 0x96, 0xc5, 0x7c, 0xa6, 0x70, 0xe2, 0xd8, 0x46, 0xae, 0xaa, 0xd4, 0x4a, 0x24, 0x83, 0x42, 0xc1, - 0x9d, 0x63, 0x1b, 0x79, 0x91, 0x16, 0x31, 0xda, 0x83, 0x3c, 0x9d, 0xb2, 0xde, 0xd0, 0x28, 0x54, - 0x95, 0x5a, 0x8e, 0x48, 0x80, 0x9e, 0x41, 0x89, 0xde, 0x25, 0x34, 0x12, 0xca, 0x8a, 0x55, 0xa5, - 0x56, 0x26, 0xcb, 0x84, 0x69, 0xc1, 0xce, 0x03, 0xf7, 0xe2, 0xd0, 0x98, 0x86, 0x09, 0x93, 0x2b, - 0x2e, 0x93, 0x0c, 0xf2, 0x03, 0x22, 0x16, 0xf5, 0xa8, 0x30, 0x58, 0x26, 0x12, 0x98, 0x18, 0x8a, - 0x57, 0xe1, 0xfd, 0x98, 0x85, 0x7d, 0xf4, 0x12, 0x0a, 0xc3, 0xd5, 0xcb, 0xd9, 0xce, 0x36, 0x9c, - 0x2e, 0x36, 0x65, 0xb9, 0xfa, 0x7e, 0x98, 0x84, 0xe9, 0x1c, 0x11, 0x9b, 0x4d, 0xd8, 0xc2, 0xd1, - 0x2d, 0x1d, 0x33, 0xb9, 0xcb, 0xa9, 0x1c, 0x99, 0x49, 0x48, 0x21, 0x77, 0xb3, 0xb8, 0x9c, 0xb4, - 0x7d, 0x99, 0x30, 0xbf, 0x2b, 0x90, 0x6f, 0x8e, 0x59, 0xef, 0x0b, 0x3a, 0xce, 0xbe, 0x9a, 0x87, - 0x9f, 0x89, 0xa0, 0x33, 0x39, 0xa9, 0xe3, 0x17, 0x90, 0xb3, 0x33, 0x39, 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x55, 0x91, 0x01, 0xbb, 0x3c, 0xe5, 0xb4, 0x70, 0xa7, 0xed, 0x5a, 0xd7, 0x96, 0x73, - 0x61, 0x35, 0x2f, 0xb0, 0xfe, 0x4f, 0x3d, 0xfa, 0x0c, 0x20, 0xb7, 0x17, 0xf0, 0x7f, 0x99, 0x06, - 0xc5, 0x4b, 0xec, 0xfb, 0xd6, 0x19, 0xd6, 0x37, 0xd0, 0x73, 0x78, 0xda, 0xf2, 0xdc, 0x53, 0xe7, - 0xac, 0x4d, 0xac, 0xc0, 0xf1, 0xdc, 0x4e, 0x40, 0x2c, 0xd7, 0xb7, 0x5a, 0x3c, 0xd6, 0x15, 0x74, - 0x00, 0x68, 0x9d, 0x76, 0x02, 0x7c, 0xa9, 0x6f, 0x22, 0x03, 0xf6, 0xb0, 0x6b, 0x7b, 0xc4, 0xc7, - 0x64, 0xad, 0x43, 0x6d, 0xbe, 0xfa, 0x74, 0x3c, 0x18, 0x25, 0xc3, 0x79, 0x97, 0xdf, 0x6b, 0x63, - 0x78, 0x3f, 0xa5, 0xf1, 0x98, 0xf6, 0x07, 0x34, 0x6e, 0xdc, 0x84, 0xdd, 0x78, 0xd4, 0x93, 0xcf, - 0xd4, 0x2c, 0x7d, 0xca, 0xba, 0x05, 0x01, 0xdf, 0xfc, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xf3, - 0x5f, 0x52, 0xe2, 0x04, 0x00, 0x00, + // 719 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0xad, 0xeb, 0xfc, 0x34, 0xd7, 0xf9, 0x5a, 0x7f, 0xd3, 0x1f, 0x4c, 0x44, 0xd5, 0xc8, 0x12, + 0x28, 0x6a, 0x45, 0x22, 0x8a, 0x90, 0xd8, 0x3a, 0xf1, 0xb4, 0xb5, 0x48, 0xc7, 0x65, 0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, 0xc2, 0x5e, 0x87, 0x18, 0xd7, 0x86, 0xd5, 0x36, 0x9a, 0x6d, 0xac, 0xfe, 0x95, 0x8f, + 0x3f, 0x02, 0x88, 0xe1, 0xba, 0xc9, 0x9f, 0x50, 0x81, 0xe2, 0x25, 0x76, 0x1c, 0xe3, 0x1c, 0xab, + 0x1b, 0xe8, 0x10, 0x1e, 0xb7, 0x6c, 0x72, 0x66, 0x9d, 0x77, 0xa8, 0xe1, 0x5a, 0x36, 0xf1, 0x5c, + 0x6a, 0x10, 0xc7, 0x68, 0x25, 0x6b, 0x55, 0x42, 0x07, 0x80, 0xd6, 0x69, 0xcb, 0xc5, 0x97, 0xea, + 0x26, 0xd2, 0x60, 0x0f, 0x13, 0xd3, 0xa6, 0x0e, 0xa6, 0x6b, 0x3b, 0xe4, 0xe6, 0xf3, 0x0f, 0x27, + 0x83, 0x51, 0x3c, 0x9c, 0x77, 0x93, 0x6b, 0x6f, 0x0c, 0xef, 0xa7, 0x2c, 0x1a, 0xb3, 0xfe, 0x80, + 0x45, 0x8d, 0x1b, 0xbf, 0x1b, 0x8d, 0x7a, 0xe2, 0x15, 0x9b, 0xa5, 0x2f, 0x5d, 0xb7, 0xc0, 0xe1, + 0xcb, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x46, 0xc5, 0x71, 0x75, 0x01, 0x05, 0x00, 0x00, } diff --git a/protos/common/common.proto b/protos/common/common.proto index 359e6e59358..7a5839553a2 100644 --- a/protos/common/common.proto +++ b/protos/common/common.proto @@ -29,6 +29,7 @@ enum Status { BAD_REQUEST = 400; FORBIDDEN = 403; NOT_FOUND = 404; + REQUEST_ENTITY_TOO_LARGE = 413; INTERNAL_SERVER_ERROR = 500; SERVICE_UNAVAILABLE = 503; }