diff --git a/clients/v1/clients.pb.go b/clients/v1/clients.pb.go index 2ed7dee..b37e666 100644 --- a/clients/v1/clients.pb.go +++ b/clients/v1/clients.pb.go @@ -904,92 +904,6 @@ func (x *CreateUserResponse) GetUser() *User { return nil } -type DeleteUserRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The user's external ID. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *DeleteUserRequest) Reset() { - *x = DeleteUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserRequest) ProtoMessage() {} - -func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[15] - 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 DeleteUserRequest.ProtoReflect.Descriptor instead. -func (*DeleteUserRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{15} -} - -func (x *DeleteUserRequest) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -type DeleteUserResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteUserResponse) Reset() { - *x = DeleteUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteUserResponse) ProtoMessage() {} - -func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[16] - 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 DeleteUserResponse.ProtoReflect.Descriptor instead. -func (*DeleteUserResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{16} -} - type GetSessionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1002,7 +916,7 @@ type GetSessionRequest struct { func (x *GetSessionRequest) Reset() { *x = GetSessionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[17] + mi := &file_clients_v1_clients_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1015,7 +929,7 @@ func (x *GetSessionRequest) String() string { func (*GetSessionRequest) ProtoMessage() {} func (x *GetSessionRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[17] + mi := &file_clients_v1_clients_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1028,7 +942,7 @@ func (x *GetSessionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead. func (*GetSessionRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{17} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{15} } func (x *GetSessionRequest) GetId() string { @@ -1052,7 +966,7 @@ type Session struct { func (x *Session) Reset() { *x = Session{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[18] + mi := &file_clients_v1_clients_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1065,7 +979,7 @@ func (x *Session) String() string { func (*Session) ProtoMessage() {} func (x *Session) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[18] + mi := &file_clients_v1_clients_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1078,7 +992,7 @@ func (x *Session) ProtoReflect() protoreflect.Message { // Deprecated: Use Session.ProtoReflect.Descriptor instead. func (*Session) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{18} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{16} } func (x *Session) GetId() string { @@ -1106,7 +1020,7 @@ type GetSessionResponse struct { func (x *GetSessionResponse) Reset() { *x = GetSessionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[19] + mi := &file_clients_v1_clients_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1119,7 +1033,7 @@ func (x *GetSessionResponse) String() string { func (*GetSessionResponse) ProtoMessage() {} func (x *GetSessionResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[19] + mi := &file_clients_v1_clients_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1132,7 +1046,7 @@ func (x *GetSessionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead. func (*GetSessionResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{19} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{17} } func (x *GetSessionResponse) GetSession() *Session { @@ -1156,7 +1070,7 @@ type SignOutSessionRequest struct { func (x *SignOutSessionRequest) Reset() { *x = SignOutSessionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[20] + mi := &file_clients_v1_clients_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1169,7 +1083,7 @@ func (x *SignOutSessionRequest) String() string { func (*SignOutSessionRequest) ProtoMessage() {} func (x *SignOutSessionRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[20] + mi := &file_clients_v1_clients_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1182,7 +1096,7 @@ func (x *SignOutSessionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SignOutSessionRequest.ProtoReflect.Descriptor instead. func (*SignOutSessionRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{20} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{18} } func (x *SignOutSessionRequest) GetId() string { @@ -1208,7 +1122,7 @@ type SignOutSessionResponse struct { func (x *SignOutSessionResponse) Reset() { *x = SignOutSessionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[21] + mi := &file_clients_v1_clients_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1221,7 +1135,7 @@ func (x *SignOutSessionResponse) String() string { func (*SignOutSessionResponse) ProtoMessage() {} func (x *SignOutSessionResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[21] + mi := &file_clients_v1_clients_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1234,7 +1148,7 @@ func (x *SignOutSessionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SignOutSessionResponse.ProtoReflect.Descriptor instead. func (*SignOutSessionResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{21} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{19} } // ErrorRecordMismatch is returned in the error details when the record does not match the expected record, @@ -1248,7 +1162,7 @@ type ErrorRecordMismatch struct { func (x *ErrorRecordMismatch) Reset() { *x = ErrorRecordMismatch{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[22] + mi := &file_clients_v1_clients_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1261,7 +1175,7 @@ func (x *ErrorRecordMismatch) String() string { func (*ErrorRecordMismatch) ProtoMessage() {} func (x *ErrorRecordMismatch) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[22] + mi := &file_clients_v1_clients_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1274,7 +1188,7 @@ func (x *ErrorRecordMismatch) ProtoReflect() protoreflect.Message { // Deprecated: Use ErrorRecordMismatch.ProtoReflect.Descriptor instead. func (*ErrorRecordMismatch) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{22} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{20} } type IntrospectTokenRequest struct { @@ -1289,7 +1203,7 @@ type IntrospectTokenRequest struct { func (x *IntrospectTokenRequest) Reset() { *x = IntrospectTokenRequest{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[23] + mi := &file_clients_v1_clients_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1302,7 +1216,7 @@ func (x *IntrospectTokenRequest) String() string { func (*IntrospectTokenRequest) ProtoMessage() {} func (x *IntrospectTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[23] + mi := &file_clients_v1_clients_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1315,7 +1229,7 @@ func (x *IntrospectTokenRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use IntrospectTokenRequest.ProtoReflect.Descriptor instead. func (*IntrospectTokenRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{23} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{21} } func (x *IntrospectTokenRequest) GetToken() string { @@ -1347,7 +1261,7 @@ type IntrospectTokenResponse struct { func (x *IntrospectTokenResponse) Reset() { *x = IntrospectTokenResponse{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[24] + mi := &file_clients_v1_clients_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1360,7 +1274,7 @@ func (x *IntrospectTokenResponse) String() string { func (*IntrospectTokenResponse) ProtoMessage() {} func (x *IntrospectTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[24] + mi := &file_clients_v1_clients_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1373,7 +1287,7 @@ func (x *IntrospectTokenResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IntrospectTokenResponse.ProtoReflect.Descriptor instead. func (*IntrospectTokenResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{24} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{22} } func (x *IntrospectTokenResponse) GetActive() bool { @@ -1428,7 +1342,7 @@ type RegisterRoleResourcesRequestMetadata struct { func (x *RegisterRoleResourcesRequestMetadata) Reset() { *x = RegisterRoleResourcesRequestMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[25] + mi := &file_clients_v1_clients_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1441,7 +1355,7 @@ func (x *RegisterRoleResourcesRequestMetadata) String() string { func (*RegisterRoleResourcesRequestMetadata) ProtoMessage() {} func (x *RegisterRoleResourcesRequestMetadata) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[25] + mi := &file_clients_v1_clients_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1454,7 +1368,7 @@ func (x *RegisterRoleResourcesRequestMetadata) ProtoReflect() protoreflect.Messa // Deprecated: Use RegisterRoleResourcesRequestMetadata.ProtoReflect.Descriptor instead. func (*RegisterRoleResourcesRequestMetadata) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{25} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{23} } func (x *RegisterRoleResourcesRequestMetadata) GetRevision() string { @@ -1486,7 +1400,7 @@ type RegisterRoleResourcesRequest struct { func (x *RegisterRoleResourcesRequest) Reset() { *x = RegisterRoleResourcesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[26] + mi := &file_clients_v1_clients_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1499,7 +1413,7 @@ func (x *RegisterRoleResourcesRequest) String() string { func (*RegisterRoleResourcesRequest) ProtoMessage() {} func (x *RegisterRoleResourcesRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[26] + mi := &file_clients_v1_clients_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1512,7 +1426,7 @@ func (x *RegisterRoleResourcesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterRoleResourcesRequest.ProtoReflect.Descriptor instead. func (*RegisterRoleResourcesRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{26} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{24} } func (m *RegisterRoleResourcesRequest) GetPayload() isRegisterRoleResourcesRequest_Payload { @@ -1568,7 +1482,7 @@ type RegisterRoleResourcesResponse struct { func (x *RegisterRoleResourcesResponse) Reset() { *x = RegisterRoleResourcesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[27] + mi := &file_clients_v1_clients_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1581,7 +1495,7 @@ func (x *RegisterRoleResourcesResponse) String() string { func (*RegisterRoleResourcesResponse) ProtoMessage() {} func (x *RegisterRoleResourcesResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[27] + mi := &file_clients_v1_clients_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1594,7 +1508,7 @@ func (x *RegisterRoleResourcesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterRoleResourcesResponse.ProtoReflect.Descriptor instead. func (*RegisterRoleResourcesResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{27} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{25} } func (x *RegisterRoleResourcesResponse) GetResourceCount() uint64 { @@ -1618,7 +1532,7 @@ type RoleResource struct { func (x *RoleResource) Reset() { *x = RoleResource{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[28] + mi := &file_clients_v1_clients_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1631,7 +1545,7 @@ func (x *RoleResource) String() string { func (*RoleResource) ProtoMessage() {} func (x *RoleResource) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[28] + mi := &file_clients_v1_clients_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1644,7 +1558,7 @@ func (x *RoleResource) ProtoReflect() protoreflect.Message { // Deprecated: Use RoleResource.ProtoReflect.Descriptor instead. func (*RoleResource) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{28} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{26} } func (x *RoleResource) GetResourceId() string { @@ -1685,7 +1599,7 @@ type ServiceAccessToken struct { func (x *ServiceAccessToken) Reset() { *x = ServiceAccessToken{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[29] + mi := &file_clients_v1_clients_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1698,7 +1612,7 @@ func (x *ServiceAccessToken) String() string { func (*ServiceAccessToken) ProtoMessage() {} func (x *ServiceAccessToken) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[29] + mi := &file_clients_v1_clients_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1711,7 +1625,7 @@ func (x *ServiceAccessToken) ProtoReflect() protoreflect.Message { // Deprecated: Use ServiceAccessToken.ProtoReflect.Descriptor instead. func (*ServiceAccessToken) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{29} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{27} } func (x *ServiceAccessToken) GetId() string { @@ -1780,7 +1694,7 @@ type CreateServiceAccessTokenRequest struct { func (x *CreateServiceAccessTokenRequest) Reset() { *x = CreateServiceAccessTokenRequest{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[30] + mi := &file_clients_v1_clients_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1793,7 +1707,7 @@ func (x *CreateServiceAccessTokenRequest) String() string { func (*CreateServiceAccessTokenRequest) ProtoMessage() {} func (x *CreateServiceAccessTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[30] + mi := &file_clients_v1_clients_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1806,7 +1720,7 @@ func (x *CreateServiceAccessTokenRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateServiceAccessTokenRequest.ProtoReflect.Descriptor instead. func (*CreateServiceAccessTokenRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{30} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{28} } func (x *CreateServiceAccessTokenRequest) GetToken() *ServiceAccessToken { @@ -1829,7 +1743,7 @@ type CreateServiceAccessTokenResponse struct { func (x *CreateServiceAccessTokenResponse) Reset() { *x = CreateServiceAccessTokenResponse{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[31] + mi := &file_clients_v1_clients_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1842,7 +1756,7 @@ func (x *CreateServiceAccessTokenResponse) String() string { func (*CreateServiceAccessTokenResponse) ProtoMessage() {} func (x *CreateServiceAccessTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[31] + mi := &file_clients_v1_clients_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1855,7 +1769,7 @@ func (x *CreateServiceAccessTokenResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateServiceAccessTokenResponse.ProtoReflect.Descriptor instead. func (*CreateServiceAccessTokenResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{31} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{29} } func (x *CreateServiceAccessTokenResponse) GetToken() *ServiceAccessToken { @@ -1897,7 +1811,7 @@ type ListServiceAccessTokensRequest struct { func (x *ListServiceAccessTokensRequest) Reset() { *x = ListServiceAccessTokensRequest{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[32] + mi := &file_clients_v1_clients_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1910,7 +1824,7 @@ func (x *ListServiceAccessTokensRequest) String() string { func (*ListServiceAccessTokensRequest) ProtoMessage() {} func (x *ListServiceAccessTokensRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[32] + mi := &file_clients_v1_clients_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1923,7 +1837,7 @@ func (x *ListServiceAccessTokensRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListServiceAccessTokensRequest.ProtoReflect.Descriptor instead. func (*ListServiceAccessTokensRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{32} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{30} } func (x *ListServiceAccessTokensRequest) GetPageSize() int32 { @@ -1963,7 +1877,7 @@ type ListServiceAccessTokensFilter struct { func (x *ListServiceAccessTokensFilter) Reset() { *x = ListServiceAccessTokensFilter{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[33] + mi := &file_clients_v1_clients_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1976,7 +1890,7 @@ func (x *ListServiceAccessTokensFilter) String() string { func (*ListServiceAccessTokensFilter) ProtoMessage() {} func (x *ListServiceAccessTokensFilter) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[33] + mi := &file_clients_v1_clients_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1989,7 +1903,7 @@ func (x *ListServiceAccessTokensFilter) ProtoReflect() protoreflect.Message { // Deprecated: Use ListServiceAccessTokensFilter.ProtoReflect.Descriptor instead. func (*ListServiceAccessTokensFilter) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{33} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{31} } func (m *ListServiceAccessTokensFilter) GetFilter() isListServiceAccessTokensFilter_Filter { @@ -2056,7 +1970,7 @@ type ListServiceAccessTokensResponse struct { func (x *ListServiceAccessTokensResponse) Reset() { *x = ListServiceAccessTokensResponse{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[34] + mi := &file_clients_v1_clients_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2069,7 +1983,7 @@ func (x *ListServiceAccessTokensResponse) String() string { func (*ListServiceAccessTokensResponse) ProtoMessage() {} func (x *ListServiceAccessTokensResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[34] + mi := &file_clients_v1_clients_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2082,7 +1996,7 @@ func (x *ListServiceAccessTokensResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListServiceAccessTokensResponse.ProtoReflect.Descriptor instead. func (*ListServiceAccessTokensResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{34} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{32} } func (x *ListServiceAccessTokensResponse) GetTokens() []*ServiceAccessToken { @@ -2104,7 +2018,7 @@ type RevokeServiceAccessTokenRequest struct { func (x *RevokeServiceAccessTokenRequest) Reset() { *x = RevokeServiceAccessTokenRequest{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[35] + mi := &file_clients_v1_clients_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2117,7 +2031,7 @@ func (x *RevokeServiceAccessTokenRequest) String() string { func (*RevokeServiceAccessTokenRequest) ProtoMessage() {} func (x *RevokeServiceAccessTokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[35] + mi := &file_clients_v1_clients_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2130,7 +2044,7 @@ func (x *RevokeServiceAccessTokenRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeServiceAccessTokenRequest.ProtoReflect.Descriptor instead. func (*RevokeServiceAccessTokenRequest) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{35} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{33} } func (x *RevokeServiceAccessTokenRequest) GetId() string { @@ -2149,7 +2063,7 @@ type RevokeServiceAccessTokenResponse struct { func (x *RevokeServiceAccessTokenResponse) Reset() { *x = RevokeServiceAccessTokenResponse{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[36] + mi := &file_clients_v1_clients_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2162,7 +2076,7 @@ func (x *RevokeServiceAccessTokenResponse) String() string { func (*RevokeServiceAccessTokenResponse) ProtoMessage() {} func (x *RevokeServiceAccessTokenResponse) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[36] + mi := &file_clients_v1_clients_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2175,7 +2089,7 @@ func (x *RevokeServiceAccessTokenResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RevokeServiceAccessTokenResponse.ProtoReflect.Descriptor instead. func (*RevokeServiceAccessTokenResponse) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{36} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{34} } type RegisterRoleResourcesRequest_Resources struct { @@ -2189,7 +2103,7 @@ type RegisterRoleResourcesRequest_Resources struct { func (x *RegisterRoleResourcesRequest_Resources) Reset() { *x = RegisterRoleResourcesRequest_Resources{} if protoimpl.UnsafeEnabled { - mi := &file_clients_v1_clients_proto_msgTypes[37] + mi := &file_clients_v1_clients_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2202,7 +2116,7 @@ func (x *RegisterRoleResourcesRequest_Resources) String() string { func (*RegisterRoleResourcesRequest_Resources) ProtoMessage() {} func (x *RegisterRoleResourcesRequest_Resources) ProtoReflect() protoreflect.Message { - mi := &file_clients_v1_clients_proto_msgTypes[37] + mi := &file_clients_v1_clients_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2215,7 +2129,7 @@ func (x *RegisterRoleResourcesRequest_Resources) ProtoReflect() protoreflect.Mes // Deprecated: Use RegisterRoleResourcesRequest_Resources.ProtoReflect.Descriptor instead. func (*RegisterRoleResourcesRequest_Resources) Descriptor() ([]byte, []int) { - return file_clients_v1_clients_proto_rawDescGZIP(), []int{26, 0} + return file_clients_v1_clients_proto_rawDescGZIP(), []int{24, 0} } func (x *RegisterRoleResourcesRequest_Resources) GetResources() []*RoleResource { @@ -2346,161 +2260,151 @@ var file_clients_v1_clients_proto_rawDesc = []byte{ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x22, 0x23, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x22, 0x23, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x0a, 0x11, 0x47, - 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4d, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x4d, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x75, - 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, - 0x73, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x22, - 0x43, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, 0x0a, 0x15, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x53, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, - 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, - 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x15, 0x0a, 0x13, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4d, - 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x22, 0x2e, 0x0a, 0x16, 0x49, 0x6e, 0x74, 0x72, 0x6f, - 0x73, 0x70, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xba, 0x01, 0x0a, 0x17, 0x49, 0x6e, 0x74, 0x72, - 0x6f, 0x73, 0x70, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, - 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, - 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x04, 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, 0x65, 0x78, 0x70, 0x69, 0x72, - 0x65, 0x73, 0x41, 0x74, 0x22, 0x67, 0x0a, 0x24, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x92, 0x02, - 0x0a, 0x1c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x30, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x52, - 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x09, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, - 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, - 0x61, 0x64, 0x22, 0x46, 0x0a, 0x1d, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x52, 0x0a, 0x0c, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x90, - 0x02, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x29, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, + 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, + 0x75, 0x73, 0x65, 0x72, 0x22, 0x43, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x40, 0x0a, 0x15, 0x53, 0x69, 0x67, + 0x6e, 0x4f, 0x75, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x53, + 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x22, 0x2e, 0x0a, 0x16, + 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x73, 0x70, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xba, 0x01, 0x0a, + 0x17, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x73, 0x70, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x39, + 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x04, 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, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22, 0x67, 0x0a, 0x24, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, + 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x22, 0x92, 0x02, 0x0a, 0x1c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, + 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x52, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x09, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x42, 0x09, 0x0a, 0x07, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x46, 0x0a, 0x1d, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, + 0x52, 0x0a, 0x0c, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 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, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x07, 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, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x22, 0x57, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x70, 0x0a, 0x20, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, - 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0xa1, 0x01, 0x0a, - 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x43, 0x0a, 0x07, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, - 0x22, 0x85, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x19, - 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x68, 0x6f, - 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, - 0x00, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x42, 0x08, - 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x59, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x22, 0x90, 0x02, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 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, 0x0c, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 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, 0x0a, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x57, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x06, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x73, 0x22, 0x31, 0x0a, 0x1f, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x20, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, + 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0x70, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb0, 0x05, 0x0a, 0x0c, 0x55, - 0x73, 0x65, 0x72, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x07, 0x47, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x0b, 0x8a, 0xb5, 0x18, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x52, 0x0a, 0x08, - 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x0b, 0x8a, 0xb5, 0x18, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, - 0x12, 0x62, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, - 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x8a, - 0xb5, 0x18, 0x11, 0x73, 0x61, 0x6d, 0x73, 0x3a, 0x3a, 0x75, 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x77, - 0x72, 0x69, 0x74, 0x65, 0x12, 0x63, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, - 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x16, 0x8a, 0xb5, 0x18, 0x12, 0x73, 0x61, 0x6d, 0x73, 0x3a, 0x3a, 0x75, 0x73, 0x65, - 0x72, 0x3a, 0x3a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x6d, 0x0a, 0x0c, 0x47, 0x65, 0x74, + 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x22, 0xa1, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x12, 0x43, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, + 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x59, 0x0a, + 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x36, 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x22, 0x31, 0x0a, 0x1f, 0x52, 0x65, 0x76, 0x6f, + 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x20, 0x52, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0xcb, 0x04, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x4f, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0b, 0x8a, 0xb5, 0x18, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, + 0x65, 0x12, 0x52, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x0b, 0x8a, 0xb5, 0x18, 0x07, 0x70, 0x72, + 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x62, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x15, 0x8a, 0xb5, 0x18, 0x11, 0x73, 0x61, 0x6d, 0x73, 0x3a, 0x3a, 0x75, 0x73, + 0x65, 0x72, 0x3a, 0x3a, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x6d, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x6c, 0x69, @@ -2601,7 +2505,7 @@ func file_clients_v1_clients_proto_rawDescGZIP() []byte { return file_clients_v1_clients_proto_rawDescData } -var file_clients_v1_clients_proto_msgTypes = make([]protoimpl.MessageInfo, 38) +var file_clients_v1_clients_proto_msgTypes = make([]protoimpl.MessageInfo, 36) var file_clients_v1_clients_proto_goTypes = []interface{}{ (*GetUserRequest)(nil), // 0: clients.v1.GetUserRequest (*User)(nil), // 1: clients.v1.User @@ -2618,87 +2522,83 @@ var file_clients_v1_clients_proto_goTypes = []interface{}{ (*UpdateUserMetadataResponse)(nil), // 12: clients.v1.UpdateUserMetadataResponse (*CreateUserRequest)(nil), // 13: clients.v1.CreateUserRequest (*CreateUserResponse)(nil), // 14: clients.v1.CreateUserResponse - (*DeleteUserRequest)(nil), // 15: clients.v1.DeleteUserRequest - (*DeleteUserResponse)(nil), // 16: clients.v1.DeleteUserResponse - (*GetSessionRequest)(nil), // 17: clients.v1.GetSessionRequest - (*Session)(nil), // 18: clients.v1.Session - (*GetSessionResponse)(nil), // 19: clients.v1.GetSessionResponse - (*SignOutSessionRequest)(nil), // 20: clients.v1.SignOutSessionRequest - (*SignOutSessionResponse)(nil), // 21: clients.v1.SignOutSessionResponse - (*ErrorRecordMismatch)(nil), // 22: clients.v1.ErrorRecordMismatch - (*IntrospectTokenRequest)(nil), // 23: clients.v1.IntrospectTokenRequest - (*IntrospectTokenResponse)(nil), // 24: clients.v1.IntrospectTokenResponse - (*RegisterRoleResourcesRequestMetadata)(nil), // 25: clients.v1.RegisterRoleResourcesRequestMetadata - (*RegisterRoleResourcesRequest)(nil), // 26: clients.v1.RegisterRoleResourcesRequest - (*RegisterRoleResourcesResponse)(nil), // 27: clients.v1.RegisterRoleResourcesResponse - (*RoleResource)(nil), // 28: clients.v1.RoleResource - (*ServiceAccessToken)(nil), // 29: clients.v1.ServiceAccessToken - (*CreateServiceAccessTokenRequest)(nil), // 30: clients.v1.CreateServiceAccessTokenRequest - (*CreateServiceAccessTokenResponse)(nil), // 31: clients.v1.CreateServiceAccessTokenResponse - (*ListServiceAccessTokensRequest)(nil), // 32: clients.v1.ListServiceAccessTokensRequest - (*ListServiceAccessTokensFilter)(nil), // 33: clients.v1.ListServiceAccessTokensFilter - (*ListServiceAccessTokensResponse)(nil), // 34: clients.v1.ListServiceAccessTokensResponse - (*RevokeServiceAccessTokenRequest)(nil), // 35: clients.v1.RevokeServiceAccessTokenRequest - (*RevokeServiceAccessTokenResponse)(nil), // 36: clients.v1.RevokeServiceAccessTokenResponse - (*RegisterRoleResourcesRequest_Resources)(nil), // 37: clients.v1.RegisterRoleResourcesRequest.Resources - (*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 39: google.protobuf.Struct - (*descriptorpb.MethodOptions)(nil), // 40: google.protobuf.MethodOptions + (*GetSessionRequest)(nil), // 15: clients.v1.GetSessionRequest + (*Session)(nil), // 16: clients.v1.Session + (*GetSessionResponse)(nil), // 17: clients.v1.GetSessionResponse + (*SignOutSessionRequest)(nil), // 18: clients.v1.SignOutSessionRequest + (*SignOutSessionResponse)(nil), // 19: clients.v1.SignOutSessionResponse + (*ErrorRecordMismatch)(nil), // 20: clients.v1.ErrorRecordMismatch + (*IntrospectTokenRequest)(nil), // 21: clients.v1.IntrospectTokenRequest + (*IntrospectTokenResponse)(nil), // 22: clients.v1.IntrospectTokenResponse + (*RegisterRoleResourcesRequestMetadata)(nil), // 23: clients.v1.RegisterRoleResourcesRequestMetadata + (*RegisterRoleResourcesRequest)(nil), // 24: clients.v1.RegisterRoleResourcesRequest + (*RegisterRoleResourcesResponse)(nil), // 25: clients.v1.RegisterRoleResourcesResponse + (*RoleResource)(nil), // 26: clients.v1.RoleResource + (*ServiceAccessToken)(nil), // 27: clients.v1.ServiceAccessToken + (*CreateServiceAccessTokenRequest)(nil), // 28: clients.v1.CreateServiceAccessTokenRequest + (*CreateServiceAccessTokenResponse)(nil), // 29: clients.v1.CreateServiceAccessTokenResponse + (*ListServiceAccessTokensRequest)(nil), // 30: clients.v1.ListServiceAccessTokensRequest + (*ListServiceAccessTokensFilter)(nil), // 31: clients.v1.ListServiceAccessTokensFilter + (*ListServiceAccessTokensResponse)(nil), // 32: clients.v1.ListServiceAccessTokensResponse + (*RevokeServiceAccessTokenRequest)(nil), // 33: clients.v1.RevokeServiceAccessTokenRequest + (*RevokeServiceAccessTokenResponse)(nil), // 34: clients.v1.RevokeServiceAccessTokenResponse + (*RegisterRoleResourcesRequest_Resources)(nil), // 35: clients.v1.RegisterRoleResourcesRequest.Resources + (*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 37: google.protobuf.Struct + (*descriptorpb.MethodOptions)(nil), // 38: google.protobuf.MethodOptions } var file_clients_v1_clients_proto_depIdxs = []int32{ - 38, // 0: clients.v1.User.created_at:type_name -> google.protobuf.Timestamp - 38, // 1: clients.v1.User.updated_at:type_name -> google.protobuf.Timestamp + 36, // 0: clients.v1.User.created_at:type_name -> google.protobuf.Timestamp + 36, // 1: clients.v1.User.updated_at:type_name -> google.protobuf.Timestamp 1, // 2: clients.v1.GetUserResponse.user:type_name -> clients.v1.User 1, // 3: clients.v1.GetUsersResponse.users:type_name -> clients.v1.User 7, // 4: clients.v1.GetUserRolesResponse.user_roles:type_name -> clients.v1.Role - 39, // 5: clients.v1.UserServiceMetadata.metadata:type_name -> google.protobuf.Struct + 37, // 5: clients.v1.UserServiceMetadata.metadata:type_name -> google.protobuf.Struct 9, // 6: clients.v1.GetUserMetadataResponse.metadata:type_name -> clients.v1.UserServiceMetadata 9, // 7: clients.v1.UpdateUserMetadataRequest.metadata:type_name -> clients.v1.UserServiceMetadata 9, // 8: clients.v1.UpdateUserMetadataResponse.metadata:type_name -> clients.v1.UserServiceMetadata 1, // 9: clients.v1.CreateUserResponse.user:type_name -> clients.v1.User 1, // 10: clients.v1.Session.user:type_name -> clients.v1.User - 18, // 11: clients.v1.GetSessionResponse.session:type_name -> clients.v1.Session - 38, // 12: clients.v1.IntrospectTokenResponse.expires_at:type_name -> google.protobuf.Timestamp - 25, // 13: clients.v1.RegisterRoleResourcesRequest.metadata:type_name -> clients.v1.RegisterRoleResourcesRequestMetadata - 37, // 14: clients.v1.RegisterRoleResourcesRequest.resources:type_name -> clients.v1.RegisterRoleResourcesRequest.Resources - 38, // 15: clients.v1.ServiceAccessToken.creation_time:type_name -> google.protobuf.Timestamp - 38, // 16: clients.v1.ServiceAccessToken.expire_time:type_name -> google.protobuf.Timestamp - 29, // 17: clients.v1.CreateServiceAccessTokenRequest.token:type_name -> clients.v1.ServiceAccessToken - 29, // 18: clients.v1.CreateServiceAccessTokenResponse.token:type_name -> clients.v1.ServiceAccessToken - 33, // 19: clients.v1.ListServiceAccessTokensRequest.filters:type_name -> clients.v1.ListServiceAccessTokensFilter - 29, // 20: clients.v1.ListServiceAccessTokensResponse.tokens:type_name -> clients.v1.ServiceAccessToken - 28, // 21: clients.v1.RegisterRoleResourcesRequest.Resources.resources:type_name -> clients.v1.RoleResource - 40, // 22: clients.v1.sams_required_scopes:extendee -> google.protobuf.MethodOptions + 16, // 11: clients.v1.GetSessionResponse.session:type_name -> clients.v1.Session + 36, // 12: clients.v1.IntrospectTokenResponse.expires_at:type_name -> google.protobuf.Timestamp + 23, // 13: clients.v1.RegisterRoleResourcesRequest.metadata:type_name -> clients.v1.RegisterRoleResourcesRequestMetadata + 35, // 14: clients.v1.RegisterRoleResourcesRequest.resources:type_name -> clients.v1.RegisterRoleResourcesRequest.Resources + 36, // 15: clients.v1.ServiceAccessToken.creation_time:type_name -> google.protobuf.Timestamp + 36, // 16: clients.v1.ServiceAccessToken.expire_time:type_name -> google.protobuf.Timestamp + 27, // 17: clients.v1.CreateServiceAccessTokenRequest.token:type_name -> clients.v1.ServiceAccessToken + 27, // 18: clients.v1.CreateServiceAccessTokenResponse.token:type_name -> clients.v1.ServiceAccessToken + 31, // 19: clients.v1.ListServiceAccessTokensRequest.filters:type_name -> clients.v1.ListServiceAccessTokensFilter + 27, // 20: clients.v1.ListServiceAccessTokensResponse.tokens:type_name -> clients.v1.ServiceAccessToken + 26, // 21: clients.v1.RegisterRoleResourcesRequest.Resources.resources:type_name -> clients.v1.RoleResource + 38, // 22: clients.v1.sams_required_scopes:extendee -> google.protobuf.MethodOptions 0, // 23: clients.v1.UsersService.GetUser:input_type -> clients.v1.GetUserRequest 3, // 24: clients.v1.UsersService.GetUsers:input_type -> clients.v1.GetUsersRequest 13, // 25: clients.v1.UsersService.CreateUser:input_type -> clients.v1.CreateUserRequest - 15, // 26: clients.v1.UsersService.DeleteUser:input_type -> clients.v1.DeleteUserRequest - 5, // 27: clients.v1.UsersService.GetUserRoles:input_type -> clients.v1.GetUserRolesRequest - 8, // 28: clients.v1.UsersService.GetUserMetadata:input_type -> clients.v1.GetUserMetadataRequest - 11, // 29: clients.v1.UsersService.UpdateUserMetadata:input_type -> clients.v1.UpdateUserMetadataRequest - 17, // 30: clients.v1.SessionsService.GetSession:input_type -> clients.v1.GetSessionRequest - 20, // 31: clients.v1.SessionsService.SignOutSession:input_type -> clients.v1.SignOutSessionRequest - 23, // 32: clients.v1.TokensService.IntrospectToken:input_type -> clients.v1.IntrospectTokenRequest - 26, // 33: clients.v1.RolesService.RegisterRoleResources:input_type -> clients.v1.RegisterRoleResourcesRequest - 30, // 34: clients.v1.ServiceAccessTokensService.CreateServiceAccessToken:input_type -> clients.v1.CreateServiceAccessTokenRequest - 32, // 35: clients.v1.ServiceAccessTokensService.ListServiceAccessTokens:input_type -> clients.v1.ListServiceAccessTokensRequest - 35, // 36: clients.v1.ServiceAccessTokensService.RevokeServiceAccessToken:input_type -> clients.v1.RevokeServiceAccessTokenRequest - 2, // 37: clients.v1.UsersService.GetUser:output_type -> clients.v1.GetUserResponse - 4, // 38: clients.v1.UsersService.GetUsers:output_type -> clients.v1.GetUsersResponse - 14, // 39: clients.v1.UsersService.CreateUser:output_type -> clients.v1.CreateUserResponse - 16, // 40: clients.v1.UsersService.DeleteUser:output_type -> clients.v1.DeleteUserResponse - 6, // 41: clients.v1.UsersService.GetUserRoles:output_type -> clients.v1.GetUserRolesResponse - 10, // 42: clients.v1.UsersService.GetUserMetadata:output_type -> clients.v1.GetUserMetadataResponse - 12, // 43: clients.v1.UsersService.UpdateUserMetadata:output_type -> clients.v1.UpdateUserMetadataResponse - 19, // 44: clients.v1.SessionsService.GetSession:output_type -> clients.v1.GetSessionResponse - 21, // 45: clients.v1.SessionsService.SignOutSession:output_type -> clients.v1.SignOutSessionResponse - 24, // 46: clients.v1.TokensService.IntrospectToken:output_type -> clients.v1.IntrospectTokenResponse - 27, // 47: clients.v1.RolesService.RegisterRoleResources:output_type -> clients.v1.RegisterRoleResourcesResponse - 31, // 48: clients.v1.ServiceAccessTokensService.CreateServiceAccessToken:output_type -> clients.v1.CreateServiceAccessTokenResponse - 34, // 49: clients.v1.ServiceAccessTokensService.ListServiceAccessTokens:output_type -> clients.v1.ListServiceAccessTokensResponse - 36, // 50: clients.v1.ServiceAccessTokensService.RevokeServiceAccessToken:output_type -> clients.v1.RevokeServiceAccessTokenResponse - 37, // [37:51] is the sub-list for method output_type - 23, // [23:37] is the sub-list for method input_type + 5, // 26: clients.v1.UsersService.GetUserRoles:input_type -> clients.v1.GetUserRolesRequest + 8, // 27: clients.v1.UsersService.GetUserMetadata:input_type -> clients.v1.GetUserMetadataRequest + 11, // 28: clients.v1.UsersService.UpdateUserMetadata:input_type -> clients.v1.UpdateUserMetadataRequest + 15, // 29: clients.v1.SessionsService.GetSession:input_type -> clients.v1.GetSessionRequest + 18, // 30: clients.v1.SessionsService.SignOutSession:input_type -> clients.v1.SignOutSessionRequest + 21, // 31: clients.v1.TokensService.IntrospectToken:input_type -> clients.v1.IntrospectTokenRequest + 24, // 32: clients.v1.RolesService.RegisterRoleResources:input_type -> clients.v1.RegisterRoleResourcesRequest + 28, // 33: clients.v1.ServiceAccessTokensService.CreateServiceAccessToken:input_type -> clients.v1.CreateServiceAccessTokenRequest + 30, // 34: clients.v1.ServiceAccessTokensService.ListServiceAccessTokens:input_type -> clients.v1.ListServiceAccessTokensRequest + 33, // 35: clients.v1.ServiceAccessTokensService.RevokeServiceAccessToken:input_type -> clients.v1.RevokeServiceAccessTokenRequest + 2, // 36: clients.v1.UsersService.GetUser:output_type -> clients.v1.GetUserResponse + 4, // 37: clients.v1.UsersService.GetUsers:output_type -> clients.v1.GetUsersResponse + 14, // 38: clients.v1.UsersService.CreateUser:output_type -> clients.v1.CreateUserResponse + 6, // 39: clients.v1.UsersService.GetUserRoles:output_type -> clients.v1.GetUserRolesResponse + 10, // 40: clients.v1.UsersService.GetUserMetadata:output_type -> clients.v1.GetUserMetadataResponse + 12, // 41: clients.v1.UsersService.UpdateUserMetadata:output_type -> clients.v1.UpdateUserMetadataResponse + 17, // 42: clients.v1.SessionsService.GetSession:output_type -> clients.v1.GetSessionResponse + 19, // 43: clients.v1.SessionsService.SignOutSession:output_type -> clients.v1.SignOutSessionResponse + 22, // 44: clients.v1.TokensService.IntrospectToken:output_type -> clients.v1.IntrospectTokenResponse + 25, // 45: clients.v1.RolesService.RegisterRoleResources:output_type -> clients.v1.RegisterRoleResourcesResponse + 29, // 46: clients.v1.ServiceAccessTokensService.CreateServiceAccessToken:output_type -> clients.v1.CreateServiceAccessTokenResponse + 32, // 47: clients.v1.ServiceAccessTokensService.ListServiceAccessTokens:output_type -> clients.v1.ListServiceAccessTokensResponse + 34, // 48: clients.v1.ServiceAccessTokensService.RevokeServiceAccessToken:output_type -> clients.v1.RevokeServiceAccessTokenResponse + 36, // [36:49] is the sub-list for method output_type + 23, // [23:36] is the sub-list for method input_type 23, // [23:23] is the sub-list for extension type_name 22, // [22:23] is the sub-list for extension extendee 0, // [0:22] is the sub-list for field type_name @@ -2891,30 +2791,6 @@ func file_clients_v1_clients_proto_init() { } } file_clients_v1_clients_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_clients_v1_clients_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_clients_v1_clients_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSessionRequest); i { case 0: return &v.state @@ -2926,7 +2802,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Session); i { case 0: return &v.state @@ -2938,7 +2814,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetSessionResponse); i { case 0: return &v.state @@ -2950,7 +2826,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SignOutSessionRequest); i { case 0: return &v.state @@ -2962,7 +2838,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SignOutSessionResponse); i { case 0: return &v.state @@ -2974,7 +2850,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ErrorRecordMismatch); i { case 0: return &v.state @@ -2986,7 +2862,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IntrospectTokenRequest); i { case 0: return &v.state @@ -2998,7 +2874,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IntrospectTokenResponse); i { case 0: return &v.state @@ -3010,7 +2886,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterRoleResourcesRequestMetadata); i { case 0: return &v.state @@ -3022,7 +2898,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterRoleResourcesRequest); i { case 0: return &v.state @@ -3034,7 +2910,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterRoleResourcesResponse); i { case 0: return &v.state @@ -3046,7 +2922,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleResource); i { case 0: return &v.state @@ -3058,7 +2934,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ServiceAccessToken); i { case 0: return &v.state @@ -3070,7 +2946,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateServiceAccessTokenRequest); i { case 0: return &v.state @@ -3082,7 +2958,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateServiceAccessTokenResponse); i { case 0: return &v.state @@ -3094,7 +2970,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListServiceAccessTokensRequest); i { case 0: return &v.state @@ -3106,7 +2982,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListServiceAccessTokensFilter); i { case 0: return &v.state @@ -3118,7 +2994,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListServiceAccessTokensResponse); i { case 0: return &v.state @@ -3130,7 +3006,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeServiceAccessTokenRequest); i { case 0: return &v.state @@ -3142,7 +3018,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RevokeServiceAccessTokenResponse); i { case 0: return &v.state @@ -3154,7 +3030,7 @@ func file_clients_v1_clients_proto_init() { return nil } } - file_clients_v1_clients_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_clients_v1_clients_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterRoleResourcesRequest_Resources); i { case 0: return &v.state @@ -3168,12 +3044,12 @@ func file_clients_v1_clients_proto_init() { } } file_clients_v1_clients_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_clients_v1_clients_proto_msgTypes[18].OneofWrappers = []interface{}{} - file_clients_v1_clients_proto_msgTypes[26].OneofWrappers = []interface{}{ + file_clients_v1_clients_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_clients_v1_clients_proto_msgTypes[24].OneofWrappers = []interface{}{ (*RegisterRoleResourcesRequest_Metadata)(nil), (*RegisterRoleResourcesRequest_Resources_)(nil), } - file_clients_v1_clients_proto_msgTypes[33].OneofWrappers = []interface{}{ + file_clients_v1_clients_proto_msgTypes[31].OneofWrappers = []interface{}{ (*ListServiceAccessTokensFilter_Service)(nil), (*ListServiceAccessTokensFilter_UserId)(nil), (*ListServiceAccessTokensFilter_ShowExpired)(nil), @@ -3184,7 +3060,7 @@ func file_clients_v1_clients_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_clients_v1_clients_proto_rawDesc, NumEnums: 0, - NumMessages: 38, + NumMessages: 36, NumExtensions: 1, NumServices: 5, }, diff --git a/clients/v1/clients.proto b/clients/v1/clients.proto index 41f380d..3d8e7f7 100644 --- a/clients/v1/clients.proto +++ b/clients/v1/clients.proto @@ -39,12 +39,7 @@ service UsersService { rpc CreateUser(CreateUserRequest) returns (CreateUserResponse) { option (sams_required_scopes) = "sams::user::write"; }; - // DeleteUser deletes a SAMS user with the given email. - // - // Required scopes: sams::user::delete - rpc DeleteUser(DeleteUserRequest) returns (DeleteUserResponse) { - option (sams_required_scopes) = "sams::user::delete"; - }; + // GetUserRoles returns all roles that have been assigned to the SAMS user // with the given ID and scoped by the service. // @@ -192,13 +187,7 @@ message CreateUserResponse { User user = 1; } -message DeleteUserRequest { - // The user's external ID. - string id = 1; -} -message DeleteUserResponse { -} service SessionsService { // GetSession returns the SAMS session with the given ID. It returns diff --git a/clients/v1/clientsv1connect/clients.connect.go b/clients/v1/clientsv1connect/clients.connect.go index e9be261..efdb8e1 100644 --- a/clients/v1/clientsv1connect/clients.connect.go +++ b/clients/v1/clientsv1connect/clients.connect.go @@ -48,8 +48,6 @@ const ( UsersServiceGetUsersProcedure = "/clients.v1.UsersService/GetUsers" // UsersServiceCreateUserProcedure is the fully-qualified name of the UsersService's CreateUser RPC. UsersServiceCreateUserProcedure = "/clients.v1.UsersService/CreateUser" - // UsersServiceDeleteUserProcedure is the fully-qualified name of the UsersService's DeleteUser RPC. - UsersServiceDeleteUserProcedure = "/clients.v1.UsersService/DeleteUser" // UsersServiceGetUserRolesProcedure is the fully-qualified name of the UsersService's GetUserRoles // RPC. UsersServiceGetUserRolesProcedure = "/clients.v1.UsersService/GetUserRoles" @@ -88,7 +86,6 @@ var ( usersServiceGetUserMethodDescriptor = usersServiceServiceDescriptor.Methods().ByName("GetUser") usersServiceGetUsersMethodDescriptor = usersServiceServiceDescriptor.Methods().ByName("GetUsers") usersServiceCreateUserMethodDescriptor = usersServiceServiceDescriptor.Methods().ByName("CreateUser") - usersServiceDeleteUserMethodDescriptor = usersServiceServiceDescriptor.Methods().ByName("DeleteUser") usersServiceGetUserRolesMethodDescriptor = usersServiceServiceDescriptor.Methods().ByName("GetUserRoles") usersServiceGetUserMetadataMethodDescriptor = usersServiceServiceDescriptor.Methods().ByName("GetUserMetadata") usersServiceUpdateUserMetadataMethodDescriptor = usersServiceServiceDescriptor.Methods().ByName("UpdateUserMetadata") @@ -122,10 +119,6 @@ type UsersServiceClient interface { // CreateUser creates a new SAMS user with the given email. // Required scopes: sams::user::write CreateUser(context.Context, *connect.Request[v1.CreateUserRequest]) (*connect.Response[v1.CreateUserResponse], error) - // DeleteUser deletes a SAMS user with the given email. - // - // Required scopes: sams::user::delete - DeleteUser(context.Context, *connect.Request[v1.DeleteUserRequest]) (*connect.Response[v1.DeleteUserResponse], error) // GetUserRoles returns all roles that have been assigned to the SAMS user // with the given ID and scoped by the service. // @@ -171,12 +164,6 @@ func NewUsersServiceClient(httpClient connect.HTTPClient, baseURL string, opts . connect.WithSchema(usersServiceCreateUserMethodDescriptor), connect.WithClientOptions(opts...), ), - deleteUser: connect.NewClient[v1.DeleteUserRequest, v1.DeleteUserResponse]( - httpClient, - baseURL+UsersServiceDeleteUserProcedure, - connect.WithSchema(usersServiceDeleteUserMethodDescriptor), - connect.WithClientOptions(opts...), - ), getUserRoles: connect.NewClient[v1.GetUserRolesRequest, v1.GetUserRolesResponse]( httpClient, baseURL+UsersServiceGetUserRolesProcedure, @@ -203,7 +190,6 @@ type usersServiceClient struct { getUser *connect.Client[v1.GetUserRequest, v1.GetUserResponse] getUsers *connect.Client[v1.GetUsersRequest, v1.GetUsersResponse] createUser *connect.Client[v1.CreateUserRequest, v1.CreateUserResponse] - deleteUser *connect.Client[v1.DeleteUserRequest, v1.DeleteUserResponse] getUserRoles *connect.Client[v1.GetUserRolesRequest, v1.GetUserRolesResponse] getUserMetadata *connect.Client[v1.GetUserMetadataRequest, v1.GetUserMetadataResponse] updateUserMetadata *connect.Client[v1.UpdateUserMetadataRequest, v1.UpdateUserMetadataResponse] @@ -224,11 +210,6 @@ func (c *usersServiceClient) CreateUser(ctx context.Context, req *connect.Reques return c.createUser.CallUnary(ctx, req) } -// DeleteUser calls clients.v1.UsersService.DeleteUser. -func (c *usersServiceClient) DeleteUser(ctx context.Context, req *connect.Request[v1.DeleteUserRequest]) (*connect.Response[v1.DeleteUserResponse], error) { - return c.deleteUser.CallUnary(ctx, req) -} - // GetUserRoles calls clients.v1.UsersService.GetUserRoles. func (c *usersServiceClient) GetUserRoles(ctx context.Context, req *connect.Request[v1.GetUserRolesRequest]) (*connect.Response[v1.GetUserRolesResponse], error) { return c.getUserRoles.CallUnary(ctx, req) @@ -261,10 +242,6 @@ type UsersServiceHandler interface { // CreateUser creates a new SAMS user with the given email. // Required scopes: sams::user::write CreateUser(context.Context, *connect.Request[v1.CreateUserRequest]) (*connect.Response[v1.CreateUserResponse], error) - // DeleteUser deletes a SAMS user with the given email. - // - // Required scopes: sams::user::delete - DeleteUser(context.Context, *connect.Request[v1.DeleteUserRequest]) (*connect.Response[v1.DeleteUserResponse], error) // GetUserRoles returns all roles that have been assigned to the SAMS user // with the given ID and scoped by the service. // @@ -306,12 +283,6 @@ func NewUsersServiceHandler(svc UsersServiceHandler, opts ...connect.HandlerOpti connect.WithSchema(usersServiceCreateUserMethodDescriptor), connect.WithHandlerOptions(opts...), ) - usersServiceDeleteUserHandler := connect.NewUnaryHandler( - UsersServiceDeleteUserProcedure, - svc.DeleteUser, - connect.WithSchema(usersServiceDeleteUserMethodDescriptor), - connect.WithHandlerOptions(opts...), - ) usersServiceGetUserRolesHandler := connect.NewUnaryHandler( UsersServiceGetUserRolesProcedure, svc.GetUserRoles, @@ -338,8 +309,6 @@ func NewUsersServiceHandler(svc UsersServiceHandler, opts ...connect.HandlerOpti usersServiceGetUsersHandler.ServeHTTP(w, r) case UsersServiceCreateUserProcedure: usersServiceCreateUserHandler.ServeHTTP(w, r) - case UsersServiceDeleteUserProcedure: - usersServiceDeleteUserHandler.ServeHTTP(w, r) case UsersServiceGetUserRolesProcedure: usersServiceGetUserRolesHandler.ServeHTTP(w, r) case UsersServiceGetUserMetadataProcedure: @@ -367,10 +336,6 @@ func (UnimplementedUsersServiceHandler) CreateUser(context.Context, *connect.Req return nil, connect.NewError(connect.CodeUnimplemented, errors.New("clients.v1.UsersService.CreateUser is not implemented")) } -func (UnimplementedUsersServiceHandler) DeleteUser(context.Context, *connect.Request[v1.DeleteUserRequest]) (*connect.Response[v1.DeleteUserResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("clients.v1.UsersService.DeleteUser is not implemented")) -} - func (UnimplementedUsersServiceHandler) GetUserRoles(context.Context, *connect.Request[v1.GetUserRolesRequest]) (*connect.Response[v1.GetUserRolesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("clients.v1.UsersService.GetUserRoles is not implemented")) } diff --git a/clientv1_users.go b/clientv1_users.go index 85e0a44..e89623c 100644 --- a/clientv1_users.go +++ b/clientv1_users.go @@ -70,19 +70,6 @@ func (s *UsersServiceV1) CreateUser(ctx context.Context, email, name string) (*c return resp.Msg.User, nil } -// DeleteUser deletes a SAMS user with the given email address. -// -// Required scope: sams::user::delete -func (s *UsersServiceV1) DeleteUser(ctx context.Context, id string) error { - if id == "" { - return errors.New("id cannot be empty") - } - req := &clientsv1.DeleteUserRequest{Id: id} - client := s.newClient(ctx) - _, err := parseResponseAndError(client.DeleteUser(ctx, connect.NewRequest(req))) - return err -} - // GetUsersByIDs returns the list of SAMS users matching the provided IDs. // // NOTE: It silently ignores any invalid user IDs, i.e. the length of the return