// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 // protoc v5.28.3 // source: DeviceAuthRsp.proto package workphone import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type DeviceAuthRspMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` //授权成功后颁发给客户端的accesstoken Extra *DeviceAuthRspMessage_ExtraMessage `protobuf:"bytes,2,opt,name=Extra,proto3" json:"Extra,omitempty"` } func (x *DeviceAuthRspMessage) Reset() { *x = DeviceAuthRspMessage{} mi := &file_DeviceAuthRsp_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeviceAuthRspMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeviceAuthRspMessage) ProtoMessage() {} func (x *DeviceAuthRspMessage) ProtoReflect() protoreflect.Message { mi := &file_DeviceAuthRsp_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeviceAuthRspMessage.ProtoReflect.Descriptor instead. func (*DeviceAuthRspMessage) Descriptor() ([]byte, []int) { return file_DeviceAuthRsp_proto_rawDescGZIP(), []int{0} } func (x *DeviceAuthRspMessage) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } func (x *DeviceAuthRspMessage) GetExtra() *DeviceAuthRspMessage_ExtraMessage { if x != nil { return x.Extra } return nil } type DeviceAuthRspMessage_ExtraMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SupplierId int64 `protobuf:"varint,1,opt,name=SupplierId,proto3" json:"SupplierId,omitempty"` UnionId int64 `protobuf:"varint,2,opt,name=UnionId,proto3" json:"UnionId,omitempty"` AccountType EnumAccountType `protobuf:"varint,3,opt,name=AccountType,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumAccountType" json:"AccountType,omitempty"` SupplierName string `protobuf:"bytes,4,opt,name=SupplierName,proto3" json:"SupplierName,omitempty"` NickName string `protobuf:"bytes,5,opt,name=NickName,proto3" json:"NickName,omitempty"` Token string `protobuf:"bytes,6,opt,name=Token,proto3" json:"Token,omitempty"` // 访问www使用 } func (x *DeviceAuthRspMessage_ExtraMessage) Reset() { *x = DeviceAuthRspMessage_ExtraMessage{} mi := &file_DeviceAuthRsp_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeviceAuthRspMessage_ExtraMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeviceAuthRspMessage_ExtraMessage) ProtoMessage() {} func (x *DeviceAuthRspMessage_ExtraMessage) ProtoReflect() protoreflect.Message { mi := &file_DeviceAuthRsp_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeviceAuthRspMessage_ExtraMessage.ProtoReflect.Descriptor instead. func (*DeviceAuthRspMessage_ExtraMessage) Descriptor() ([]byte, []int) { return file_DeviceAuthRsp_proto_rawDescGZIP(), []int{0, 0} } func (x *DeviceAuthRspMessage_ExtraMessage) GetSupplierId() int64 { if x != nil { return x.SupplierId } return 0 } func (x *DeviceAuthRspMessage_ExtraMessage) GetUnionId() int64 { if x != nil { return x.UnionId } return 0 } func (x *DeviceAuthRspMessage_ExtraMessage) GetAccountType() EnumAccountType { if x != nil { return x.AccountType } return EnumAccountType_UnknownAccountType } func (x *DeviceAuthRspMessage_ExtraMessage) GetSupplierName() string { if x != nil { return x.SupplierName } return "" } func (x *DeviceAuthRspMessage_ExtraMessage) GetNickName() string { if x != nil { return x.NickName } return "" } func (x *DeviceAuthRspMessage_ExtraMessage) GetToken() string { if x != nil { return x.Token } return "" } var File_DeviceAuthRsp_proto protoreflect.FileDescriptor var file_DeviceAuthRsp_proto_rawDesc = []byte{ 0x0a, 0x13, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x52, 0x73, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x02, 0x0a, 0x14, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x52, 0x73, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x50, 0x0a, 0x05, 0x45, 0x78, 0x74, 0x72, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x52, 0x73, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x45, 0x78, 0x74, 0x72, 0x61, 0x1a, 0xea, 0x01, 0x0a, 0x0c, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_DeviceAuthRsp_proto_rawDescOnce sync.Once file_DeviceAuthRsp_proto_rawDescData = file_DeviceAuthRsp_proto_rawDesc ) func file_DeviceAuthRsp_proto_rawDescGZIP() []byte { file_DeviceAuthRsp_proto_rawDescOnce.Do(func() { file_DeviceAuthRsp_proto_rawDescData = protoimpl.X.CompressGZIP(file_DeviceAuthRsp_proto_rawDescData) }) return file_DeviceAuthRsp_proto_rawDescData } var file_DeviceAuthRsp_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_DeviceAuthRsp_proto_goTypes = []any{ (*DeviceAuthRspMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.DeviceAuthRspMessage (*DeviceAuthRspMessage_ExtraMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.DeviceAuthRspMessage.ExtraMessage (EnumAccountType)(0), // 2: Jubo.JuLiao.IM.Wx.Proto.EnumAccountType } var file_DeviceAuthRsp_proto_depIdxs = []int32{ 1, // 0: Jubo.JuLiao.IM.Wx.Proto.DeviceAuthRspMessage.Extra:type_name -> Jubo.JuLiao.IM.Wx.Proto.DeviceAuthRspMessage.ExtraMessage 2, // 1: Jubo.JuLiao.IM.Wx.Proto.DeviceAuthRspMessage.ExtraMessage.AccountType:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumAccountType 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_DeviceAuthRsp_proto_init() } func file_DeviceAuthRsp_proto_init() { if File_DeviceAuthRsp_proto != nil { return } file_TransportMessage_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_DeviceAuthRsp_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_DeviceAuthRsp_proto_goTypes, DependencyIndexes: file_DeviceAuthRsp_proto_depIdxs, MessageInfos: file_DeviceAuthRsp_proto_msgTypes, }.Build() File_DeviceAuthRsp_proto = out.File file_DeviceAuthRsp_proto_rawDesc = nil file_DeviceAuthRsp_proto_goTypes = nil file_DeviceAuthRsp_proto_depIdxs = nil }