Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTeamApiServer(s grpc.ServiceRegistrar, srv TeamApiServer)
- type BasicTeamInfo
- func (*BasicTeamInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BasicTeamInfo) GetTeamDesc() string
- func (x *BasicTeamInfo) GetTeamLogoUri() string
- func (x *BasicTeamInfo) GetTeamName() string
- func (*BasicTeamInfo) ProtoMessage()
- func (x *BasicTeamInfo) ProtoReflect() protoreflect.Message
- func (x *BasicTeamInfo) Reset()
- func (x *BasicTeamInfo) String() string
- type ChangeOwnerRequest
- func (*ChangeOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeOwnerRequest) GetSessionId() string
- func (x *ChangeOwnerRequest) GetTargetMemberUserId() string
- func (x *ChangeOwnerRequest) GetTeamId() string
- func (*ChangeOwnerRequest) ProtoMessage()
- func (x *ChangeOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeOwnerRequest) Reset()
- func (x *ChangeOwnerRequest) String() string
- type ChangeOwnerResponse
- func (*ChangeOwnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeOwnerResponse) GetCode() ChangeOwnerResponse_CODE
- func (x *ChangeOwnerResponse) GetErrMsg() string
- func (*ChangeOwnerResponse) ProtoMessage()
- func (x *ChangeOwnerResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeOwnerResponse) Reset()
- func (x *ChangeOwnerResponse) String() string
- type ChangeOwnerResponse_CODE
- func (ChangeOwnerResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ChangeOwnerResponse_CODE) Enum() *ChangeOwnerResponse_CODE
- func (ChangeOwnerResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChangeOwnerResponse_CODE) Number() protoreflect.EnumNumber
- func (x ChangeOwnerResponse_CODE) String() string
- func (ChangeOwnerResponse_CODE) Type() protoreflect.EnumType
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetBasicInfo() *BasicTeamInfo
- func (x *CreateRequest) GetSessionId() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetCode() CreateResponse_CODE
- func (x *CreateResponse) GetErrMsg() string
- func (x *CreateResponse) GetTeamId() string
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type CreateResponse_CODE
- func (CreateResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x CreateResponse_CODE) Enum() *CreateResponse_CODE
- func (CreateResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateResponse_CODE) Number() protoreflect.EnumNumber
- func (x CreateResponse_CODE) String() string
- func (CreateResponse_CODE) Type() protoreflect.EnumType
- type GetRequest
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetCode() GetResponse_CODE
- func (x *GetResponse) GetErrMsg() string
- func (x *GetResponse) GetTeam() *TeamInfo
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type GetResponse_CODE
- func (GetResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x GetResponse_CODE) Enum() *GetResponse_CODE
- func (GetResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetResponse_CODE) Number() protoreflect.EnumNumber
- func (x GetResponse_CODE) String() string
- func (GetResponse_CODE) Type() protoreflect.EnumType
- type ListMyRequest
- type ListMyResponse
- func (*ListMyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMyResponse) GetCode() ListMyResponse_CODE
- func (x *ListMyResponse) GetErrMsg() string
- func (x *ListMyResponse) GetTeamList() []*TeamInfo
- func (*ListMyResponse) ProtoMessage()
- func (x *ListMyResponse) ProtoReflect() protoreflect.Message
- func (x *ListMyResponse) Reset()
- func (x *ListMyResponse) String() string
- type ListMyResponse_CODE
- func (ListMyResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListMyResponse_CODE) Enum() *ListMyResponse_CODE
- func (ListMyResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListMyResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListMyResponse_CODE) String() string
- func (ListMyResponse_CODE) Type() protoreflect.EnumType
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequest) GetSessionId() string
- func (x *RemoveRequest) GetTeamId() string
- func (*RemoveRequest) ProtoMessage()
- func (x *RemoveRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequest) Reset()
- func (x *RemoveRequest) String() string
- type RemoveResponse
- func (*RemoveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveResponse) GetCode() RemoveResponse_CODE
- func (x *RemoveResponse) GetErrMsg() string
- func (*RemoveResponse) ProtoMessage()
- func (x *RemoveResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveResponse) Reset()
- func (x *RemoveResponse) String() string
- type RemoveResponse_CODE
- func (RemoveResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x RemoveResponse_CODE) Enum() *RemoveResponse_CODE
- func (RemoveResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x RemoveResponse_CODE) Number() protoreflect.EnumNumber
- func (x RemoveResponse_CODE) String() string
- func (RemoveResponse_CODE) Type() protoreflect.EnumType
- type TeamApiClient
- type TeamApiServer
- type TeamInfo
- func (*TeamInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TeamInfo) GetBasicInfo() *BasicTeamInfo
- func (x *TeamInfo) GetCreateTime() int64
- func (x *TeamInfo) GetDefaultKnowledgeCateId() string
- func (x *TeamInfo) GetDiskFsId() string
- func (x *TeamInfo) GetOwnerDisplayName() string
- func (x *TeamInfo) GetOwnerLogoUri() string
- func (x *TeamInfo) GetOwnerUserId() string
- func (x *TeamInfo) GetSetting() *TeamSetting
- func (x *TeamInfo) GetTeamId() string
- func (x *TeamInfo) GetUpdateDisplayName() string
- func (x *TeamInfo) GetUpdateLogoUri() string
- func (x *TeamInfo) GetUpdateTime() int64
- func (x *TeamInfo) GetUpdateUserId() string
- func (*TeamInfo) ProtoMessage()
- func (x *TeamInfo) ProtoReflect() protoreflect.Message
- func (x *TeamInfo) Reset()
- func (x *TeamInfo) String() string
- type TeamSetting
- type UnimplementedTeamApiServer
- func (UnimplementedTeamApiServer) ChangeOwner(context.Context, *ChangeOwnerRequest) (*ChangeOwnerResponse, error)
- func (UnimplementedTeamApiServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedTeamApiServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedTeamApiServer) ListMy(context.Context, *ListMyRequest) (*ListMyResponse, error)
- func (UnimplementedTeamApiServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
- func (UnimplementedTeamApiServer) UpdateBasic(context.Context, *UpdateBasicRequest) (*UpdateBasicResponse, error)
- func (UnimplementedTeamApiServer) UpdateSetting(context.Context, *UpdateSettingRequest) (*UpdateSettingResponse, error)
- type UnsafeTeamApiServer
- type UpdateBasicRequest
- func (*UpdateBasicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBasicRequest) GetBasicInfo() *BasicTeamInfo
- func (x *UpdateBasicRequest) GetSessionId() string
- func (x *UpdateBasicRequest) GetTeamId() string
- func (*UpdateBasicRequest) ProtoMessage()
- func (x *UpdateBasicRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBasicRequest) Reset()
- func (x *UpdateBasicRequest) String() string
- type UpdateBasicResponse
- func (*UpdateBasicResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBasicResponse) GetCode() UpdateBasicResponse_CODE
- func (x *UpdateBasicResponse) GetErrMsg() string
- func (*UpdateBasicResponse) ProtoMessage()
- func (x *UpdateBasicResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBasicResponse) Reset()
- func (x *UpdateBasicResponse) String() string
- type UpdateBasicResponse_CODE
- func (UpdateBasicResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateBasicResponse_CODE) Enum() *UpdateBasicResponse_CODE
- func (UpdateBasicResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateBasicResponse_CODE) Number() protoreflect.EnumNumber
- func (x UpdateBasicResponse_CODE) String() string
- func (UpdateBasicResponse_CODE) Type() protoreflect.EnumType
- type UpdateSettingRequest
- func (*UpdateSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingRequest) GetSessionId() string
- func (x *UpdateSettingRequest) GetSetting() *TeamSetting
- func (x *UpdateSettingRequest) GetTeamId() string
- func (*UpdateSettingRequest) ProtoMessage()
- func (x *UpdateSettingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingRequest) Reset()
- func (x *UpdateSettingRequest) String() string
- type UpdateSettingResponse
- func (*UpdateSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingResponse) GetCode() UpdateSettingResponse_CODE
- func (x *UpdateSettingResponse) GetErrMsg() string
- func (*UpdateSettingResponse) ProtoMessage()
- func (x *UpdateSettingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingResponse) Reset()
- func (x *UpdateSettingResponse) String() string
- type UpdateSettingResponse_CODE
- func (UpdateSettingResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateSettingResponse_CODE) Enum() *UpdateSettingResponse_CODE
- func (UpdateSettingResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateSettingResponse_CODE) Number() protoreflect.EnumNumber
- func (x UpdateSettingResponse_CODE) String() string
- func (UpdateSettingResponse_CODE) Type() protoreflect.EnumType
Constants ¶
const ( TeamApi_Create_FullMethodName = "/team_api.TeamApi/create" TeamApi_UpdateBasic_FullMethodName = "/team_api.TeamApi/updateBasic" TeamApi_UpdateSetting_FullMethodName = "/team_api.TeamApi/updateSetting" TeamApi_Remove_FullMethodName = "/team_api.TeamApi/remove" TeamApi_ChangeOwner_FullMethodName = "/team_api.TeamApi/changeOwner" TeamApi_ListMy_FullMethodName = "/team_api.TeamApi/listMy" TeamApi_Get_FullMethodName = "/team_api.TeamApi/get" )
Variables ¶
var ( CreateResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_PERMISSION", } CreateResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_PERMISSION": 2, } )
Enum value maps for CreateResponse_CODE.
var ( UpdateBasicResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } UpdateBasicResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for UpdateBasicResponse_CODE.
var ( UpdateSettingResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } UpdateSettingResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for UpdateSettingResponse_CODE.
var ( RemoveResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_PERMISSION", } RemoveResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_PERMISSION": 2, } )
Enum value maps for RemoveResponse_CODE.
var ( ChangeOwnerResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", 4: "CODE_NO_TARGET_MEMBER", } ChangeOwnerResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, "CODE_NO_TARGET_MEMBER": 4, } )
Enum value maps for ChangeOwnerResponse_CODE.
var ( ListMyResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_PERMISSION", } ListMyResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_PERMISSION": 2, } )
Enum value maps for ListMyResponse_CODE.
var ( GetResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_SESSION", 2: "CODE_NO_TEAM", 3: "CODE_NO_PERMISSION", } GetResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_SESSION": 1, "CODE_NO_TEAM": 2, "CODE_NO_PERMISSION": 3, } )
Enum value maps for GetResponse_CODE.
var File_team_api_proto protoreflect.FileDescriptor
var TeamApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "team_api.TeamApi", HandlerType: (*TeamApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "create", Handler: _TeamApi_Create_Handler, }, { MethodName: "updateBasic", Handler: _TeamApi_UpdateBasic_Handler, }, { MethodName: "updateSetting", Handler: _TeamApi_UpdateSetting_Handler, }, { MethodName: "remove", Handler: _TeamApi_Remove_Handler, }, { MethodName: "changeOwner", Handler: _TeamApi_ChangeOwner_Handler, }, { MethodName: "listMy", Handler: _TeamApi_ListMy_Handler, }, { MethodName: "get", Handler: _TeamApi_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "team_api.proto", }
TeamApi_ServiceDesc is the grpc.ServiceDesc for TeamApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTeamApiServer ¶
func RegisterTeamApiServer(s grpc.ServiceRegistrar, srv TeamApiServer)
Types ¶
type BasicTeamInfo ¶
type BasicTeamInfo struct { TeamName string `protobuf:"bytes,1,opt,name=teamName,proto3" json:"teamName,omitempty"` TeamDesc string `protobuf:"bytes,2,opt,name=teamDesc,proto3" json:"teamDesc,omitempty"` TeamLogoUri string `protobuf:"bytes,3,opt,name=teamLogoUri,proto3" json:"teamLogoUri,omitempty"` // contains filtered or unexported fields }
func (*BasicTeamInfo) Descriptor
deprecated
func (*BasicTeamInfo) Descriptor() ([]byte, []int)
Deprecated: Use BasicTeamInfo.ProtoReflect.Descriptor instead.
func (*BasicTeamInfo) GetTeamDesc ¶
func (x *BasicTeamInfo) GetTeamDesc() string
func (*BasicTeamInfo) GetTeamLogoUri ¶
func (x *BasicTeamInfo) GetTeamLogoUri() string
func (*BasicTeamInfo) GetTeamName ¶
func (x *BasicTeamInfo) GetTeamName() string
func (*BasicTeamInfo) ProtoMessage ¶
func (*BasicTeamInfo) ProtoMessage()
func (*BasicTeamInfo) ProtoReflect ¶
func (x *BasicTeamInfo) ProtoReflect() protoreflect.Message
func (*BasicTeamInfo) Reset ¶
func (x *BasicTeamInfo) Reset()
func (*BasicTeamInfo) String ¶
func (x *BasicTeamInfo) String() string
type ChangeOwnerRequest ¶
type ChangeOwnerRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` TargetMemberUserId string `protobuf:"bytes,3,opt,name=targetMemberUserId,proto3" json:"targetMemberUserId,omitempty"` // contains filtered or unexported fields }
func (*ChangeOwnerRequest) Descriptor
deprecated
func (*ChangeOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeOwnerRequest.ProtoReflect.Descriptor instead.
func (*ChangeOwnerRequest) GetSessionId ¶
func (x *ChangeOwnerRequest) GetSessionId() string
func (*ChangeOwnerRequest) GetTargetMemberUserId ¶
func (x *ChangeOwnerRequest) GetTargetMemberUserId() string
func (*ChangeOwnerRequest) GetTeamId ¶
func (x *ChangeOwnerRequest) GetTeamId() string
func (*ChangeOwnerRequest) ProtoMessage ¶
func (*ChangeOwnerRequest) ProtoMessage()
func (*ChangeOwnerRequest) ProtoReflect ¶
func (x *ChangeOwnerRequest) ProtoReflect() protoreflect.Message
func (*ChangeOwnerRequest) Reset ¶
func (x *ChangeOwnerRequest) Reset()
func (*ChangeOwnerRequest) String ¶
func (x *ChangeOwnerRequest) String() string
type ChangeOwnerResponse ¶
type ChangeOwnerResponse struct { Code ChangeOwnerResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_api.ChangeOwnerResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*ChangeOwnerResponse) Descriptor
deprecated
func (*ChangeOwnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeOwnerResponse.ProtoReflect.Descriptor instead.
func (*ChangeOwnerResponse) GetCode ¶
func (x *ChangeOwnerResponse) GetCode() ChangeOwnerResponse_CODE
func (*ChangeOwnerResponse) GetErrMsg ¶
func (x *ChangeOwnerResponse) GetErrMsg() string
func (*ChangeOwnerResponse) ProtoMessage ¶
func (*ChangeOwnerResponse) ProtoMessage()
func (*ChangeOwnerResponse) ProtoReflect ¶
func (x *ChangeOwnerResponse) ProtoReflect() protoreflect.Message
func (*ChangeOwnerResponse) Reset ¶
func (x *ChangeOwnerResponse) Reset()
func (*ChangeOwnerResponse) String ¶
func (x *ChangeOwnerResponse) String() string
type ChangeOwnerResponse_CODE ¶
type ChangeOwnerResponse_CODE int32
const ( ChangeOwnerResponse_CODE_OK ChangeOwnerResponse_CODE = 0 ChangeOwnerResponse_CODE_WRONG_SESSION ChangeOwnerResponse_CODE = 1 ChangeOwnerResponse_CODE_NO_TEAM ChangeOwnerResponse_CODE = 2 ChangeOwnerResponse_CODE_NO_PERMISSION ChangeOwnerResponse_CODE = 3 ChangeOwnerResponse_CODE_NO_TARGET_MEMBER ChangeOwnerResponse_CODE = 4 )
func (ChangeOwnerResponse_CODE) Descriptor ¶
func (ChangeOwnerResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ChangeOwnerResponse_CODE) Enum ¶
func (x ChangeOwnerResponse_CODE) Enum() *ChangeOwnerResponse_CODE
func (ChangeOwnerResponse_CODE) EnumDescriptor
deprecated
func (ChangeOwnerResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChangeOwnerResponse_CODE.Descriptor instead.
func (ChangeOwnerResponse_CODE) Number ¶
func (x ChangeOwnerResponse_CODE) Number() protoreflect.EnumNumber
func (ChangeOwnerResponse_CODE) String ¶
func (x ChangeOwnerResponse_CODE) String() string
func (ChangeOwnerResponse_CODE) Type ¶
func (ChangeOwnerResponse_CODE) Type() protoreflect.EnumType
type CreateRequest ¶
type CreateRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` BasicInfo *BasicTeamInfo `protobuf:"bytes,2,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetBasicInfo ¶
func (x *CreateRequest) GetBasicInfo() *BasicTeamInfo
func (*CreateRequest) GetSessionId ¶
func (x *CreateRequest) GetSessionId() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { Code CreateResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_api.CreateResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` TeamId string `protobuf:"bytes,3,opt,name=teamId,proto3" json:"teamId,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetCode ¶
func (x *CreateResponse) GetCode() CreateResponse_CODE
func (*CreateResponse) GetErrMsg ¶
func (x *CreateResponse) GetErrMsg() string
func (*CreateResponse) GetTeamId ¶
func (x *CreateResponse) GetTeamId() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type CreateResponse_CODE ¶
type CreateResponse_CODE int32
const ( CreateResponse_CODE_OK CreateResponse_CODE = 0 CreateResponse_CODE_WRONG_SESSION CreateResponse_CODE = 1 CreateResponse_CODE_NO_PERMISSION CreateResponse_CODE = 2 )
func (CreateResponse_CODE) Descriptor ¶
func (CreateResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (CreateResponse_CODE) Enum ¶
func (x CreateResponse_CODE) Enum() *CreateResponse_CODE
func (CreateResponse_CODE) EnumDescriptor
deprecated
func (CreateResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateResponse_CODE.Descriptor instead.
func (CreateResponse_CODE) Number ¶
func (x CreateResponse_CODE) Number() protoreflect.EnumNumber
func (CreateResponse_CODE) String ¶
func (x CreateResponse_CODE) String() string
func (CreateResponse_CODE) Type ¶
func (CreateResponse_CODE) Type() protoreflect.EnumType
type GetRequest ¶
type GetRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetSessionId ¶
func (x *GetRequest) GetSessionId() string
func (*GetRequest) GetTeamId ¶
func (x *GetRequest) GetTeamId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Code GetResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_api.GetResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` Team *TeamInfo `protobuf:"bytes,3,opt,name=team,proto3" json:"team,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetCode ¶
func (x *GetResponse) GetCode() GetResponse_CODE
func (*GetResponse) GetErrMsg ¶
func (x *GetResponse) GetErrMsg() string
func (*GetResponse) GetTeam ¶
func (x *GetResponse) GetTeam() *TeamInfo
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GetResponse_CODE ¶
type GetResponse_CODE int32
const ( GetResponse_CODE_OK GetResponse_CODE = 0 GetResponse_CODE_WRONG_SESSION GetResponse_CODE = 1 GetResponse_CODE_NO_TEAM GetResponse_CODE = 2 GetResponse_CODE_NO_PERMISSION GetResponse_CODE = 3 )
func (GetResponse_CODE) Descriptor ¶
func (GetResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (GetResponse_CODE) Enum ¶
func (x GetResponse_CODE) Enum() *GetResponse_CODE
func (GetResponse_CODE) EnumDescriptor
deprecated
func (GetResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetResponse_CODE.Descriptor instead.
func (GetResponse_CODE) Number ¶
func (x GetResponse_CODE) Number() protoreflect.EnumNumber
func (GetResponse_CODE) String ¶
func (x GetResponse_CODE) String() string
func (GetResponse_CODE) Type ¶
func (GetResponse_CODE) Type() protoreflect.EnumType
type ListMyRequest ¶
type ListMyRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` // contains filtered or unexported fields }
func (*ListMyRequest) Descriptor
deprecated
func (*ListMyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMyRequest.ProtoReflect.Descriptor instead.
func (*ListMyRequest) GetSessionId ¶
func (x *ListMyRequest) GetSessionId() string
func (*ListMyRequest) ProtoMessage ¶
func (*ListMyRequest) ProtoMessage()
func (*ListMyRequest) ProtoReflect ¶
func (x *ListMyRequest) ProtoReflect() protoreflect.Message
func (*ListMyRequest) Reset ¶
func (x *ListMyRequest) Reset()
func (*ListMyRequest) String ¶
func (x *ListMyRequest) String() string
type ListMyResponse ¶
type ListMyResponse struct { Code ListMyResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_api.ListMyResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` TeamList []*TeamInfo `protobuf:"bytes,3,rep,name=teamList,proto3" json:"teamList,omitempty"` // contains filtered or unexported fields }
func (*ListMyResponse) Descriptor
deprecated
func (*ListMyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMyResponse.ProtoReflect.Descriptor instead.
func (*ListMyResponse) GetCode ¶
func (x *ListMyResponse) GetCode() ListMyResponse_CODE
func (*ListMyResponse) GetErrMsg ¶
func (x *ListMyResponse) GetErrMsg() string
func (*ListMyResponse) GetTeamList ¶
func (x *ListMyResponse) GetTeamList() []*TeamInfo
func (*ListMyResponse) ProtoMessage ¶
func (*ListMyResponse) ProtoMessage()
func (*ListMyResponse) ProtoReflect ¶
func (x *ListMyResponse) ProtoReflect() protoreflect.Message
func (*ListMyResponse) Reset ¶
func (x *ListMyResponse) Reset()
func (*ListMyResponse) String ¶
func (x *ListMyResponse) String() string
type ListMyResponse_CODE ¶
type ListMyResponse_CODE int32
const ( ListMyResponse_CODE_OK ListMyResponse_CODE = 0 ListMyResponse_CODE_WRONG_SESSION ListMyResponse_CODE = 1 ListMyResponse_CODE_NO_PERMISSION ListMyResponse_CODE = 2 )
func (ListMyResponse_CODE) Descriptor ¶
func (ListMyResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListMyResponse_CODE) Enum ¶
func (x ListMyResponse_CODE) Enum() *ListMyResponse_CODE
func (ListMyResponse_CODE) EnumDescriptor
deprecated
func (ListMyResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListMyResponse_CODE.Descriptor instead.
func (ListMyResponse_CODE) Number ¶
func (x ListMyResponse_CODE) Number() protoreflect.EnumNumber
func (ListMyResponse_CODE) String ¶
func (x ListMyResponse_CODE) String() string
func (ListMyResponse_CODE) Type ¶
func (ListMyResponse_CODE) Type() protoreflect.EnumType
type RemoveRequest ¶
type RemoveRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetSessionId ¶
func (x *RemoveRequest) GetSessionId() string
func (*RemoveRequest) GetTeamId ¶
func (x *RemoveRequest) GetTeamId() string
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
type RemoveResponse ¶
type RemoveResponse struct { Code RemoveResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_api.RemoveResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) GetCode ¶
func (x *RemoveResponse) GetCode() RemoveResponse_CODE
func (*RemoveResponse) GetErrMsg ¶
func (x *RemoveResponse) GetErrMsg() string
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) String() string
type RemoveResponse_CODE ¶
type RemoveResponse_CODE int32
const ( RemoveResponse_CODE_OK RemoveResponse_CODE = 0 RemoveResponse_CODE_WRONG_SESSION RemoveResponse_CODE = 1 RemoveResponse_CODE_NO_PERMISSION RemoveResponse_CODE = 2 )
func (RemoveResponse_CODE) Descriptor ¶
func (RemoveResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (RemoveResponse_CODE) Enum ¶
func (x RemoveResponse_CODE) Enum() *RemoveResponse_CODE
func (RemoveResponse_CODE) EnumDescriptor
deprecated
func (RemoveResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoveResponse_CODE.Descriptor instead.
func (RemoveResponse_CODE) Number ¶
func (x RemoveResponse_CODE) Number() protoreflect.EnumNumber
func (RemoveResponse_CODE) String ¶
func (x RemoveResponse_CODE) String() string
func (RemoveResponse_CODE) Type ¶
func (RemoveResponse_CODE) Type() protoreflect.EnumType
type TeamApiClient ¶
type TeamApiClient interface { // 创建团队 Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // 更新团队基础信息 UpdateBasic(ctx context.Context, in *UpdateBasicRequest, opts ...grpc.CallOption) (*UpdateBasicResponse, error) // 更新团队设置 UpdateSetting(ctx context.Context, in *UpdateSettingRequest, opts ...grpc.CallOption) (*UpdateSettingResponse, error) // 删除团队 Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) // 变更超级管理员 ChangeOwner(ctx context.Context, in *ChangeOwnerRequest, opts ...grpc.CallOption) (*ChangeOwnerResponse, error) // 列出我的团队 ListMy(ctx context.Context, in *ListMyRequest, opts ...grpc.CallOption) (*ListMyResponse, error) // 获取单个团队 Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) }
TeamApiClient is the client API for TeamApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTeamApiClient ¶
func NewTeamApiClient(cc grpc.ClientConnInterface) TeamApiClient
type TeamApiServer ¶
type TeamApiServer interface { // 创建团队 Create(context.Context, *CreateRequest) (*CreateResponse, error) // 更新团队基础信息 UpdateBasic(context.Context, *UpdateBasicRequest) (*UpdateBasicResponse, error) // 更新团队设置 UpdateSetting(context.Context, *UpdateSettingRequest) (*UpdateSettingResponse, error) // 删除团队 Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) // 变更超级管理员 ChangeOwner(context.Context, *ChangeOwnerRequest) (*ChangeOwnerResponse, error) // 列出我的团队 ListMy(context.Context, *ListMyRequest) (*ListMyResponse, error) // 获取单个团队 Get(context.Context, *GetRequest) (*GetResponse, error) // contains filtered or unexported methods }
TeamApiServer is the server API for TeamApi service. All implementations must embed UnimplementedTeamApiServer for forward compatibility
type TeamInfo ¶
type TeamInfo struct { TeamId string `protobuf:"bytes,1,opt,name=teamId,proto3" json:"teamId,omitempty"` BasicInfo *BasicTeamInfo `protobuf:"bytes,2,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` Setting *TeamSetting `protobuf:"bytes,3,opt,name=setting,proto3" json:"setting,omitempty"` DiskFsId string `protobuf:"bytes,20,opt,name=diskFsId,proto3" json:"diskFsId,omitempty"` DefaultKnowledgeCateId string `protobuf:"bytes,21,opt,name=defaultKnowledgeCateId,proto3" json:"defaultKnowledgeCateId,omitempty"` //默认知识点类别 OwnerUserId string `protobuf:"bytes,30,opt,name=ownerUserId,proto3" json:"ownerUserId,omitempty"` OwnerDisplayName string `protobuf:"bytes,31,opt,name=ownerDisplayName,proto3" json:"ownerDisplayName,omitempty"` OwnerLogoUri string `protobuf:"bytes,32,opt,name=ownerLogoUri,proto3" json:"ownerLogoUri,omitempty"` CreateTime int64 `protobuf:"varint,33,opt,name=createTime,proto3" json:"createTime,omitempty"` UpdateUserId string `protobuf:"bytes,40,opt,name=updateUserId,proto3" json:"updateUserId,omitempty"` UpdateDisplayName string `protobuf:"bytes,41,opt,name=updateDisplayName,proto3" json:"updateDisplayName,omitempty"` UpdateLogoUri string `protobuf:"bytes,42,opt,name=updateLogoUri,proto3" json:"updateLogoUri,omitempty"` UpdateTime int64 `protobuf:"varint,43,opt,name=updateTime,proto3" json:"updateTime,omitempty"` // contains filtered or unexported fields }
func (*TeamInfo) GetBasicInfo ¶
func (x *TeamInfo) GetBasicInfo() *BasicTeamInfo
func (*TeamInfo) GetSetting ¶
func (x *TeamInfo) GetSetting() *TeamSetting
func (*TeamInfo) ProtoReflect ¶
func (x *TeamInfo) ProtoReflect() protoreflect.Message
type TeamSetting ¶
type TeamSetting struct {
// contains filtered or unexported fields
}
func (*TeamSetting) Descriptor
deprecated
func (*TeamSetting) Descriptor() ([]byte, []int)
Deprecated: Use TeamSetting.ProtoReflect.Descriptor instead.
func (*TeamSetting) ProtoMessage ¶
func (*TeamSetting) ProtoMessage()
func (*TeamSetting) ProtoReflect ¶
func (x *TeamSetting) ProtoReflect() protoreflect.Message
func (*TeamSetting) Reset ¶
func (x *TeamSetting) Reset()
func (*TeamSetting) String ¶
func (x *TeamSetting) String() string
type UnimplementedTeamApiServer ¶
type UnimplementedTeamApiServer struct { }
UnimplementedTeamApiServer must be embedded to have forward compatible implementations.
func (UnimplementedTeamApiServer) ChangeOwner ¶
func (UnimplementedTeamApiServer) ChangeOwner(context.Context, *ChangeOwnerRequest) (*ChangeOwnerResponse, error)
func (UnimplementedTeamApiServer) Create ¶
func (UnimplementedTeamApiServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedTeamApiServer) Get ¶
func (UnimplementedTeamApiServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedTeamApiServer) ListMy ¶
func (UnimplementedTeamApiServer) ListMy(context.Context, *ListMyRequest) (*ListMyResponse, error)
func (UnimplementedTeamApiServer) Remove ¶
func (UnimplementedTeamApiServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
func (UnimplementedTeamApiServer) UpdateBasic ¶
func (UnimplementedTeamApiServer) UpdateBasic(context.Context, *UpdateBasicRequest) (*UpdateBasicResponse, error)
func (UnimplementedTeamApiServer) UpdateSetting ¶
func (UnimplementedTeamApiServer) UpdateSetting(context.Context, *UpdateSettingRequest) (*UpdateSettingResponse, error)
type UnsafeTeamApiServer ¶
type UnsafeTeamApiServer interface {
// contains filtered or unexported methods
}
UnsafeTeamApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TeamApiServer will result in compilation errors.
type UpdateBasicRequest ¶
type UpdateBasicRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` BasicInfo *BasicTeamInfo `protobuf:"bytes,3,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` // contains filtered or unexported fields }
func (*UpdateBasicRequest) Descriptor
deprecated
func (*UpdateBasicRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBasicRequest.ProtoReflect.Descriptor instead.
func (*UpdateBasicRequest) GetBasicInfo ¶
func (x *UpdateBasicRequest) GetBasicInfo() *BasicTeamInfo
func (*UpdateBasicRequest) GetSessionId ¶
func (x *UpdateBasicRequest) GetSessionId() string
func (*UpdateBasicRequest) GetTeamId ¶
func (x *UpdateBasicRequest) GetTeamId() string
func (*UpdateBasicRequest) ProtoMessage ¶
func (*UpdateBasicRequest) ProtoMessage()
func (*UpdateBasicRequest) ProtoReflect ¶
func (x *UpdateBasicRequest) ProtoReflect() protoreflect.Message
func (*UpdateBasicRequest) Reset ¶
func (x *UpdateBasicRequest) Reset()
func (*UpdateBasicRequest) String ¶
func (x *UpdateBasicRequest) String() string
type UpdateBasicResponse ¶
type UpdateBasicResponse struct { Code UpdateBasicResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_api.UpdateBasicResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*UpdateBasicResponse) Descriptor
deprecated
func (*UpdateBasicResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBasicResponse.ProtoReflect.Descriptor instead.
func (*UpdateBasicResponse) GetCode ¶
func (x *UpdateBasicResponse) GetCode() UpdateBasicResponse_CODE
func (*UpdateBasicResponse) GetErrMsg ¶
func (x *UpdateBasicResponse) GetErrMsg() string
func (*UpdateBasicResponse) ProtoMessage ¶
func (*UpdateBasicResponse) ProtoMessage()
func (*UpdateBasicResponse) ProtoReflect ¶
func (x *UpdateBasicResponse) ProtoReflect() protoreflect.Message
func (*UpdateBasicResponse) Reset ¶
func (x *UpdateBasicResponse) Reset()
func (*UpdateBasicResponse) String ¶
func (x *UpdateBasicResponse) String() string
type UpdateBasicResponse_CODE ¶
type UpdateBasicResponse_CODE int32
const ( UpdateBasicResponse_CODE_OK UpdateBasicResponse_CODE = 0 UpdateBasicResponse_CODE_WRONG_SESSION UpdateBasicResponse_CODE = 1 UpdateBasicResponse_CODE_NO_TEAM UpdateBasicResponse_CODE = 2 UpdateBasicResponse_CODE_NO_PERMISSION UpdateBasicResponse_CODE = 3 )
func (UpdateBasicResponse_CODE) Descriptor ¶
func (UpdateBasicResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (UpdateBasicResponse_CODE) Enum ¶
func (x UpdateBasicResponse_CODE) Enum() *UpdateBasicResponse_CODE
func (UpdateBasicResponse_CODE) EnumDescriptor
deprecated
func (UpdateBasicResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateBasicResponse_CODE.Descriptor instead.
func (UpdateBasicResponse_CODE) Number ¶
func (x UpdateBasicResponse_CODE) Number() protoreflect.EnumNumber
func (UpdateBasicResponse_CODE) String ¶
func (x UpdateBasicResponse_CODE) String() string
func (UpdateBasicResponse_CODE) Type ¶
func (UpdateBasicResponse_CODE) Type() protoreflect.EnumType
type UpdateSettingRequest ¶
type UpdateSettingRequest struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"` Setting *TeamSetting `protobuf:"bytes,3,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*UpdateSettingRequest) Descriptor
deprecated
func (*UpdateSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingRequest.ProtoReflect.Descriptor instead.
func (*UpdateSettingRequest) GetSessionId ¶
func (x *UpdateSettingRequest) GetSessionId() string
func (*UpdateSettingRequest) GetSetting ¶
func (x *UpdateSettingRequest) GetSetting() *TeamSetting
func (*UpdateSettingRequest) GetTeamId ¶
func (x *UpdateSettingRequest) GetTeamId() string
func (*UpdateSettingRequest) ProtoMessage ¶
func (*UpdateSettingRequest) ProtoMessage()
func (*UpdateSettingRequest) ProtoReflect ¶
func (x *UpdateSettingRequest) ProtoReflect() protoreflect.Message
func (*UpdateSettingRequest) Reset ¶
func (x *UpdateSettingRequest) Reset()
func (*UpdateSettingRequest) String ¶
func (x *UpdateSettingRequest) String() string
type UpdateSettingResponse ¶
type UpdateSettingResponse struct { Code UpdateSettingResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=team_api.UpdateSettingResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*UpdateSettingResponse) Descriptor
deprecated
func (*UpdateSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingResponse.ProtoReflect.Descriptor instead.
func (*UpdateSettingResponse) GetCode ¶
func (x *UpdateSettingResponse) GetCode() UpdateSettingResponse_CODE
func (*UpdateSettingResponse) GetErrMsg ¶
func (x *UpdateSettingResponse) GetErrMsg() string
func (*UpdateSettingResponse) ProtoMessage ¶
func (*UpdateSettingResponse) ProtoMessage()
func (*UpdateSettingResponse) ProtoReflect ¶
func (x *UpdateSettingResponse) ProtoReflect() protoreflect.Message
func (*UpdateSettingResponse) Reset ¶
func (x *UpdateSettingResponse) Reset()
func (*UpdateSettingResponse) String ¶
func (x *UpdateSettingResponse) String() string
type UpdateSettingResponse_CODE ¶
type UpdateSettingResponse_CODE int32
const ( UpdateSettingResponse_CODE_OK UpdateSettingResponse_CODE = 0 UpdateSettingResponse_CODE_WRONG_SESSION UpdateSettingResponse_CODE = 1 UpdateSettingResponse_CODE_NO_TEAM UpdateSettingResponse_CODE = 2 UpdateSettingResponse_CODE_NO_PERMISSION UpdateSettingResponse_CODE = 3 )
func (UpdateSettingResponse_CODE) Descriptor ¶
func (UpdateSettingResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (UpdateSettingResponse_CODE) Enum ¶
func (x UpdateSettingResponse_CODE) Enum() *UpdateSettingResponse_CODE
func (UpdateSettingResponse_CODE) EnumDescriptor
deprecated
func (UpdateSettingResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateSettingResponse_CODE.Descriptor instead.
func (UpdateSettingResponse_CODE) Number ¶
func (x UpdateSettingResponse_CODE) Number() protoreflect.EnumNumber
func (UpdateSettingResponse_CODE) String ¶
func (x UpdateSettingResponse_CODE) String() string
func (UpdateSettingResponse_CODE) Type ¶
func (UpdateSettingResponse_CODE) Type() protoreflect.EnumType