From 03ff31f641ba8cb113499db369ba7718e645a401 Mon Sep 17 00:00:00 2001 From: Victoria Johns Date: Wed, 4 Sep 2024 15:38:41 -0400 Subject: [PATCH] feat: add ForbiddenResponse --- docs/openapiv2/apidocs.swagger.json | 117 ++++++ openfga/v1/errors_ignore.proto | 8 + proto/openfga/v1/errors_ignore.pb.go | 397 +++++++++++------- proto/openfga/v1/errors_ignore.pb.validate.go | 106 +++++ 4 files changed, 472 insertions(+), 156 deletions(-) diff --git a/docs/openapiv2/apidocs.swagger.json b/docs/openapiv2/apidocs.swagger.json index 20db827a..4fcac353 100644 --- a/docs/openapiv2/apidocs.swagger.json +++ b/docs/openapiv2/apidocs.swagger.json @@ -53,6 +53,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -120,6 +126,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -184,6 +196,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -241,6 +259,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -303,6 +327,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -366,6 +396,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -455,6 +491,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -528,6 +570,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -621,6 +669,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -689,6 +743,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -770,6 +830,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -869,6 +935,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -955,6 +1027,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -1061,6 +1139,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -1183,6 +1267,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -1280,6 +1370,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -1386,6 +1482,12 @@ "$ref": "#/definitions/UnauthenticatedResponse" } }, + "403": { + "description": "Forbidden.", + "schema": { + "$ref": "#/definitions/ForbiddenResponse" + } + }, "404": { "description": "Request failed due to incorrect path.", "schema": { @@ -2527,6 +2629,21 @@ } } }, + "ForbiddenResponse": { + "type": "object", + "example": { + "code": "forbidden", + "message": "forbidden" + }, + "properties": { + "code": { + "$ref": "#/definitions/AuthErrorCode" + }, + "message": { + "type": "string" + } + } + }, "UnprocessableContentErrorCode": { "type": "string", "enum": [ diff --git a/openfga/v1/errors_ignore.proto b/openfga/v1/errors_ignore.proto index 3f5dc4be..ac03308a 100644 --- a/openfga/v1/errors_ignore.proto +++ b/openfga/v1/errors_ignore.proto @@ -15,6 +15,8 @@ enum AuthErrorCode { bearer_token_missing = 1010; unauthenticated = 1500; + + forbidden = 1600; } enum ErrorCode { @@ -141,3 +143,9 @@ message AbortedMessageResponse { } message ErrorMessageRequest {} + +message ForbiddenResponse { + option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {example: "{\"code\":\"forbidden\", \"message\":\"the principal is not authorized to perform the action\"}"}; + AuthErrorCode code = 1; + string message = 2; +} \ No newline at end of file diff --git a/proto/openfga/v1/errors_ignore.pb.go b/proto/openfga/v1/errors_ignore.pb.go index 562e1d84..dfe2a1c1 100644 --- a/proto/openfga/v1/errors_ignore.pb.go +++ b/proto/openfga/v1/errors_ignore.pb.go @@ -32,6 +32,7 @@ const ( AuthErrorCode_auth_failed_invalid_bearer_token AuthErrorCode = 1005 AuthErrorCode_bearer_token_missing AuthErrorCode = 1010 AuthErrorCode_unauthenticated AuthErrorCode = 1500 + AuthErrorCode_forbidden AuthErrorCode = 1600 ) // Enum value maps for AuthErrorCode. @@ -45,6 +46,7 @@ var ( 1005: "auth_failed_invalid_bearer_token", 1010: "bearer_token_missing", 1500: "unauthenticated", + 1600: "forbidden", } AuthErrorCode_value = map[string]int32{ "no_auth_error": 0, @@ -55,6 +57,7 @@ var ( "auth_failed_invalid_bearer_token": 1005, "bearer_token_missing": 1010, "unauthenticated": 1500, + "forbidden": 1600, } ) @@ -808,6 +811,61 @@ func (*ErrorMessageRequest) Descriptor() ([]byte, []int) { return file_openfga_v1_errors_ignore_proto_rawDescGZIP(), []int{6} } +type ForbiddenResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code AuthErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.AuthErrorCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *ForbiddenResponse) Reset() { + *x = ForbiddenResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_openfga_v1_errors_ignore_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForbiddenResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForbiddenResponse) ProtoMessage() {} + +func (x *ForbiddenResponse) ProtoReflect() protoreflect.Message { + mi := &file_openfga_v1_errors_ignore_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForbiddenResponse.ProtoReflect.Descriptor instead. +func (*ForbiddenResponse) Descriptor() ([]byte, []int) { + return file_openfga_v1_errors_ignore_proto_rawDescGZIP(), []int{7} +} + +func (x *ForbiddenResponse) GetCode() AuthErrorCode { + if x != nil { + return x.Code + } + return AuthErrorCode_no_auth_error +} + +func (x *ForbiddenResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + var File_openfga_v1_errors_ignore_proto protoreflect.FileDescriptor var file_openfga_v1_errors_ignore_proto_rawDesc = []byte{ @@ -883,157 +941,170 @@ var file_openfga_v1_errors_ignore_proto_rawDesc = []byte{ 0x30, 0x22, 0x2c, 0x20, 0x22, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3a, 0x22, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x22, 0x7d, 0x22, 0x15, 0x0a, 0x13, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2a, 0xf5, 0x01, 0x0a, - 0x0d, 0x41, 0x75, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x11, - 0x0a, 0x0d, 0x6e, 0x6f, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, - 0x00, 0x12, 0x20, 0x0a, 0x1b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, - 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x10, 0xe9, 0x07, 0x12, 0x21, 0x0a, 0x1c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, - 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x65, - 0x6e, 0x63, 0x65, 0x10, 0xea, 0x07, 0x12, 0x1f, 0x0a, 0x1a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x66, - 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x72, 0x10, 0xeb, 0x07, 0x12, 0x13, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x10, 0xec, 0x07, 0x12, 0x25, 0x0a, 0x20, - 0x61, 0x75, 0x74, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x5f, 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x10, 0xed, 0x07, 0x12, 0x19, 0x0a, 0x14, 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x10, 0xf2, 0x07, 0x12, 0x14, - 0x0a, 0x0f, 0x75, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x10, 0xdc, 0x0b, 0x2a, 0x8a, 0x0c, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, - 0x64, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x6e, 0x6f, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, - 0x12, 0x15, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x10, 0xd0, 0x0f, 0x12, 0x22, 0x0a, 0x1d, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, - 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xd1, 0x0f, 0x12, 0x2f, 0x0a, 0x2a, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, - 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x10, 0xd2, 0x0f, 0x12, 0x18, 0x0a, 0x13, - 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x6e, - 0x70, 0x75, 0x74, 0x10, 0xd3, 0x0f, 0x12, 0x31, 0x0a, 0x2c, 0x63, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xba, 0x01, 0x0a, + 0x11, 0x46, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x19, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, + 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x5c, 0x92, 0x41, 0x59, + 0x32, 0x57, 0x7b, 0x22, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3a, 0x22, 0x66, 0x6f, 0x72, 0x62, 0x69, + 0x64, 0x64, 0x65, 0x6e, 0x22, 0x2c, 0x20, 0x22, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x3a, 0x22, 0x74, 0x68, 0x65, 0x20, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x20, + 0x69, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, + 0x64, 0x20, 0x74, 0x6f, 0x20, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7d, 0x2a, 0x85, 0x02, 0x0a, 0x0d, 0x41, 0x75, + 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x6e, + 0x6f, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, 0x12, 0x20, + 0x0a, 0x1b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x69, 0x6e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x10, 0xe9, 0x07, + 0x12, 0x21, 0x0a, 0x1c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, + 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, + 0x10, 0xea, 0x07, 0x12, 0x1f, 0x0a, 0x1a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, + 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, + 0x72, 0x10, 0xeb, 0x07, 0x12, 0x13, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, + 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x10, 0xec, 0x07, 0x12, 0x25, 0x0a, 0x20, 0x61, 0x75, 0x74, + 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x5f, 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xed, 0x07, + 0x12, 0x19, 0x0a, 0x14, 0x62, 0x65, 0x61, 0x72, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x10, 0xf2, 0x07, 0x12, 0x14, 0x0a, 0x0f, 0x75, + 0x6e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x10, 0xdc, + 0x0b, 0x12, 0x0e, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x62, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x10, 0xc0, + 0x0c, 0x2a, 0x8a, 0x0c, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, + 0x0c, 0x0a, 0x08, 0x6e, 0x6f, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, 0x12, 0x15, 0x0a, + 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x10, 0xd0, 0x0f, 0x12, 0x22, 0x0a, 0x1d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, + 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xd1, 0x0f, 0x12, 0x2f, 0x0a, 0x2a, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, + 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x10, 0xd2, 0x0f, 0x12, 0x18, 0x0a, 0x13, 0x69, 0x6e, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x10, 0xd3, 0x0f, 0x12, 0x31, 0x0a, 0x2c, 0x63, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x5f, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x75, + 0x70, 0x6c, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x10, 0xd4, 0x0f, 0x12, 0x30, 0x0a, 0x2b, 0x63, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, - 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0xd4, 0x0f, 0x12, 0x30, 0x0a, 0x2b, 0x63, 0x61, 0x6e, - 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x6f, 0x6e, 0x65, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0xd5, 0x0f, 0x12, 0x35, 0x0a, 0x30, 0x63, - 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x75, 0x6c, 0x74, - 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, - 0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, - 0xd6, 0x0f, 0x12, 0x1f, 0x0a, 0x1a, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x10, 0xd7, 0x0f, 0x12, 0x16, 0x0a, 0x11, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x74, - 0x75, 0x70, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x10, 0xd8, 0x0f, 0x12, 0x18, 0x0a, 0x13, 0x69, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x70, - 0x75, 0x74, 0x10, 0xd9, 0x0f, 0x12, 0x19, 0x0a, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x5f, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x10, 0xda, 0x0f, - 0x12, 0x19, 0x0a, 0x14, 0x75, 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x10, 0xdb, 0x0f, 0x12, 0x1a, 0x0a, 0x15, 0x69, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x10, 0xdc, 0x0f, 0x12, 0x26, 0x0a, 0x21, 0x77, 0x72, 0x69, 0x74, 0x65, - 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x64, 0x75, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x69, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x10, 0xe1, 0x0f, 0x12, - 0x2d, 0x0a, 0x28, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xe2, 0x0f, 0x12, 0x29, - 0x0a, 0x24, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x74, - 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xe4, 0x0f, 0x12, 0x13, 0x0a, 0x0e, 0x74, 0x79, 0x70, - 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xe5, 0x0f, 0x12, 0x17, - 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, - 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xe6, 0x0f, 0x12, 0x1e, 0x0a, 0x19, 0x65, 0x6d, 0x70, 0x74, 0x79, - 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xe7, 0x0f, 0x12, 0x11, 0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x10, 0xe9, 0x0f, 0x12, 0x12, 0x0a, 0x0d, 0x69, 0x6e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x10, 0xeb, 0x0f, 0x12, 0x15, - 0x0a, 0x10, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x10, 0xec, 0x0f, 0x12, 0x1c, 0x0a, 0x17, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x69, - 0x64, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, - 0x10, 0xee, 0x0f, 0x12, 0x1e, 0x0a, 0x19, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, - 0x10, 0xf1, 0x0f, 0x12, 0x10, 0x0a, 0x0b, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, - 0x6e, 0x67, 0x10, 0xf2, 0x0f, 0x12, 0x24, 0x0a, 0x1f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x5f, - 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, 0xf4, 0x0f, 0x12, 0x22, 0x0a, 0x1d, 0x74, - 0x75, 0x70, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6e, - 0x6f, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0xf5, 0x0f, 0x12, - 0x29, 0x0a, 0x24, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x5f, 0x74, 0x6f, - 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x79, 0x5f, 0x6f, 0x72, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x66, 0x65, - 0x77, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x10, 0xf6, 0x0f, 0x12, 0x16, 0x0a, 0x11, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x10, - 0xf7, 0x0f, 0x12, 0x18, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x10, 0xf8, 0x0f, 0x12, 0x22, 0x0a, 0x1d, - 0x64, 0x69, 0x66, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x10, 0xf9, 0x0f, - 0x12, 0x20, 0x0a, 0x1b, 0x73, 0x75, 0x62, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x62, 0x61, 0x73, - 0x65, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x10, - 0xfa, 0x0f, 0x12, 0x14, 0x0a, 0x0f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x6f, - 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, 0xfb, 0x0f, 0x12, 0x16, 0x0a, 0x11, 0x72, 0x65, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, 0xfc, 0x0f, - 0x12, 0x23, 0x0a, 0x1e, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x6f, 0x6e, 0x65, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0xd5, 0x0f, 0x12, 0x35, 0x0a, 0x30, 0x63, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, + 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, + 0x6f, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xd6, 0x0f, 0x12, + 0x1f, 0x0a, 0x1a, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x69, + 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x10, 0xd7, 0x0f, + 0x12, 0x16, 0x0a, 0x11, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x74, 0x75, 0x70, 0x6c, + 0x65, 0x5f, 0x73, 0x65, 0x74, 0x10, 0xd8, 0x0f, 0x12, 0x18, 0x0a, 0x13, 0x69, 0x6e, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x10, + 0xd9, 0x0f, 0x12, 0x19, 0x0a, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x65, 0x78, + 0x70, 0x61, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x10, 0xda, 0x0f, 0x12, 0x19, 0x0a, + 0x14, 0x75, 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x73, 0x65, 0x74, 0x10, 0xdb, 0x0f, 0x12, 0x1a, 0x0a, 0x15, 0x69, 0x6e, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x10, 0xdc, 0x0f, 0x12, 0x26, 0x0a, 0x21, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x66, 0x61, + 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x64, 0x75, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x10, 0xe1, 0x0f, 0x12, 0x2d, 0x0a, 0x28, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x6e, + 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xe2, 0x0f, 0x12, 0x29, 0x0a, 0x24, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, + 0x75, 0x6e, 0x64, 0x10, 0xe4, 0x0f, 0x12, 0x13, 0x0a, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, + 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0xe5, 0x0f, 0x12, 0x17, 0x0a, 0x12, 0x72, + 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, + 0x64, 0x10, 0xe6, 0x0f, 0x12, 0x1e, 0x0a, 0x19, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x10, 0xe7, 0x0f, 0x12, 0x11, 0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, + 0x75, 0x73, 0x65, 0x72, 0x10, 0xe9, 0x0f, 0x12, 0x12, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x10, 0xeb, 0x0f, 0x12, 0x15, 0x0a, 0x10, 0x75, + 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, + 0xec, 0x0f, 0x12, 0x1c, 0x0a, 0x17, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x69, + 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x10, 0xee, 0x0f, + 0x12, 0x1e, 0x0a, 0x19, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x74, + 0x6f, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x79, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x10, 0xf1, 0x0f, + 0x12, 0x10, 0x0a, 0x0b, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, + 0xf2, 0x0f, 0x12, 0x24, 0x0a, 0x1f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6f, + 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, 0xf4, 0x0f, 0x12, 0x22, 0x0a, 0x1d, 0x74, 0x75, 0x70, 0x6c, + 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, + 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0xf5, 0x0f, 0x12, 0x29, 0x0a, 0x24, + 0x74, 0x75, 0x70, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6d, + 0x61, 0x6e, 0x79, 0x5f, 0x6f, 0x72, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x66, 0x65, 0x77, 0x5f, 0x69, + 0x74, 0x65, 0x6d, 0x73, 0x10, 0xf6, 0x0f, 0x12, 0x16, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x10, 0xf7, 0x0f, 0x12, + 0x18, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x10, 0xf8, 0x0f, 0x12, 0x22, 0x0a, 0x1d, 0x64, 0x69, 0x66, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x10, 0xf9, 0x0f, 0x12, 0x20, 0x0a, + 0x1b, 0x73, 0x75, 0x62, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x10, 0xfa, 0x0f, 0x12, + 0x14, 0x0a, 0x0f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, + 0x6e, 0x67, 0x10, 0xfb, 0x0f, 0x12, 0x16, 0x0a, 0x11, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, 0xfc, 0x0f, 0x12, 0x23, 0x0a, + 0x1e, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x66, 0x65, 0x77, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x10, + 0xfd, 0x0f, 0x12, 0x18, 0x0a, 0x13, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x10, 0xfe, 0x0f, 0x12, 0x19, 0x0a, 0x14, + 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, + 0x74, 0x65, 0x72, 0x6e, 0x10, 0xff, 0x0f, 0x12, 0x1c, 0x0a, 0x17, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x66, 0x65, 0x77, 0x5f, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x10, 0xfd, 0x0f, 0x12, 0x18, 0x0a, 0x13, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x6e, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x10, 0xfe, 0x0f, 0x12, - 0x19, 0x0a, 0x14, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, - 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x10, 0xff, 0x0f, 0x12, 0x1c, 0x0a, 0x17, 0x72, 0x65, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x66, 0x65, 0x77, 0x5f, - 0x69, 0x74, 0x65, 0x6d, 0x73, 0x10, 0x80, 0x10, 0x12, 0x17, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, 0x81, - 0x10, 0x12, 0x1e, 0x0a, 0x19, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, - 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x10, 0x82, - 0x10, 0x12, 0x1b, 0x0a, 0x16, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x10, 0x83, 0x10, 0x12, 0x32, - 0x0a, 0x2d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x10, - 0x84, 0x10, 0x12, 0x1a, 0x0a, 0x15, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x85, 0x10, 0x12, 0x1d, - 0x0a, 0x18, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x10, 0x86, 0x10, 0x12, 0x1f, 0x0a, - 0x1a, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x10, 0x87, 0x10, 0x12, 0x20, - 0x0a, 0x1b, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x10, 0x88, 0x10, - 0x12, 0x1f, 0x0a, 0x1a, 0x75, 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x10, 0x89, - 0x10, 0x12, 0x0e, 0x0a, 0x09, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x10, 0x8a, - 0x10, 0x2a, 0x5a, 0x0a, 0x1d, 0x55, 0x6e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x61, 0x62, - 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, - 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x6e, 0x6f, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, - 0x65, 0x64, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x10, 0x00, 0x12, - 0x1c, 0x0a, 0x17, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0xac, 0x1b, 0x2a, 0xe2, 0x01, - 0x0a, 0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, - 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x6e, 0x6f, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0xa0, 0x1f, 0x12, - 0x16, 0x0a, 0x11, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x65, - 0x65, 0x64, 0x65, 0x64, 0x10, 0xa4, 0x1f, 0x12, 0x13, 0x0a, 0x0e, 0x61, 0x6c, 0x72, 0x65, 0x61, - 0x64, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x10, 0xa5, 0x1f, 0x12, 0x17, 0x0a, 0x12, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, - 0x65, 0x64, 0x10, 0xa6, 0x1f, 0x12, 0x18, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, - 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa7, 0x1f, 0x12, - 0x0c, 0x0a, 0x07, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x10, 0xa8, 0x1f, 0x12, 0x11, 0x0a, - 0x0c, 0x6f, 0x75, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xa9, 0x1f, - 0x12, 0x10, 0x0a, 0x0b, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x10, - 0xaa, 0x1f, 0x12, 0x0e, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x10, - 0xab, 0x1f, 0x2a, 0x71, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x6e, 0x6f, 0x5f, 0x6e, 0x6f, - 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, 0x12, - 0x17, 0x0a, 0x12, 0x75, 0x6e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, - 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x10, 0x88, 0x27, 0x12, 0x17, 0x0a, 0x12, 0x73, 0x74, 0x6f, 0x72, - 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x8a, - 0x27, 0x12, 0x12, 0x0a, 0x0d, 0x75, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x65, 0x64, 0x10, 0x8c, 0x27, 0x42, 0x9f, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x70, - 0x65, 0x6e, 0x66, 0x67, 0x61, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, - 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x66, 0x67, - 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x70, 0x65, 0x6e, - 0x66, 0x67, 0x61, 0x2f, 0x76, 0x31, 0x3b, 0x6f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x4f, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x16, 0x4f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4f, 0x70, 0x65, 0x6e, - 0x66, 0x67, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x73, 0x10, 0x80, 0x10, 0x12, 0x17, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x5f, 0x74, 0x6f, 0x6f, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x10, 0x81, 0x10, 0x12, 0x1e, + 0x0a, 0x19, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x10, 0x82, 0x10, 0x12, 0x1b, + 0x0a, 0x16, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x10, 0x83, 0x10, 0x12, 0x32, 0x0a, 0x2d, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x10, 0x84, 0x10, 0x12, + 0x1a, 0x0a, 0x15, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x10, 0x85, 0x10, 0x12, 0x1d, 0x0a, 0x18, 0x69, + 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, + 0x6c, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x10, 0x86, 0x10, 0x12, 0x1f, 0x0a, 0x1a, 0x64, 0x75, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, + 0x61, 0x6c, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x10, 0x87, 0x10, 0x12, 0x20, 0x0a, 0x1b, 0x69, + 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x10, 0x88, 0x10, 0x12, 0x1f, 0x0a, + 0x1a, 0x75, 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x10, 0x89, 0x10, 0x12, 0x0e, + 0x0a, 0x09, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x10, 0x8a, 0x10, 0x2a, 0x5a, + 0x0a, 0x1d, 0x55, 0x6e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, + 0x1b, 0x0a, 0x17, 0x6e, 0x6f, 0x5f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x17, + 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0xac, 0x1b, 0x2a, 0xe2, 0x01, 0x0a, 0x11, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, + 0x12, 0x15, 0x0a, 0x11, 0x6e, 0x6f, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0xa0, 0x1f, 0x12, 0x16, 0x0a, 0x11, + 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, + 0x64, 0x10, 0xa4, 0x1f, 0x12, 0x13, 0x0a, 0x0e, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x10, 0xa5, 0x1f, 0x12, 0x17, 0x0a, 0x12, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, 0x65, 0x64, 0x10, + 0xa6, 0x1f, 0x12, 0x18, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0xa7, 0x1f, 0x12, 0x0c, 0x0a, 0x07, + 0x61, 0x62, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x10, 0xa8, 0x1f, 0x12, 0x11, 0x0a, 0x0c, 0x6f, 0x75, + 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x10, 0xa9, 0x1f, 0x12, 0x10, 0x0a, + 0x0b, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x10, 0xaa, 0x1f, 0x12, + 0x0e, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6c, 0x6f, 0x73, 0x73, 0x10, 0xab, 0x1f, 0x2a, + 0x71, 0x0a, 0x11, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x6e, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, + 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x12, + 0x75, 0x6e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x10, 0x88, 0x27, 0x12, 0x17, 0x0a, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x69, + 0x64, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x8a, 0x27, 0x12, 0x12, + 0x0a, 0x0d, 0x75, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x10, + 0x8c, 0x27, 0x42, 0x9f, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x66, + 0x67, 0x61, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x49, 0x67, 0x6e, + 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, + 0x2f, 0x76, 0x31, 0x3b, 0x6f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, + 0x4f, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x2e, 0x56, 0x31, + 0xca, 0x02, 0x0a, 0x4f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, + 0x4f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4f, 0x70, 0x65, 0x6e, 0x66, 0x67, 0x61, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1049,7 +1120,7 @@ func file_openfga_v1_errors_ignore_proto_rawDescGZIP() []byte { } var file_openfga_v1_errors_ignore_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_openfga_v1_errors_ignore_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_openfga_v1_errors_ignore_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_openfga_v1_errors_ignore_proto_goTypes = []interface{}{ (AuthErrorCode)(0), // 0: openfga.v1.AuthErrorCode (ErrorCode)(0), // 1: openfga.v1.ErrorCode @@ -1063,6 +1134,7 @@ var file_openfga_v1_errors_ignore_proto_goTypes = []interface{}{ (*PathUnknownErrorMessageResponse)(nil), // 9: openfga.v1.PathUnknownErrorMessageResponse (*AbortedMessageResponse)(nil), // 10: openfga.v1.AbortedMessageResponse (*ErrorMessageRequest)(nil), // 11: openfga.v1.ErrorMessageRequest + (*ForbiddenResponse)(nil), // 12: openfga.v1.ForbiddenResponse } var file_openfga_v1_errors_ignore_proto_depIdxs = []int32{ 1, // 0: openfga.v1.ValidationErrorMessageResponse.code:type_name -> openfga.v1.ErrorCode @@ -1070,11 +1142,12 @@ var file_openfga_v1_errors_ignore_proto_depIdxs = []int32{ 2, // 2: openfga.v1.UnprocessableContentMessageResponse.code:type_name -> openfga.v1.UnprocessableContentErrorCode 3, // 3: openfga.v1.InternalErrorMessageResponse.code:type_name -> openfga.v1.InternalErrorCode 4, // 4: openfga.v1.PathUnknownErrorMessageResponse.code:type_name -> openfga.v1.NotFoundErrorCode - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name + 0, // 5: openfga.v1.ForbiddenResponse.code:type_name -> openfga.v1.AuthErrorCode + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_openfga_v1_errors_ignore_proto_init() } @@ -1167,6 +1240,18 @@ func file_openfga_v1_errors_ignore_proto_init() { return nil } } + file_openfga_v1_errors_ignore_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForbiddenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1174,7 +1259,7 @@ func file_openfga_v1_errors_ignore_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_openfga_v1_errors_ignore_proto_rawDesc, NumEnums: 5, - NumMessages: 7, + NumMessages: 8, NumExtensions: 0, NumServices: 0, }, diff --git a/proto/openfga/v1/errors_ignore.pb.validate.go b/proto/openfga/v1/errors_ignore.pb.validate.go index 98c6486c..6382d5c7 100644 --- a/proto/openfga/v1/errors_ignore.pb.validate.go +++ b/proto/openfga/v1/errors_ignore.pb.validate.go @@ -778,3 +778,109 @@ var _ interface { Cause() error ErrorName() string } = ErrorMessageRequestValidationError{} + +// Validate checks the field values on ForbiddenResponse with the rules defined +// in the proto definition for this message. If any rules are violated, the +// first error encountered is returned, or nil if there are no violations. +func (m *ForbiddenResponse) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on ForbiddenResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// ForbiddenResponseMultiError, or nil if none found. +func (m *ForbiddenResponse) ValidateAll() error { + return m.validate(true) +} + +func (m *ForbiddenResponse) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Code + + // no validation rules for Message + + if len(errors) > 0 { + return ForbiddenResponseMultiError(errors) + } + + return nil +} + +// ForbiddenResponseMultiError is an error wrapping multiple validation errors +// returned by ForbiddenResponse.ValidateAll() if the designated constraints +// aren't met. +type ForbiddenResponseMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m ForbiddenResponseMultiError) Error() string { + var msgs []string + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m ForbiddenResponseMultiError) AllErrors() []error { return m } + +// ForbiddenResponseValidationError is the validation error returned by +// ForbiddenResponse.Validate if the designated constraints aren't met. +type ForbiddenResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ForbiddenResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ForbiddenResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ForbiddenResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ForbiddenResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ForbiddenResponseValidationError) ErrorName() string { + return "ForbiddenResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e ForbiddenResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sForbiddenResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ForbiddenResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ForbiddenResponseValidationError{}