Documentation
¶
Index ¶
- Variables
- func RegisterUserProfileServer(s grpc.ServiceRegistrar, srv UserProfileServer)
- type AddChatListRequest
- func (*AddChatListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddChatListRequest) GetAccessToken() string
- func (x *AddChatListRequest) GetAnnouncementID() int32
- func (x *AddChatListRequest) GetHostID() int32
- func (*AddChatListRequest) ProtoMessage()
- func (x *AddChatListRequest) ProtoReflect() protoreflect.Message
- func (x *AddChatListRequest) Reset()
- func (x *AddChatListRequest) String() string
- type AddChatListResponse
- func (*AddChatListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddChatListResponse) GetMessage() string
- func (*AddChatListResponse) ProtoMessage()
- func (x *AddChatListResponse) ProtoReflect() protoreflect.Message
- func (x *AddChatListResponse) Reset()
- func (x *AddChatListResponse) String() string
- type ChatList
- func (*ChatList) Descriptor() ([]byte, []int)deprecated
- func (x *ChatList) GetAnnoucementId() int32
- func (x *ChatList) GetHostID() int32
- func (x *ChatList) GetID() int32
- func (x *ChatList) GetImage() string
- func (x *ChatList) GetIsHost() string
- func (x *ChatList) GetStatus() int32
- func (x *ChatList) GetUsername() string
- func (*ChatList) ProtoMessage()
- func (x *ChatList) ProtoReflect() protoreflect.Message
- func (x *ChatList) Reset()
- func (x *ChatList) String() string
- type ChatListRequest
- type ChatListResponse
- func (*ChatListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChatListResponse) GetMessage() string
- func (x *ChatListResponse) GetUsers() []*ChatList
- func (*ChatListResponse) ProtoMessage()
- func (x *ChatListResponse) ProtoReflect() protoreflect.Message
- func (x *ChatListResponse) Reset()
- func (x *ChatListResponse) String() string
- type EditProfileRequest
- func (*EditProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EditProfileRequest) GetAccessToken() string
- func (x *EditProfileRequest) GetAddress() string
- func (x *EditProfileRequest) GetBio() string
- func (x *EditProfileRequest) GetCity() string
- func (x *EditProfileRequest) GetCountry() string
- func (x *EditProfileRequest) GetCurrentPassword() string
- func (x *EditProfileRequest) GetFirstName() string
- func (x *EditProfileRequest) GetInterests() []string
- func (x *EditProfileRequest) GetIsHost() string
- func (x *EditProfileRequest) GetIsKidFriendly() string
- func (x *EditProfileRequest) GetIsPetFriendly() string
- func (x *EditProfileRequest) GetIsSmokingAllowed() string
- func (x *EditProfileRequest) GetLanguages() []string
- func (x *EditProfileRequest) GetLastName() string
- func (x *EditProfileRequest) GetNewPassword() string
- func (x *EditProfileRequest) GetPhoneNumber() string
- func (x *EditProfileRequest) GetRoomNumber() int32
- func (x *EditProfileRequest) GetState() string
- func (*EditProfileRequest) ProtoMessage()
- func (x *EditProfileRequest) ProtoReflect() protoreflect.Message
- func (x *EditProfileRequest) Reset()
- func (x *EditProfileRequest) String() string
- type EditProfileResponse
- func (*EditProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EditProfileResponse) GetMessage() string
- func (*EditProfileResponse) ProtoMessage()
- func (x *EditProfileResponse) ProtoReflect() protoreflect.Message
- func (x *EditProfileResponse) Reset()
- func (x *EditProfileResponse) String() string
- type ImageRequest
- func (*ImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImageRequest) GetAccessToken() string
- func (x *ImageRequest) GetImageData() []byte
- func (*ImageRequest) ProtoMessage()
- func (x *ImageRequest) ProtoReflect() protoreflect.Message
- func (x *ImageRequest) Reset()
- func (x *ImageRequest) String() string
- type ImageResponse
- type ProfileDetailsRequest
- func (*ProfileDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileDetailsRequest) GetAccessToken() string
- func (*ProfileDetailsRequest) ProtoMessage()
- func (x *ProfileDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *ProfileDetailsRequest) Reset()
- func (x *ProfileDetailsRequest) String() string
- type ProfileDetailsResponse
- func (*ProfileDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileDetailsResponse) GetAddress() string
- func (x *ProfileDetailsResponse) GetBio() string
- func (x *ProfileDetailsResponse) GetBirthDate() string
- func (x *ProfileDetailsResponse) GetCity() string
- func (x *ProfileDetailsResponse) GetCountry() string
- func (x *ProfileDetailsResponse) GetEmail() string
- func (x *ProfileDetailsResponse) GetFirstName() string
- func (x *ProfileDetailsResponse) GetGender() int32
- func (x *ProfileDetailsResponse) GetHostHouseImages() []string
- func (x *ProfileDetailsResponse) GetImage() string
- func (x *ProfileDetailsResponse) GetInterests() []string
- func (x *ProfileDetailsResponse) GetIsHost() string
- func (x *ProfileDetailsResponse) GetIsKidFriendly() string
- func (x *ProfileDetailsResponse) GetIsPetFriendly() string
- func (x *ProfileDetailsResponse) GetIsSmokingAllowed() string
- func (x *ProfileDetailsResponse) GetJoiningDate() string
- func (x *ProfileDetailsResponse) GetLanguages() []string
- func (x *ProfileDetailsResponse) GetLastName() string
- func (x *ProfileDetailsResponse) GetMessage() string
- func (x *ProfileDetailsResponse) GetPhoneNumber() string
- func (x *ProfileDetailsResponse) GetRoomNumber() int32
- func (x *ProfileDetailsResponse) GetState() string
- func (x *ProfileDetailsResponse) GetUserName() string
- func (*ProfileDetailsResponse) ProtoMessage()
- func (x *ProfileDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileDetailsResponse) Reset()
- func (x *ProfileDetailsResponse) String() string
- type PublicProfileHostRequest
- func (*PublicProfileHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublicProfileHostRequest) GetAccessToken() string
- func (x *PublicProfileHostRequest) GetUsername() string
- func (*PublicProfileHostRequest) ProtoMessage()
- func (x *PublicProfileHostRequest) ProtoReflect() protoreflect.Message
- func (x *PublicProfileHostRequest) Reset()
- func (x *PublicProfileHostRequest) String() string
- type PublicProfileHostResponse
- func (*PublicProfileHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublicProfileHostResponse) GetAddress() string
- func (x *PublicProfileHostResponse) GetBio() string
- func (x *PublicProfileHostResponse) GetBirthDate() string
- func (x *PublicProfileHostResponse) GetCity() string
- func (x *PublicProfileHostResponse) GetCountry() string
- func (x *PublicProfileHostResponse) GetEmail() string
- func (x *PublicProfileHostResponse) GetFirstName() string
- func (x *PublicProfileHostResponse) GetGender() int32
- func (x *PublicProfileHostResponse) GetHostHouseImages() []string
- func (x *PublicProfileHostResponse) GetImage() string
- func (x *PublicProfileHostResponse) GetInterests() []string
- func (x *PublicProfileHostResponse) GetIsHost() string
- func (x *PublicProfileHostResponse) GetIsKidFriendly() string
- func (x *PublicProfileHostResponse) GetIsPetFriendly() string
- func (x *PublicProfileHostResponse) GetIsSmokingAllowed() string
- func (x *PublicProfileHostResponse) GetJoiningDate() string
- func (x *PublicProfileHostResponse) GetLanguages() []string
- func (x *PublicProfileHostResponse) GetLastName() string
- func (x *PublicProfileHostResponse) GetMessage() string
- func (x *PublicProfileHostResponse) GetPhoneNumber() string
- func (x *PublicProfileHostResponse) GetRoomNumber() int32
- func (x *PublicProfileHostResponse) GetState() string
- func (x *PublicProfileHostResponse) GetUserName() string
- func (*PublicProfileHostResponse) ProtoMessage()
- func (x *PublicProfileHostResponse) ProtoReflect() protoreflect.Message
- func (x *PublicProfileHostResponse) Reset()
- func (x *PublicProfileHostResponse) String() string
- type PublicProfileRequest
- func (*PublicProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublicProfileRequest) GetAccessToken() string
- func (x *PublicProfileRequest) GetUsername() string
- func (*PublicProfileRequest) ProtoMessage()
- func (x *PublicProfileRequest) ProtoReflect() protoreflect.Message
- func (x *PublicProfileRequest) Reset()
- func (x *PublicProfileRequest) String() string
- type PublicProfileResponse
- func (*PublicProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublicProfileResponse) GetBio() string
- func (x *PublicProfileResponse) GetBirthDate() string
- func (x *PublicProfileResponse) GetCity() string
- func (x *PublicProfileResponse) GetCountry() string
- func (x *PublicProfileResponse) GetEmail() string
- func (x *PublicProfileResponse) GetFirstName() string
- func (x *PublicProfileResponse) GetGender() int32
- func (x *PublicProfileResponse) GetImage() string
- func (x *PublicProfileResponse) GetJoiningDate() string
- func (x *PublicProfileResponse) GetLastName() string
- func (x *PublicProfileResponse) GetMessage() string
- func (x *PublicProfileResponse) GetState() string
- func (x *PublicProfileResponse) GetUserName() string
- func (*PublicProfileResponse) ProtoMessage()
- func (x *PublicProfileResponse) ProtoReflect() protoreflect.Message
- func (x *PublicProfileResponse) Reset()
- func (x *PublicProfileResponse) String() string
- type UnimplementedUserProfileServer
- func (UnimplementedUserProfileServer) AddToChatList(context.Context, *AddChatListRequest) (*AddChatListResponse, error)
- func (UnimplementedUserProfileServer) EditProfile(context.Context, *EditProfileRequest) (*EditProfileResponse, error)
- func (UnimplementedUserProfileServer) GetChatList(context.Context, *ChatListRequest) (*ChatListResponse, error)
- func (UnimplementedUserProfileServer) ProfileDetails(context.Context, *ProfileDetailsRequest) (*ProfileDetailsResponse, error)
- func (UnimplementedUserProfileServer) PublicProfile(context.Context, *PublicProfileRequest) (*PublicProfileResponse, error)
- func (UnimplementedUserProfileServer) PublicProfileHost(context.Context, *PublicProfileHostRequest) (*PublicProfileHostResponse, error)
- func (UnimplementedUserProfileServer) UploadImage(context.Context, *ImageRequest) (*ImageResponse, error)
- type UnsafeUserProfileServer
- type UserProfileClient
- type UserProfileServer
Constants ¶
This section is empty.
Variables ¶
var File_userprofile_proto protoreflect.FileDescriptor
var UserProfile_ServiceDesc = grpc.ServiceDesc{ ServiceName: "UserProfile", HandlerType: (*UserProfileServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ProfileDetails", Handler: _UserProfile_ProfileDetails_Handler, }, { MethodName: "EditProfile", Handler: _UserProfile_EditProfile_Handler, }, { MethodName: "UploadImage", Handler: _UserProfile_UploadImage_Handler, }, { MethodName: "PublicProfile", Handler: _UserProfile_PublicProfile_Handler, }, { MethodName: "PublicProfileHost", Handler: _UserProfile_PublicProfileHost_Handler, }, { MethodName: "AddToChatList", Handler: _UserProfile_AddToChatList_Handler, }, { MethodName: "GetChatList", Handler: _UserProfile_GetChatList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "userprofile.proto", }
UserProfile_ServiceDesc is the grpc.ServiceDesc for UserProfile service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserProfileServer ¶
func RegisterUserProfileServer(s grpc.ServiceRegistrar, srv UserProfileServer)
Types ¶
type AddChatListRequest ¶
type AddChatListRequest struct { HostID int32 `protobuf:"varint,1,opt,name=HostID,proto3" json:"HostID,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` AnnouncementID int32 `protobuf:"varint,3,opt,name=AnnouncementID,proto3" json:"AnnouncementID,omitempty"` // contains filtered or unexported fields }
func (*AddChatListRequest) Descriptor
deprecated
func (*AddChatListRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddChatListRequest.ProtoReflect.Descriptor instead.
func (*AddChatListRequest) GetAccessToken ¶
func (x *AddChatListRequest) GetAccessToken() string
func (*AddChatListRequest) GetAnnouncementID ¶
func (x *AddChatListRequest) GetAnnouncementID() int32
func (*AddChatListRequest) GetHostID ¶
func (x *AddChatListRequest) GetHostID() int32
func (*AddChatListRequest) ProtoMessage ¶
func (*AddChatListRequest) ProtoMessage()
func (*AddChatListRequest) ProtoReflect ¶
func (x *AddChatListRequest) ProtoReflect() protoreflect.Message
func (*AddChatListRequest) Reset ¶
func (x *AddChatListRequest) Reset()
func (*AddChatListRequest) String ¶
func (x *AddChatListRequest) String() string
type AddChatListResponse ¶
type AddChatListResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*AddChatListResponse) Descriptor
deprecated
func (*AddChatListResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddChatListResponse.ProtoReflect.Descriptor instead.
func (*AddChatListResponse) GetMessage ¶
func (x *AddChatListResponse) GetMessage() string
func (*AddChatListResponse) ProtoMessage ¶
func (*AddChatListResponse) ProtoMessage()
func (*AddChatListResponse) ProtoReflect ¶
func (x *AddChatListResponse) ProtoReflect() protoreflect.Message
func (*AddChatListResponse) Reset ¶
func (x *AddChatListResponse) Reset()
func (*AddChatListResponse) String ¶
func (x *AddChatListResponse) String() string
type ChatList ¶
type ChatList struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` HostID int32 `protobuf:"varint,2,opt,name=HostID,proto3" json:"HostID,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` IsHost string `protobuf:"bytes,5,opt,name=isHost,proto3" json:"isHost,omitempty"` AnnoucementId int32 `protobuf:"varint,6,opt,name=annoucement_id,json=annoucementId,proto3" json:"annoucement_id,omitempty"` Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ChatList) Descriptor
deprecated
func (*ChatList) GetAnnoucementId ¶
func (*ChatList) GetUsername ¶
func (*ChatList) ProtoMessage ¶
func (*ChatList) ProtoMessage()
func (*ChatList) ProtoReflect ¶
func (x *ChatList) ProtoReflect() protoreflect.Message
type ChatListRequest ¶
type ChatListRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` // contains filtered or unexported fields }
func (*ChatListRequest) Descriptor
deprecated
func (*ChatListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChatListRequest.ProtoReflect.Descriptor instead.
func (*ChatListRequest) GetAccessToken ¶
func (x *ChatListRequest) GetAccessToken() string
func (*ChatListRequest) ProtoMessage ¶
func (*ChatListRequest) ProtoMessage()
func (*ChatListRequest) ProtoReflect ¶
func (x *ChatListRequest) ProtoReflect() protoreflect.Message
func (*ChatListRequest) Reset ¶
func (x *ChatListRequest) Reset()
func (*ChatListRequest) String ¶
func (x *ChatListRequest) String() string
type ChatListResponse ¶
type ChatListResponse struct { Users []*ChatList `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChatListResponse) Descriptor
deprecated
func (*ChatListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChatListResponse.ProtoReflect.Descriptor instead.
func (*ChatListResponse) GetMessage ¶
func (x *ChatListResponse) GetMessage() string
func (*ChatListResponse) GetUsers ¶
func (x *ChatListResponse) GetUsers() []*ChatList
func (*ChatListResponse) ProtoMessage ¶
func (*ChatListResponse) ProtoMessage()
func (*ChatListResponse) ProtoReflect ¶
func (x *ChatListResponse) ProtoReflect() protoreflect.Message
func (*ChatListResponse) Reset ¶
func (x *ChatListResponse) Reset()
func (*ChatListResponse) String ¶
func (x *ChatListResponse) String() string
type EditProfileRequest ¶
type EditProfileRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` CurrentPassword string `protobuf:"bytes,2,opt,name=CurrentPassword,proto3" json:"CurrentPassword,omitempty"` NewPassword string `protobuf:"bytes,3,opt,name=NewPassword,proto3" json:"NewPassword,omitempty"` FirstName string `protobuf:"bytes,4,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,5,opt,name=LastName,proto3" json:"LastName,omitempty"` City string `protobuf:"bytes,6,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,7,opt,name=State,proto3" json:"State,omitempty"` Country string `protobuf:"bytes,8,opt,name=Country,proto3" json:"Country,omitempty"` Bio string `protobuf:"bytes,9,opt,name=Bio,proto3" json:"Bio,omitempty"` IsHost string `protobuf:"bytes,10,opt,name=IsHost,proto3" json:"IsHost,omitempty"` Address string `protobuf:"bytes,11,opt,name=Address,proto3" json:"Address,omitempty"` IsPetFriendly string `protobuf:"bytes,12,opt,name=IsPetFriendly,proto3" json:"IsPetFriendly,omitempty"` IsKidFriendly string `protobuf:"bytes,13,opt,name=IsKidFriendly,proto3" json:"IsKidFriendly,omitempty"` IsSmokingAllowed string `protobuf:"bytes,14,opt,name=IsSmokingAllowed,proto3" json:"IsSmokingAllowed,omitempty"` RoomNumber int32 `protobuf:"varint,15,opt,name=RoomNumber,proto3" json:"RoomNumber,omitempty"` PhoneNumber string `protobuf:"bytes,16,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` Interests []string `protobuf:"bytes,17,rep,name=interests,proto3" json:"interests,omitempty"` Languages []string `protobuf:"bytes,18,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
func (*EditProfileRequest) Descriptor
deprecated
func (*EditProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use EditProfileRequest.ProtoReflect.Descriptor instead.
func (*EditProfileRequest) GetAccessToken ¶
func (x *EditProfileRequest) GetAccessToken() string
func (*EditProfileRequest) GetAddress ¶
func (x *EditProfileRequest) GetAddress() string
func (*EditProfileRequest) GetBio ¶
func (x *EditProfileRequest) GetBio() string
func (*EditProfileRequest) GetCity ¶
func (x *EditProfileRequest) GetCity() string
func (*EditProfileRequest) GetCountry ¶
func (x *EditProfileRequest) GetCountry() string
func (*EditProfileRequest) GetCurrentPassword ¶
func (x *EditProfileRequest) GetCurrentPassword() string
func (*EditProfileRequest) GetFirstName ¶
func (x *EditProfileRequest) GetFirstName() string
func (*EditProfileRequest) GetInterests ¶
func (x *EditProfileRequest) GetInterests() []string
func (*EditProfileRequest) GetIsHost ¶
func (x *EditProfileRequest) GetIsHost() string
func (*EditProfileRequest) GetIsKidFriendly ¶
func (x *EditProfileRequest) GetIsKidFriendly() string
func (*EditProfileRequest) GetIsPetFriendly ¶
func (x *EditProfileRequest) GetIsPetFriendly() string
func (*EditProfileRequest) GetIsSmokingAllowed ¶
func (x *EditProfileRequest) GetIsSmokingAllowed() string
func (*EditProfileRequest) GetLanguages ¶
func (x *EditProfileRequest) GetLanguages() []string
func (*EditProfileRequest) GetLastName ¶
func (x *EditProfileRequest) GetLastName() string
func (*EditProfileRequest) GetNewPassword ¶
func (x *EditProfileRequest) GetNewPassword() string
func (*EditProfileRequest) GetPhoneNumber ¶
func (x *EditProfileRequest) GetPhoneNumber() string
func (*EditProfileRequest) GetRoomNumber ¶
func (x *EditProfileRequest) GetRoomNumber() int32
func (*EditProfileRequest) GetState ¶
func (x *EditProfileRequest) GetState() string
func (*EditProfileRequest) ProtoMessage ¶
func (*EditProfileRequest) ProtoMessage()
func (*EditProfileRequest) ProtoReflect ¶
func (x *EditProfileRequest) ProtoReflect() protoreflect.Message
func (*EditProfileRequest) Reset ¶
func (x *EditProfileRequest) Reset()
func (*EditProfileRequest) String ¶
func (x *EditProfileRequest) String() string
type EditProfileResponse ¶
type EditProfileResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*EditProfileResponse) Descriptor
deprecated
func (*EditProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use EditProfileResponse.ProtoReflect.Descriptor instead.
func (*EditProfileResponse) GetMessage ¶
func (x *EditProfileResponse) GetMessage() string
func (*EditProfileResponse) ProtoMessage ¶
func (*EditProfileResponse) ProtoMessage()
func (*EditProfileResponse) ProtoReflect ¶
func (x *EditProfileResponse) ProtoReflect() protoreflect.Message
func (*EditProfileResponse) Reset ¶
func (x *EditProfileResponse) Reset()
func (*EditProfileResponse) String ¶
func (x *EditProfileResponse) String() string
type ImageRequest ¶
type ImageRequest struct { ImageData []byte `protobuf:"bytes,1,opt,name=image_data,json=imageData,proto3" json:"image_data,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` // contains filtered or unexported fields }
func (*ImageRequest) Descriptor
deprecated
func (*ImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageRequest.ProtoReflect.Descriptor instead.
func (*ImageRequest) GetAccessToken ¶
func (x *ImageRequest) GetAccessToken() string
func (*ImageRequest) GetImageData ¶
func (x *ImageRequest) GetImageData() []byte
func (*ImageRequest) ProtoMessage ¶
func (*ImageRequest) ProtoMessage()
func (*ImageRequest) ProtoReflect ¶
func (x *ImageRequest) ProtoReflect() protoreflect.Message
func (*ImageRequest) Reset ¶
func (x *ImageRequest) Reset()
func (*ImageRequest) String ¶
func (x *ImageRequest) String() string
type ImageResponse ¶
type ImageResponse struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*ImageResponse) Descriptor
deprecated
func (*ImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageResponse.ProtoReflect.Descriptor instead.
func (*ImageResponse) GetMessage ¶
func (x *ImageResponse) GetMessage() string
func (*ImageResponse) ProtoMessage ¶
func (*ImageResponse) ProtoMessage()
func (*ImageResponse) ProtoReflect ¶
func (x *ImageResponse) ProtoReflect() protoreflect.Message
func (*ImageResponse) Reset ¶
func (x *ImageResponse) Reset()
func (*ImageResponse) String ¶
func (x *ImageResponse) String() string
type ProfileDetailsRequest ¶
type ProfileDetailsRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` // contains filtered or unexported fields }
func (*ProfileDetailsRequest) Descriptor
deprecated
func (*ProfileDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProfileDetailsRequest.ProtoReflect.Descriptor instead.
func (*ProfileDetailsRequest) GetAccessToken ¶
func (x *ProfileDetailsRequest) GetAccessToken() string
func (*ProfileDetailsRequest) ProtoMessage ¶
func (*ProfileDetailsRequest) ProtoMessage()
func (*ProfileDetailsRequest) ProtoReflect ¶
func (x *ProfileDetailsRequest) ProtoReflect() protoreflect.Message
func (*ProfileDetailsRequest) Reset ¶
func (x *ProfileDetailsRequest) Reset()
func (*ProfileDetailsRequest) String ¶
func (x *ProfileDetailsRequest) String() string
type ProfileDetailsResponse ¶
type ProfileDetailsResponse struct { Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"` UserName string `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,4,opt,name=LastName,proto3" json:"LastName,omitempty"` BirthDate string `protobuf:"bytes,5,opt,name=BirthDate,proto3" json:"BirthDate,omitempty"` City string `protobuf:"bytes,6,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,7,opt,name=State,proto3" json:"State,omitempty"` Country string `protobuf:"bytes,8,opt,name=Country,proto3" json:"Country,omitempty"` Gender int32 `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"` JoiningDate string `protobuf:"bytes,10,opt,name=JoiningDate,proto3" json:"JoiningDate,omitempty"` Bio string `protobuf:"bytes,11,opt,name=Bio,proto3" json:"Bio,omitempty"` IsHost string `protobuf:"bytes,12,opt,name=IsHost,proto3" json:"IsHost,omitempty"` Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` PhoneNumber string `protobuf:"bytes,14,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` IsPetFriendly string `protobuf:"bytes,15,opt,name=IsPetFriendly,proto3" json:"IsPetFriendly,omitempty"` IsKidFriendly string `protobuf:"bytes,16,opt,name=IsKidFriendly,proto3" json:"IsKidFriendly,omitempty"` IsSmokingAllowed string `protobuf:"bytes,17,opt,name=IsSmokingAllowed,proto3" json:"IsSmokingAllowed,omitempty"` RoomNumber int32 `protobuf:"varint,18,opt,name=RoomNumber,proto3" json:"RoomNumber,omitempty"` Image string `protobuf:"bytes,19,opt,name=image,proto3" json:"image,omitempty"` HostHouseImages []string `protobuf:"bytes,20,rep,name=HostHouseImages,proto3" json:"HostHouseImages,omitempty"` Message string `protobuf:"bytes,21,opt,name=Message,proto3" json:"Message,omitempty"` Interests []string `protobuf:"bytes,22,rep,name=interests,proto3" json:"interests,omitempty"` Languages []string `protobuf:"bytes,23,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
func (*ProfileDetailsResponse) Descriptor
deprecated
func (*ProfileDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfileDetailsResponse.ProtoReflect.Descriptor instead.
func (*ProfileDetailsResponse) GetAddress ¶
func (x *ProfileDetailsResponse) GetAddress() string
func (*ProfileDetailsResponse) GetBio ¶
func (x *ProfileDetailsResponse) GetBio() string
func (*ProfileDetailsResponse) GetBirthDate ¶
func (x *ProfileDetailsResponse) GetBirthDate() string
func (*ProfileDetailsResponse) GetCity ¶
func (x *ProfileDetailsResponse) GetCity() string
func (*ProfileDetailsResponse) GetCountry ¶
func (x *ProfileDetailsResponse) GetCountry() string
func (*ProfileDetailsResponse) GetEmail ¶
func (x *ProfileDetailsResponse) GetEmail() string
func (*ProfileDetailsResponse) GetFirstName ¶
func (x *ProfileDetailsResponse) GetFirstName() string
func (*ProfileDetailsResponse) GetGender ¶
func (x *ProfileDetailsResponse) GetGender() int32
func (*ProfileDetailsResponse) GetHostHouseImages ¶
func (x *ProfileDetailsResponse) GetHostHouseImages() []string
func (*ProfileDetailsResponse) GetImage ¶
func (x *ProfileDetailsResponse) GetImage() string
func (*ProfileDetailsResponse) GetInterests ¶
func (x *ProfileDetailsResponse) GetInterests() []string
func (*ProfileDetailsResponse) GetIsHost ¶
func (x *ProfileDetailsResponse) GetIsHost() string
func (*ProfileDetailsResponse) GetIsKidFriendly ¶
func (x *ProfileDetailsResponse) GetIsKidFriendly() string
func (*ProfileDetailsResponse) GetIsPetFriendly ¶
func (x *ProfileDetailsResponse) GetIsPetFriendly() string
func (*ProfileDetailsResponse) GetIsSmokingAllowed ¶
func (x *ProfileDetailsResponse) GetIsSmokingAllowed() string
func (*ProfileDetailsResponse) GetJoiningDate ¶
func (x *ProfileDetailsResponse) GetJoiningDate() string
func (*ProfileDetailsResponse) GetLanguages ¶
func (x *ProfileDetailsResponse) GetLanguages() []string
func (*ProfileDetailsResponse) GetLastName ¶
func (x *ProfileDetailsResponse) GetLastName() string
func (*ProfileDetailsResponse) GetMessage ¶
func (x *ProfileDetailsResponse) GetMessage() string
func (*ProfileDetailsResponse) GetPhoneNumber ¶
func (x *ProfileDetailsResponse) GetPhoneNumber() string
func (*ProfileDetailsResponse) GetRoomNumber ¶
func (x *ProfileDetailsResponse) GetRoomNumber() int32
func (*ProfileDetailsResponse) GetState ¶
func (x *ProfileDetailsResponse) GetState() string
func (*ProfileDetailsResponse) GetUserName ¶
func (x *ProfileDetailsResponse) GetUserName() string
func (*ProfileDetailsResponse) ProtoMessage ¶
func (*ProfileDetailsResponse) ProtoMessage()
func (*ProfileDetailsResponse) ProtoReflect ¶
func (x *ProfileDetailsResponse) ProtoReflect() protoreflect.Message
func (*ProfileDetailsResponse) Reset ¶
func (x *ProfileDetailsResponse) Reset()
func (*ProfileDetailsResponse) String ¶
func (x *ProfileDetailsResponse) String() string
type PublicProfileHostRequest ¶
type PublicProfileHostRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` // contains filtered or unexported fields }
func (*PublicProfileHostRequest) Descriptor
deprecated
func (*PublicProfileHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublicProfileHostRequest.ProtoReflect.Descriptor instead.
func (*PublicProfileHostRequest) GetAccessToken ¶
func (x *PublicProfileHostRequest) GetAccessToken() string
func (*PublicProfileHostRequest) GetUsername ¶
func (x *PublicProfileHostRequest) GetUsername() string
func (*PublicProfileHostRequest) ProtoMessage ¶
func (*PublicProfileHostRequest) ProtoMessage()
func (*PublicProfileHostRequest) ProtoReflect ¶
func (x *PublicProfileHostRequest) ProtoReflect() protoreflect.Message
func (*PublicProfileHostRequest) Reset ¶
func (x *PublicProfileHostRequest) Reset()
func (*PublicProfileHostRequest) String ¶
func (x *PublicProfileHostRequest) String() string
type PublicProfileHostResponse ¶
type PublicProfileHostResponse struct { Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"` UserName string `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,4,opt,name=LastName,proto3" json:"LastName,omitempty"` BirthDate string `protobuf:"bytes,5,opt,name=BirthDate,proto3" json:"BirthDate,omitempty"` City string `protobuf:"bytes,6,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,7,opt,name=State,proto3" json:"State,omitempty"` Country string `protobuf:"bytes,8,opt,name=Country,proto3" json:"Country,omitempty"` Gender int32 `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"` JoiningDate string `protobuf:"bytes,10,opt,name=JoiningDate,proto3" json:"JoiningDate,omitempty"` Bio string `protobuf:"bytes,11,opt,name=Bio,proto3" json:"Bio,omitempty"` IsHost string `protobuf:"bytes,12,opt,name=IsHost,proto3" json:"IsHost,omitempty"` Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` PhoneNumber string `protobuf:"bytes,14,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` IsPetFriendly string `protobuf:"bytes,15,opt,name=IsPetFriendly,proto3" json:"IsPetFriendly,omitempty"` IsKidFriendly string `protobuf:"bytes,16,opt,name=IsKidFriendly,proto3" json:"IsKidFriendly,omitempty"` IsSmokingAllowed string `protobuf:"bytes,17,opt,name=IsSmokingAllowed,proto3" json:"IsSmokingAllowed,omitempty"` RoomNumber int32 `protobuf:"varint,18,opt,name=RoomNumber,proto3" json:"RoomNumber,omitempty"` Image string `protobuf:"bytes,19,opt,name=image,proto3" json:"image,omitempty"` HostHouseImages []string `protobuf:"bytes,20,rep,name=HostHouseImages,proto3" json:"HostHouseImages,omitempty"` Message string `protobuf:"bytes,21,opt,name=Message,proto3" json:"Message,omitempty"` Interests []string `protobuf:"bytes,22,rep,name=interests,proto3" json:"interests,omitempty"` Languages []string `protobuf:"bytes,23,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
func (*PublicProfileHostResponse) Descriptor
deprecated
func (*PublicProfileHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublicProfileHostResponse.ProtoReflect.Descriptor instead.
func (*PublicProfileHostResponse) GetAddress ¶
func (x *PublicProfileHostResponse) GetAddress() string
func (*PublicProfileHostResponse) GetBio ¶
func (x *PublicProfileHostResponse) GetBio() string
func (*PublicProfileHostResponse) GetBirthDate ¶
func (x *PublicProfileHostResponse) GetBirthDate() string
func (*PublicProfileHostResponse) GetCity ¶
func (x *PublicProfileHostResponse) GetCity() string
func (*PublicProfileHostResponse) GetCountry ¶
func (x *PublicProfileHostResponse) GetCountry() string
func (*PublicProfileHostResponse) GetEmail ¶
func (x *PublicProfileHostResponse) GetEmail() string
func (*PublicProfileHostResponse) GetFirstName ¶
func (x *PublicProfileHostResponse) GetFirstName() string
func (*PublicProfileHostResponse) GetGender ¶
func (x *PublicProfileHostResponse) GetGender() int32
func (*PublicProfileHostResponse) GetHostHouseImages ¶
func (x *PublicProfileHostResponse) GetHostHouseImages() []string
func (*PublicProfileHostResponse) GetImage ¶
func (x *PublicProfileHostResponse) GetImage() string
func (*PublicProfileHostResponse) GetInterests ¶
func (x *PublicProfileHostResponse) GetInterests() []string
func (*PublicProfileHostResponse) GetIsHost ¶
func (x *PublicProfileHostResponse) GetIsHost() string
func (*PublicProfileHostResponse) GetIsKidFriendly ¶
func (x *PublicProfileHostResponse) GetIsKidFriendly() string
func (*PublicProfileHostResponse) GetIsPetFriendly ¶
func (x *PublicProfileHostResponse) GetIsPetFriendly() string
func (*PublicProfileHostResponse) GetIsSmokingAllowed ¶
func (x *PublicProfileHostResponse) GetIsSmokingAllowed() string
func (*PublicProfileHostResponse) GetJoiningDate ¶
func (x *PublicProfileHostResponse) GetJoiningDate() string
func (*PublicProfileHostResponse) GetLanguages ¶
func (x *PublicProfileHostResponse) GetLanguages() []string
func (*PublicProfileHostResponse) GetLastName ¶
func (x *PublicProfileHostResponse) GetLastName() string
func (*PublicProfileHostResponse) GetMessage ¶
func (x *PublicProfileHostResponse) GetMessage() string
func (*PublicProfileHostResponse) GetPhoneNumber ¶
func (x *PublicProfileHostResponse) GetPhoneNumber() string
func (*PublicProfileHostResponse) GetRoomNumber ¶
func (x *PublicProfileHostResponse) GetRoomNumber() int32
func (*PublicProfileHostResponse) GetState ¶
func (x *PublicProfileHostResponse) GetState() string
func (*PublicProfileHostResponse) GetUserName ¶
func (x *PublicProfileHostResponse) GetUserName() string
func (*PublicProfileHostResponse) ProtoMessage ¶
func (*PublicProfileHostResponse) ProtoMessage()
func (*PublicProfileHostResponse) ProtoReflect ¶
func (x *PublicProfileHostResponse) ProtoReflect() protoreflect.Message
func (*PublicProfileHostResponse) Reset ¶
func (x *PublicProfileHostResponse) Reset()
func (*PublicProfileHostResponse) String ¶
func (x *PublicProfileHostResponse) String() string
type PublicProfileRequest ¶
type PublicProfileRequest struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` // contains filtered or unexported fields }
func (*PublicProfileRequest) Descriptor
deprecated
func (*PublicProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublicProfileRequest.ProtoReflect.Descriptor instead.
func (*PublicProfileRequest) GetAccessToken ¶
func (x *PublicProfileRequest) GetAccessToken() string
func (*PublicProfileRequest) GetUsername ¶
func (x *PublicProfileRequest) GetUsername() string
func (*PublicProfileRequest) ProtoMessage ¶
func (*PublicProfileRequest) ProtoMessage()
func (*PublicProfileRequest) ProtoReflect ¶
func (x *PublicProfileRequest) ProtoReflect() protoreflect.Message
func (*PublicProfileRequest) Reset ¶
func (x *PublicProfileRequest) Reset()
func (*PublicProfileRequest) String ¶
func (x *PublicProfileRequest) String() string
type PublicProfileResponse ¶
type PublicProfileResponse struct { Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"` UserName string `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,4,opt,name=LastName,proto3" json:"LastName,omitempty"` BirthDate string `protobuf:"bytes,5,opt,name=BirthDate,proto3" json:"BirthDate,omitempty"` City string `protobuf:"bytes,6,opt,name=City,proto3" json:"City,omitempty"` State string `protobuf:"bytes,7,opt,name=State,proto3" json:"State,omitempty"` Country string `protobuf:"bytes,8,opt,name=Country,proto3" json:"Country,omitempty"` Gender int32 `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"` JoiningDate string `protobuf:"bytes,10,opt,name=JoiningDate,proto3" json:"JoiningDate,omitempty"` Bio string `protobuf:"bytes,11,opt,name=Bio,proto3" json:"Bio,omitempty"` Image string `protobuf:"bytes,12,opt,name=Image,proto3" json:"Image,omitempty"` Message string `protobuf:"bytes,13,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*PublicProfileResponse) Descriptor
deprecated
func (*PublicProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublicProfileResponse.ProtoReflect.Descriptor instead.
func (*PublicProfileResponse) GetBio ¶
func (x *PublicProfileResponse) GetBio() string
func (*PublicProfileResponse) GetBirthDate ¶
func (x *PublicProfileResponse) GetBirthDate() string
func (*PublicProfileResponse) GetCity ¶
func (x *PublicProfileResponse) GetCity() string
func (*PublicProfileResponse) GetCountry ¶
func (x *PublicProfileResponse) GetCountry() string
func (*PublicProfileResponse) GetEmail ¶
func (x *PublicProfileResponse) GetEmail() string
func (*PublicProfileResponse) GetFirstName ¶
func (x *PublicProfileResponse) GetFirstName() string
func (*PublicProfileResponse) GetGender ¶
func (x *PublicProfileResponse) GetGender() int32
func (*PublicProfileResponse) GetImage ¶
func (x *PublicProfileResponse) GetImage() string
func (*PublicProfileResponse) GetJoiningDate ¶
func (x *PublicProfileResponse) GetJoiningDate() string
func (*PublicProfileResponse) GetLastName ¶
func (x *PublicProfileResponse) GetLastName() string
func (*PublicProfileResponse) GetMessage ¶
func (x *PublicProfileResponse) GetMessage() string
func (*PublicProfileResponse) GetState ¶
func (x *PublicProfileResponse) GetState() string
func (*PublicProfileResponse) GetUserName ¶
func (x *PublicProfileResponse) GetUserName() string
func (*PublicProfileResponse) ProtoMessage ¶
func (*PublicProfileResponse) ProtoMessage()
func (*PublicProfileResponse) ProtoReflect ¶
func (x *PublicProfileResponse) ProtoReflect() protoreflect.Message
func (*PublicProfileResponse) Reset ¶
func (x *PublicProfileResponse) Reset()
func (*PublicProfileResponse) String ¶
func (x *PublicProfileResponse) String() string
type UnimplementedUserProfileServer ¶
type UnimplementedUserProfileServer struct { }
UnimplementedUserProfileServer must be embedded to have forward compatible implementations.
func (UnimplementedUserProfileServer) AddToChatList ¶
func (UnimplementedUserProfileServer) AddToChatList(context.Context, *AddChatListRequest) (*AddChatListResponse, error)
func (UnimplementedUserProfileServer) EditProfile ¶
func (UnimplementedUserProfileServer) EditProfile(context.Context, *EditProfileRequest) (*EditProfileResponse, error)
func (UnimplementedUserProfileServer) GetChatList ¶
func (UnimplementedUserProfileServer) GetChatList(context.Context, *ChatListRequest) (*ChatListResponse, error)
func (UnimplementedUserProfileServer) ProfileDetails ¶
func (UnimplementedUserProfileServer) ProfileDetails(context.Context, *ProfileDetailsRequest) (*ProfileDetailsResponse, error)
func (UnimplementedUserProfileServer) PublicProfile ¶
func (UnimplementedUserProfileServer) PublicProfile(context.Context, *PublicProfileRequest) (*PublicProfileResponse, error)
func (UnimplementedUserProfileServer) PublicProfileHost ¶
func (UnimplementedUserProfileServer) PublicProfileHost(context.Context, *PublicProfileHostRequest) (*PublicProfileHostResponse, error)
func (UnimplementedUserProfileServer) UploadImage ¶
func (UnimplementedUserProfileServer) UploadImage(context.Context, *ImageRequest) (*ImageResponse, error)
type UnsafeUserProfileServer ¶
type UnsafeUserProfileServer interface {
// contains filtered or unexported methods
}
UnsafeUserProfileServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserProfileServer will result in compilation errors.
type UserProfileClient ¶
type UserProfileClient interface { ProfileDetails(ctx context.Context, in *ProfileDetailsRequest, opts ...grpc.CallOption) (*ProfileDetailsResponse, error) EditProfile(ctx context.Context, in *EditProfileRequest, opts ...grpc.CallOption) (*EditProfileResponse, error) UploadImage(ctx context.Context, in *ImageRequest, opts ...grpc.CallOption) (*ImageResponse, error) PublicProfile(ctx context.Context, in *PublicProfileRequest, opts ...grpc.CallOption) (*PublicProfileResponse, error) PublicProfileHost(ctx context.Context, in *PublicProfileHostRequest, opts ...grpc.CallOption) (*PublicProfileHostResponse, error) AddToChatList(ctx context.Context, in *AddChatListRequest, opts ...grpc.CallOption) (*AddChatListResponse, error) GetChatList(ctx context.Context, in *ChatListRequest, opts ...grpc.CallOption) (*ChatListResponse, error) }
UserProfileClient is the client API for UserProfile 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 NewUserProfileClient ¶
func NewUserProfileClient(cc grpc.ClientConnInterface) UserProfileClient
type UserProfileServer ¶
type UserProfileServer interface { ProfileDetails(context.Context, *ProfileDetailsRequest) (*ProfileDetailsResponse, error) EditProfile(context.Context, *EditProfileRequest) (*EditProfileResponse, error) UploadImage(context.Context, *ImageRequest) (*ImageResponse, error) PublicProfile(context.Context, *PublicProfileRequest) (*PublicProfileResponse, error) PublicProfileHost(context.Context, *PublicProfileHostRequest) (*PublicProfileHostResponse, error) AddToChatList(context.Context, *AddChatListRequest) (*AddChatListResponse, error) GetChatList(context.Context, *ChatListRequest) (*ChatListResponse, error) // contains filtered or unexported methods }
UserProfileServer is the server API for UserProfile service. All implementations must embed UnimplementedUserProfileServer for forward compatibility