From ba33a689f041198725e9b55a74d78df69b4066a4 Mon Sep 17 00:00:00 2001 From: Marcus Hines Date: Tue, 16 Apr 2024 21:01:14 +0000 Subject: [PATCH] Readd field into record response to fix wire versioning with Cisco --- acctz/acctz.pb.go | 639 +++++++++++++++++++++++++++++----------------- acctz/acctz.proto | 33 ++- 2 files changed, 433 insertions(+), 239 deletions(-) diff --git a/acctz/acctz.pb.go b/acctz/acctz.pb.go index 1a547dd..5bfaf8f 100755 --- a/acctz/acctz.pb.go +++ b/acctz/acctz.pb.go @@ -84,6 +84,55 @@ func (SessionInfo_SessionStatus) EnumDescriptor() ([]byte, []int) { return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{0, 0} } +type AuthDetail_AuthenStatus int32 + +const ( + AuthDetail_AUTHEN_STATUS_UNSPECIFIED AuthDetail_AuthenStatus = 0 + AuthDetail_AUTHEN_STATUS_PERMIT AuthDetail_AuthenStatus = 1 + AuthDetail_AUTHEN_STATUS_DENY AuthDetail_AuthenStatus = 2 +) + +// Enum value maps for AuthDetail_AuthenStatus. +var ( + AuthDetail_AuthenStatus_name = map[int32]string{ + 0: "AUTHEN_STATUS_UNSPECIFIED", + 1: "AUTHEN_STATUS_PERMIT", + 2: "AUTHEN_STATUS_DENY", + } + AuthDetail_AuthenStatus_value = map[string]int32{ + "AUTHEN_STATUS_UNSPECIFIED": 0, + "AUTHEN_STATUS_PERMIT": 1, + "AUTHEN_STATUS_DENY": 2, + } +) + +func (x AuthDetail_AuthenStatus) Enum() *AuthDetail_AuthenStatus { + p := new(AuthDetail_AuthenStatus) + *p = x + return p +} + +func (x AuthDetail_AuthenStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AuthDetail_AuthenStatus) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[1].Descriptor() +} + +func (AuthDetail_AuthenStatus) Type() protoreflect.EnumType { + return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[1] +} + +func (x AuthDetail_AuthenStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AuthDetail_AuthenStatus.Descriptor instead. +func (AuthDetail_AuthenStatus) EnumDescriptor() ([]byte, []int) { + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{2, 0} +} + type AuthnDetail_AuthnType int32 const ( @@ -132,11 +181,11 @@ func (x AuthnDetail_AuthnType) String() string { } func (AuthnDetail_AuthnType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[1].Descriptor() + return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[2].Descriptor() } func (AuthnDetail_AuthnType) Type() protoreflect.EnumType { - return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[1] + return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[2] } func (x AuthnDetail_AuthnType) Number() protoreflect.EnumNumber { @@ -145,7 +194,7 @@ func (x AuthnDetail_AuthnType) Number() protoreflect.EnumNumber { // Deprecated: Use AuthnDetail_AuthnType.Descriptor instead. func (AuthnDetail_AuthnType) EnumDescriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{2, 0} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{3, 0} } type AuthnDetail_AuthnStatus int32 @@ -184,11 +233,11 @@ func (x AuthnDetail_AuthnStatus) String() string { } func (AuthnDetail_AuthnStatus) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[2].Descriptor() + return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[3].Descriptor() } func (AuthnDetail_AuthnStatus) Type() protoreflect.EnumType { - return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[2] + return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[3] } func (x AuthnDetail_AuthnStatus) Number() protoreflect.EnumNumber { @@ -197,7 +246,7 @@ func (x AuthnDetail_AuthnStatus) Number() protoreflect.EnumNumber { // Deprecated: Use AuthnDetail_AuthnStatus.Descriptor instead. func (AuthnDetail_AuthnStatus) EnumDescriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{2, 1} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{3, 1} } type AuthzDetail_AuthzStatus int32 @@ -236,11 +285,11 @@ func (x AuthzDetail_AuthzStatus) String() string { } func (AuthzDetail_AuthzStatus) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[3].Descriptor() + return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[4].Descriptor() } func (AuthzDetail_AuthzStatus) Type() protoreflect.EnumType { - return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[3] + return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[4] } func (x AuthzDetail_AuthzStatus) Number() protoreflect.EnumNumber { @@ -249,7 +298,7 @@ func (x AuthzDetail_AuthzStatus) Number() protoreflect.EnumNumber { // Deprecated: Use AuthzDetail_AuthzStatus.Descriptor instead. func (AuthzDetail_AuthzStatus) EnumDescriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{3, 0} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{4, 0} } type CommandService_CmdServiceType int32 @@ -294,11 +343,11 @@ func (x CommandService_CmdServiceType) String() string { } func (CommandService_CmdServiceType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[4].Descriptor() + return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[5].Descriptor() } func (CommandService_CmdServiceType) Type() protoreflect.EnumType { - return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[4] + return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[5] } func (x CommandService_CmdServiceType) Number() protoreflect.EnumNumber { @@ -307,7 +356,7 @@ func (x CommandService_CmdServiceType) Number() protoreflect.EnumNumber { // Deprecated: Use CommandService_CmdServiceType.Descriptor instead. func (CommandService_CmdServiceType) EnumDescriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{4, 0} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{5, 0} } type GrpcService_GrpcServiceType int32 @@ -352,11 +401,11 @@ func (x GrpcService_GrpcServiceType) String() string { } func (GrpcService_GrpcServiceType) Descriptor() protoreflect.EnumDescriptor { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[5].Descriptor() + return file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[6].Descriptor() } func (GrpcService_GrpcServiceType) Type() protoreflect.EnumType { - return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[5] + return &file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes[6] } func (x GrpcService_GrpcServiceType) Number() protoreflect.EnumNumber { @@ -365,7 +414,7 @@ func (x GrpcService_GrpcServiceType) Number() protoreflect.EnumNumber { // Deprecated: Use GrpcService_GrpcServiceType.Descriptor instead. func (GrpcService_GrpcServiceType) EnumDescriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{5, 0} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{6, 0} } type SessionInfo struct { @@ -550,6 +599,77 @@ func (x *UserDetail) GetSshPrincipal() string { return "" } +type AuthDetail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` + PrivilegeLevel uint32 `protobuf:"varint,2,opt,name=privilege_level,json=privilegeLevel,proto3" json:"privilege_level,omitempty"` + Status AuthDetail_AuthenStatus `protobuf:"varint,3,opt,name=status,proto3,enum=gnsi.acctz.v1.AuthDetail_AuthenStatus" json:"status,omitempty"` + DenyCause string `protobuf:"bytes,4,opt,name=deny_cause,json=denyCause,proto3" json:"deny_cause,omitempty"` +} + +func (x *AuthDetail) Reset() { + *x = AuthDetail{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AuthDetail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AuthDetail) ProtoMessage() {} + +func (x *AuthDetail) ProtoReflect() protoreflect.Message { + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[2] + 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 AuthDetail.ProtoReflect.Descriptor instead. +func (*AuthDetail) Descriptor() ([]byte, []int) { + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{2} +} + +func (x *AuthDetail) GetIdentity() string { + if x != nil { + return x.Identity + } + return "" +} + +func (x *AuthDetail) GetPrivilegeLevel() uint32 { + if x != nil { + return x.PrivilegeLevel + } + return 0 +} + +func (x *AuthDetail) GetStatus() AuthDetail_AuthenStatus { + if x != nil { + return x.Status + } + return AuthDetail_AUTHEN_STATUS_UNSPECIFIED +} + +func (x *AuthDetail) GetDenyCause() string { + if x != nil { + return x.DenyCause + } + return "" +} + type AuthnDetail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -563,7 +683,7 @@ type AuthnDetail struct { func (x *AuthnDetail) Reset() { *x = AuthnDetail{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[2] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -576,7 +696,7 @@ func (x *AuthnDetail) String() string { func (*AuthnDetail) ProtoMessage() {} func (x *AuthnDetail) ProtoReflect() protoreflect.Message { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[2] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -589,7 +709,7 @@ func (x *AuthnDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthnDetail.ProtoReflect.Descriptor instead. func (*AuthnDetail) Descriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{2} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{3} } func (x *AuthnDetail) GetType() AuthnDetail_AuthnType { @@ -625,7 +745,7 @@ type AuthzDetail struct { func (x *AuthzDetail) Reset() { *x = AuthzDetail{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[3] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -638,7 +758,7 @@ func (x *AuthzDetail) String() string { func (*AuthzDetail) ProtoMessage() {} func (x *AuthzDetail) ProtoReflect() protoreflect.Message { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[3] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -651,7 +771,7 @@ func (x *AuthzDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthzDetail.ProtoReflect.Descriptor instead. func (*AuthzDetail) Descriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{3} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{4} } func (x *AuthzDetail) GetStatus() AuthzDetail_AuthzStatus { @@ -684,7 +804,7 @@ type CommandService struct { func (x *CommandService) Reset() { *x = CommandService{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[4] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -697,7 +817,7 @@ func (x *CommandService) String() string { func (*CommandService) ProtoMessage() {} func (x *CommandService) ProtoReflect() protoreflect.Message { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[4] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -710,7 +830,7 @@ func (x *CommandService) ProtoReflect() protoreflect.Message { // Deprecated: Use CommandService.ProtoReflect.Descriptor instead. func (*CommandService) Descriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{4} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{5} } func (x *CommandService) GetServiceType() CommandService_CmdServiceType { @@ -775,7 +895,7 @@ type GrpcService struct { func (x *GrpcService) Reset() { *x = GrpcService{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[5] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -788,7 +908,7 @@ func (x *GrpcService) String() string { func (*GrpcService) ProtoMessage() {} func (x *GrpcService) ProtoReflect() protoreflect.Message { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[5] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -801,7 +921,7 @@ func (x *GrpcService) ProtoReflect() protoreflect.Message { // Deprecated: Use GrpcService.ProtoReflect.Descriptor instead. func (*GrpcService) Descriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{5} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{6} } func (x *GrpcService) GetServiceType() GrpcService_GrpcServiceType { @@ -889,14 +1009,16 @@ type RecordResponse struct { // *RecordResponse_CmdService // *RecordResponse_GrpcService ServiceRequest isRecordResponse_ServiceRequest `protobuf_oneof:"service_request"` - TaskIds []string `protobuf:"bytes,7,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"` - ComponentName string `protobuf:"bytes,8,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + // Deprecated: Marked as deprecated in github.com/openconfig/gnsi/acctz/acctz.proto. + Authen *AuthDetail `protobuf:"bytes,7,opt,name=authen,proto3" json:"authen,omitempty"` + ComponentName string `protobuf:"bytes,8,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` + TaskIds []string `protobuf:"bytes,32,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"` } func (x *RecordResponse) Reset() { *x = RecordResponse{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[6] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -909,7 +1031,7 @@ func (x *RecordResponse) String() string { func (*RecordResponse) ProtoMessage() {} func (x *RecordResponse) ProtoReflect() protoreflect.Message { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[6] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -922,7 +1044,7 @@ func (x *RecordResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordResponse.ProtoReflect.Descriptor instead. func (*RecordResponse) Descriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{6} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{7} } func (x *RecordResponse) GetSessionInfo() *SessionInfo { @@ -967,9 +1089,10 @@ func (x *RecordResponse) GetGrpcService() *GrpcService { return nil } -func (x *RecordResponse) GetTaskIds() []string { +// Deprecated: Marked as deprecated in github.com/openconfig/gnsi/acctz/acctz.proto. +func (x *RecordResponse) GetAuthen() *AuthDetail { if x != nil { - return x.TaskIds + return x.Authen } return nil } @@ -981,6 +1104,13 @@ func (x *RecordResponse) GetComponentName() string { return "" } +func (x *RecordResponse) GetTaskIds() []string { + if x != nil { + return x.TaskIds + } + return nil +} + type isRecordResponse_ServiceRequest interface { isRecordResponse_ServiceRequest() } @@ -1008,7 +1138,7 @@ type RecordRequest struct { func (x *RecordRequest) Reset() { *x = RecordRequest{} if protoimpl.UnsafeEnabled { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[7] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1021,7 +1151,7 @@ func (x *RecordRequest) String() string { func (*RecordRequest) ProtoMessage() {} func (x *RecordRequest) ProtoReflect() protoreflect.Message { - mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[7] + mi := &file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1034,7 +1164,7 @@ func (x *RecordRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RecordRequest.ProtoReflect.Descriptor instead. func (*RecordRequest) Descriptor() ([]byte, []int) { - return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{7} + return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP(), []int{8} } func (x *RecordRequest) GetTimestamp() *timestamppb.Timestamp { @@ -1101,161 +1231,182 @@ var file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDesc = []byte{ 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, - 0x73, 0x68, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0xdb, 0x03, 0x0a, 0x0b, - 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x38, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6e, 0x73, 0x69, + 0x73, 0x68, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0x91, 0x02, 0x0a, 0x0a, + 0x41, 0x75, 0x74, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, + 0x65, 0x67, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0e, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x26, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x75, 0x74, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x6e, 0x79, 0x5f, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x65, 0x6e, 0x79, 0x43, 0x61, 0x75, 0x73, 0x65, 0x22, 0x5f, + 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, + 0x0a, 0x19, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, + 0x14, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, + 0x45, 0x52, 0x4d, 0x49, 0x54, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x45, + 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x02, 0x22, + 0xdb, 0x03, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, + 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, + 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, + 0x74, 0x68, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, - 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x09, - 0x41, 0x75, 0x74, 0x68, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x55, 0x54, - 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x55, - 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, - 0x44, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x53, 0x53, 0x48, 0x4b, 0x45, 0x59, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, - 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x53, 0x48, 0x43, 0x45, 0x52, 0x54, - 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x54, 0x4c, 0x53, 0x43, 0x45, 0x52, 0x54, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x55, - 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x50, 0x10, 0x06, 0x12, 0x13, - 0x0a, 0x0f, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, - 0x50, 0x10, 0x07, 0x22, 0x74, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x18, 0x0a, 0x14, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, - 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x55, - 0x54, 0x48, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, - 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, - 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x41, 0x75, - 0x74, 0x68, 0x7a, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6e, 0x73, 0x69, - 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x22, 0x73, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x54, 0x48, 0x5a, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, - 0x0a, 0x13, 0x41, 0x55, 0x54, 0x48, 0x5a, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, - 0x45, 0x52, 0x4d, 0x49, 0x54, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x55, 0x54, 0x48, 0x5a, - 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x02, 0x12, 0x16, - 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x5a, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x22, 0xdf, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2c, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, - 0x6d, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6d, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x12, 0x27, 0x0a, 0x0f, - 0x63, 0x6d, 0x64, 0x5f, 0x69, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x63, 0x6d, 0x64, 0x49, 0x73, 0x74, 0x72, 0x75, 0x6e, - 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6d, 0x64, 0x5f, 0x61, 0x72, 0x67, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6d, 0x64, 0x41, 0x72, 0x67, 0x73, - 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6d, 0x64, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x5f, 0x69, 0x73, 0x74, - 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, - 0x63, 0x6d, 0x64, 0x41, 0x72, 0x67, 0x73, 0x49, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x05, 0x61, - 0x75, 0x74, 0x68, 0x7a, 0x22, 0xc1, 0x01, 0x0a, 0x0e, 0x43, 0x6d, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4d, 0x44, 0x5f, 0x53, - 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4d, 0x44, - 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x48, - 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x52, - 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x10, 0x02, 0x12, - 0x1a, 0x0a, 0x16, 0x43, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x55, 0x49, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x43, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, + 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x22, + 0xc5, 0x01, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, + 0x16, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x55, 0x54, + 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x17, + 0x0a, 0x13, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x53, + 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x55, 0x54, 0x48, 0x4e, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x53, 0x48, 0x4b, 0x45, 0x59, 0x10, 0x03, 0x12, 0x16, + 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x53, 0x48, + 0x43, 0x45, 0x52, 0x54, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x4c, 0x53, 0x43, 0x45, 0x52, 0x54, 0x10, 0x05, 0x12, 0x12, + 0x0a, 0x0e, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x50, + 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x43, 0x48, 0x41, 0x50, 0x10, 0x07, 0x22, 0x74, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x15, + 0x0a, 0x11, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x4e, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x22, 0xda, 0x01, + 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x3e, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, + 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, + 0x74, 0x68, 0x7a, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x73, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x55, 0x54, 0x48, 0x5a, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x55, 0x54, 0x48, 0x5a, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x54, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, + 0x55, 0x54, 0x48, 0x5a, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x59, + 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x55, 0x54, 0x48, 0x5a, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x55, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x22, 0xdf, 0x03, 0x0a, 0x0e, 0x43, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, + 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x43, 0x6d, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x6d, 0x64, + 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6d, 0x64, 0x5f, 0x69, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x63, 0x6d, 0x64, 0x49, 0x73, + 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6d, 0x64, + 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6d, 0x64, + 0x41, 0x72, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6d, 0x64, 0x5f, 0x61, 0x72, 0x67, 0x73, + 0x5f, 0x69, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x63, 0x6d, 0x64, 0x41, 0x72, 0x67, 0x73, 0x49, 0x73, 0x74, 0x72, 0x75, + 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, + 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x22, 0xc1, 0x01, 0x0a, 0x0e, 0x43, 0x6d, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x52, 0x45, 0x53, 0x54, 0x43, 0x4f, 0x4e, 0x46, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4d, - 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, - 0x45, 0x54, 0x43, 0x4f, 0x4e, 0x46, 0x10, 0x05, 0x22, 0xb5, 0x04, 0x0a, 0x0b, 0x47, 0x72, 0x70, - 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, - 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x63, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x70, 0x63, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, - 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x61, 0x79, 0x6c, - 0x6f, 0x61, 0x64, 0x5f, 0x69, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x73, - 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x75, 0x74, - 0x68, 0x7a, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, - 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x12, 0x33, 0x0a, 0x09, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, 0x6c, - 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, - 0x6c, 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45, - 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x50, 0x43, - 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4e, - 0x4d, 0x49, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45, 0x52, - 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4e, 0x4f, 0x49, 0x10, 0x02, - 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4e, 0x53, 0x49, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, + 0x16, 0x43, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x48, 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4d, 0x44, + 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, + 0x49, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, + 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x55, 0x49, 0x10, 0x03, 0x12, + 0x1d, 0x0a, 0x19, 0x43, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x43, 0x4f, 0x4e, 0x46, 0x10, 0x04, 0x12, 0x1c, + 0x0a, 0x18, 0x43, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4e, 0x45, 0x54, 0x43, 0x4f, 0x4e, 0x46, 0x10, 0x05, 0x22, 0xb5, 0x04, 0x0a, + 0x0b, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0c, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, + 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, + 0x70, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, + 0x70, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x08, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x13, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x69, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x70, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x49, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x30, 0x0a, + 0x05, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, + 0x68, 0x7a, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x12, + 0x33, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x56, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, + 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x73, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x52, 0x50, + 0x43, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x47, 0x52, 0x49, 0x42, 0x49, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x50, - 0x43, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, - 0x34, 0x52, 0x54, 0x10, 0x05, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, - 0x22, 0x92, 0x03, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6e, 0x73, 0x69, - 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2f, 0x0a, 0x13, - 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x49, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x40, 0x0a, - 0x0b, 0x63, 0x6d, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6d, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x3f, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, - 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x48, 0x00, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, - 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x45, 0x5f, 0x47, 0x4e, 0x4d, 0x49, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x50, 0x43, + 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4e, + 0x4f, 0x49, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45, 0x52, + 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4e, 0x53, 0x49, 0x10, 0x03, + 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x49, 0x42, 0x49, 0x10, 0x04, 0x12, 0x1a, 0x0a, + 0x16, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x50, 0x34, 0x52, 0x54, 0x10, 0x05, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xc9, 0x03, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x32, 0x5b, 0x0a, 0x05, 0x41, 0x63, 0x63, 0x74, 0x7a, 0x12, 0x52, 0x0a, 0x0f, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x1c, 0x2e, 0x67, - 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6e, 0x73, + 0x12, 0x2f, 0x0a, 0x13, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x73, 0x74, 0x72, + 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, + 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x73, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x6d, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, + 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6d, 0x64, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6e, 0x73, 0x69, + 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, + 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, + 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x20, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x73, 0x42, 0x11, 0x0a, + 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x49, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x5b, 0x0a, 0x05, 0x41, + 0x63, 0x63, 0x74, 0x7a, 0x12, 0x52, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x75, + 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, + 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, + 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x32, 0x5f, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x74, + 0x7a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x50, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x32, 0x5f, 0x0a, - 0x0b, 0x41, 0x63, 0x63, 0x74, 0x7a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x50, 0x0a, 0x0f, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, - 0x1c, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x67, 0x6e, 0x73, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x22, - 0x5a, 0x20, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, - 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x73, 0x69, 0x2f, 0x61, 0x63, 0x63, - 0x74, 0x7a, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6e, 0x73, 0x69, 0x2e, + 0x61, 0x63, 0x63, 0x74, 0x7a, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x22, 0x5a, 0x20, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x73, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x74, 0x7a, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1270,53 +1421,57 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescGZIP() []byte { return file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDescData } -var file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_github_com_openconfig_gnsi_acctz_acctz_proto_enumTypes = make([]protoimpl.EnumInfo, 7) +var file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_github_com_openconfig_gnsi_acctz_acctz_proto_goTypes = []interface{}{ (SessionInfo_SessionStatus)(0), // 0: gnsi.acctz.v1.SessionInfo.SessionStatus - (AuthnDetail_AuthnType)(0), // 1: gnsi.acctz.v1.AuthnDetail.AuthnType - (AuthnDetail_AuthnStatus)(0), // 2: gnsi.acctz.v1.AuthnDetail.AuthnStatus - (AuthzDetail_AuthzStatus)(0), // 3: gnsi.acctz.v1.AuthzDetail.AuthzStatus - (CommandService_CmdServiceType)(0), // 4: gnsi.acctz.v1.CommandService.CmdServiceType - (GrpcService_GrpcServiceType)(0), // 5: gnsi.acctz.v1.GrpcService.GrpcServiceType - (*SessionInfo)(nil), // 6: gnsi.acctz.v1.SessionInfo - (*UserDetail)(nil), // 7: gnsi.acctz.v1.UserDetail - (*AuthnDetail)(nil), // 8: gnsi.acctz.v1.AuthnDetail - (*AuthzDetail)(nil), // 9: gnsi.acctz.v1.AuthzDetail - (*CommandService)(nil), // 10: gnsi.acctz.v1.CommandService - (*GrpcService)(nil), // 11: gnsi.acctz.v1.GrpcService - (*RecordResponse)(nil), // 12: gnsi.acctz.v1.RecordResponse - (*RecordRequest)(nil), // 13: gnsi.acctz.v1.RecordRequest - (*anypb.Any)(nil), // 14: google.protobuf.Any - (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (AuthDetail_AuthenStatus)(0), // 1: gnsi.acctz.v1.AuthDetail.AuthenStatus + (AuthnDetail_AuthnType)(0), // 2: gnsi.acctz.v1.AuthnDetail.AuthnType + (AuthnDetail_AuthnStatus)(0), // 3: gnsi.acctz.v1.AuthnDetail.AuthnStatus + (AuthzDetail_AuthzStatus)(0), // 4: gnsi.acctz.v1.AuthzDetail.AuthzStatus + (CommandService_CmdServiceType)(0), // 5: gnsi.acctz.v1.CommandService.CmdServiceType + (GrpcService_GrpcServiceType)(0), // 6: gnsi.acctz.v1.GrpcService.GrpcServiceType + (*SessionInfo)(nil), // 7: gnsi.acctz.v1.SessionInfo + (*UserDetail)(nil), // 8: gnsi.acctz.v1.UserDetail + (*AuthDetail)(nil), // 9: gnsi.acctz.v1.AuthDetail + (*AuthnDetail)(nil), // 10: gnsi.acctz.v1.AuthnDetail + (*AuthzDetail)(nil), // 11: gnsi.acctz.v1.AuthzDetail + (*CommandService)(nil), // 12: gnsi.acctz.v1.CommandService + (*GrpcService)(nil), // 13: gnsi.acctz.v1.GrpcService + (*RecordResponse)(nil), // 14: gnsi.acctz.v1.RecordResponse + (*RecordRequest)(nil), // 15: gnsi.acctz.v1.RecordRequest + (*anypb.Any)(nil), // 16: google.protobuf.Any + (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp } var file_github_com_openconfig_gnsi_acctz_acctz_proto_depIdxs = []int32{ 0, // 0: gnsi.acctz.v1.SessionInfo.status:type_name -> gnsi.acctz.v1.SessionInfo.SessionStatus - 7, // 1: gnsi.acctz.v1.SessionInfo.user:type_name -> gnsi.acctz.v1.UserDetail - 8, // 2: gnsi.acctz.v1.SessionInfo.authn:type_name -> gnsi.acctz.v1.AuthnDetail - 1, // 3: gnsi.acctz.v1.AuthnDetail.type:type_name -> gnsi.acctz.v1.AuthnDetail.AuthnType - 2, // 4: gnsi.acctz.v1.AuthnDetail.status:type_name -> gnsi.acctz.v1.AuthnDetail.AuthnStatus - 3, // 5: gnsi.acctz.v1.AuthzDetail.status:type_name -> gnsi.acctz.v1.AuthzDetail.AuthzStatus - 4, // 6: gnsi.acctz.v1.CommandService.service_type:type_name -> gnsi.acctz.v1.CommandService.CmdServiceType - 9, // 7: gnsi.acctz.v1.CommandService.authz:type_name -> gnsi.acctz.v1.AuthzDetail - 5, // 8: gnsi.acctz.v1.GrpcService.service_type:type_name -> gnsi.acctz.v1.GrpcService.GrpcServiceType - 14, // 9: gnsi.acctz.v1.GrpcService.payloads:type_name -> google.protobuf.Any - 9, // 10: gnsi.acctz.v1.GrpcService.authz:type_name -> gnsi.acctz.v1.AuthzDetail - 14, // 11: gnsi.acctz.v1.GrpcService.proto_val:type_name -> google.protobuf.Any - 6, // 12: gnsi.acctz.v1.RecordResponse.session_info:type_name -> gnsi.acctz.v1.SessionInfo - 15, // 13: gnsi.acctz.v1.RecordResponse.timestamp:type_name -> google.protobuf.Timestamp - 10, // 14: gnsi.acctz.v1.RecordResponse.cmd_service:type_name -> gnsi.acctz.v1.CommandService - 11, // 15: gnsi.acctz.v1.RecordResponse.grpc_service:type_name -> gnsi.acctz.v1.GrpcService - 15, // 16: gnsi.acctz.v1.RecordRequest.timestamp:type_name -> google.protobuf.Timestamp - 13, // 17: gnsi.acctz.v1.Acctz.RecordSubscribe:input_type -> gnsi.acctz.v1.RecordRequest - 13, // 18: gnsi.acctz.v1.AcctzStream.RecordSubscribe:input_type -> gnsi.acctz.v1.RecordRequest - 12, // 19: gnsi.acctz.v1.Acctz.RecordSubscribe:output_type -> gnsi.acctz.v1.RecordResponse - 12, // 20: gnsi.acctz.v1.AcctzStream.RecordSubscribe:output_type -> gnsi.acctz.v1.RecordResponse - 19, // [19:21] is the sub-list for method output_type - 17, // [17:19] is the sub-list for method input_type - 17, // [17:17] is the sub-list for extension type_name - 17, // [17:17] is the sub-list for extension extendee - 0, // [0:17] is the sub-list for field type_name + 8, // 1: gnsi.acctz.v1.SessionInfo.user:type_name -> gnsi.acctz.v1.UserDetail + 10, // 2: gnsi.acctz.v1.SessionInfo.authn:type_name -> gnsi.acctz.v1.AuthnDetail + 1, // 3: gnsi.acctz.v1.AuthDetail.status:type_name -> gnsi.acctz.v1.AuthDetail.AuthenStatus + 2, // 4: gnsi.acctz.v1.AuthnDetail.type:type_name -> gnsi.acctz.v1.AuthnDetail.AuthnType + 3, // 5: gnsi.acctz.v1.AuthnDetail.status:type_name -> gnsi.acctz.v1.AuthnDetail.AuthnStatus + 4, // 6: gnsi.acctz.v1.AuthzDetail.status:type_name -> gnsi.acctz.v1.AuthzDetail.AuthzStatus + 5, // 7: gnsi.acctz.v1.CommandService.service_type:type_name -> gnsi.acctz.v1.CommandService.CmdServiceType + 11, // 8: gnsi.acctz.v1.CommandService.authz:type_name -> gnsi.acctz.v1.AuthzDetail + 6, // 9: gnsi.acctz.v1.GrpcService.service_type:type_name -> gnsi.acctz.v1.GrpcService.GrpcServiceType + 16, // 10: gnsi.acctz.v1.GrpcService.payloads:type_name -> google.protobuf.Any + 11, // 11: gnsi.acctz.v1.GrpcService.authz:type_name -> gnsi.acctz.v1.AuthzDetail + 16, // 12: gnsi.acctz.v1.GrpcService.proto_val:type_name -> google.protobuf.Any + 7, // 13: gnsi.acctz.v1.RecordResponse.session_info:type_name -> gnsi.acctz.v1.SessionInfo + 17, // 14: gnsi.acctz.v1.RecordResponse.timestamp:type_name -> google.protobuf.Timestamp + 12, // 15: gnsi.acctz.v1.RecordResponse.cmd_service:type_name -> gnsi.acctz.v1.CommandService + 13, // 16: gnsi.acctz.v1.RecordResponse.grpc_service:type_name -> gnsi.acctz.v1.GrpcService + 9, // 17: gnsi.acctz.v1.RecordResponse.authen:type_name -> gnsi.acctz.v1.AuthDetail + 17, // 18: gnsi.acctz.v1.RecordRequest.timestamp:type_name -> google.protobuf.Timestamp + 15, // 19: gnsi.acctz.v1.Acctz.RecordSubscribe:input_type -> gnsi.acctz.v1.RecordRequest + 15, // 20: gnsi.acctz.v1.AcctzStream.RecordSubscribe:input_type -> gnsi.acctz.v1.RecordRequest + 14, // 21: gnsi.acctz.v1.Acctz.RecordSubscribe:output_type -> gnsi.acctz.v1.RecordResponse + 14, // 22: gnsi.acctz.v1.AcctzStream.RecordSubscribe:output_type -> gnsi.acctz.v1.RecordResponse + 21, // [21:23] is the sub-list for method output_type + 19, // [19:21] is the sub-list for method input_type + 19, // [19:19] is the sub-list for extension type_name + 19, // [19:19] is the sub-list for extension extendee + 0, // [0:19] is the sub-list for field type_name } func init() { file_github_com_openconfig_gnsi_acctz_acctz_proto_init() } @@ -1350,7 +1505,7 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { } } file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthnDetail); i { + switch v := v.(*AuthDetail); i { case 0: return &v.state case 1: @@ -1362,7 +1517,7 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { } } file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthzDetail); i { + switch v := v.(*AuthnDetail); i { case 0: return &v.state case 1: @@ -1374,7 +1529,7 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { } } file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommandService); i { + switch v := v.(*AuthzDetail); i { case 0: return &v.state case 1: @@ -1386,7 +1541,7 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { } } file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GrpcService); i { + switch v := v.(*CommandService); i { case 0: return &v.state case 1: @@ -1398,7 +1553,7 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { } } file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecordResponse); i { + switch v := v.(*GrpcService); i { case 0: return &v.state case 1: @@ -1410,6 +1565,18 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { } } file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecordResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RecordRequest); i { case 0: return &v.state @@ -1422,11 +1589,11 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { } } } - file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[5].OneofWrappers = []interface{}{ + file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[6].OneofWrappers = []interface{}{ (*GrpcService_ProtoVal)(nil), (*GrpcService_StringVal)(nil), } - file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[6].OneofWrappers = []interface{}{ + file_github_com_openconfig_gnsi_acctz_acctz_proto_msgTypes[7].OneofWrappers = []interface{}{ (*RecordResponse_CmdService)(nil), (*RecordResponse_GrpcService)(nil), } @@ -1435,8 +1602,8 @@ func file_github_com_openconfig_gnsi_acctz_acctz_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_github_com_openconfig_gnsi_acctz_acctz_proto_rawDesc, - NumEnums: 6, - NumMessages: 8, + NumEnums: 7, + NumMessages: 9, NumExtensions: 0, NumServices: 2, }, diff --git a/acctz/acctz.proto b/acctz/acctz.proto index 138bbe8..bea215a 100644 --- a/acctz/acctz.proto +++ b/acctz/acctz.proto @@ -176,6 +176,29 @@ message UserDetail { string ssh_principal = 3; } +// Details of authentication - for gRPC or shell/vendor-CLI. +// Deprecated do not use for new messages. +message AuthDetail { + // Identity string is used to identify the user that executed the + // command. For instance, it could be the spiffe-id in the case of + // gRPC or unix-style user-name in the case of shell/vendor-CLI. + string identity = 1; + + // Privilege level configured on the system. + uint32 privilege_level = 2; + + // authentication status + enum AuthenStatus { + AUTHEN_STATUS_UNSPECIFIED = 0; + AUTHEN_STATUS_PERMIT = 1; + AUTHEN_STATUS_DENY = 2; + } + AuthenStatus status = 3; + + // In case of STATUS_DENY, cause for the deny + string deny_cause = 4; +} + // Details of authentication // While some authentication mechanisms authenticate the client only // once, at connection time, such as mTLS and shell, others authenticate @@ -349,9 +372,9 @@ message RecordResponse { GrpcService grpc_service = 5; } - // Optional repeated task_id that represent tasks that were used to - // accomplish the request on the system. - repeated string task_ids = 7; + // Authentication related details + // Will be removed in future release. + AuthDetail authen = 7 [deprecated=true]; // Name of the component in a vendor system configuration where the accounting // record originated from. This helps to indentify the source of the accouting @@ -362,6 +385,10 @@ message RecordResponse { // Eg: component_name = "linecard0" // component_name = "chassis0" string component_name = 8; + + // Optional repeated task_id that represent tasks that were used to + // accomplish the request on the system. + repeated string task_ids = 32; } // RecordRequest, requests a starting point for records to be sent to the