Person_pb.d.ts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // package:
  2. // file: proto/Person.proto
  3. import * as jspb from "google-protobuf";
  4. export class PersonMetadata extends jspb.Message {
  5. hasFirstName(): boolean;
  6. clearFirstName(): void;
  7. getFirstName(): string | undefined;
  8. setFirstName(value: string): void;
  9. hasMiddleName(): boolean;
  10. clearMiddleName(): void;
  11. getMiddleName(): string | undefined;
  12. setMiddleName(value: string): void;
  13. hasLastName(): boolean;
  14. clearLastName(): void;
  15. getLastName(): string | undefined;
  16. setLastName(value: string): void;
  17. hasAbout(): boolean;
  18. clearAbout(): void;
  19. getAbout(): string | undefined;
  20. setAbout(value: string): void;
  21. hasCoverPhoto(): boolean;
  22. clearCoverPhoto(): void;
  23. getCoverPhoto(): number | undefined;
  24. setCoverPhoto(value: number): void;
  25. hasAvatarPhoto(): boolean;
  26. clearAvatarPhoto(): void;
  27. getAvatarPhoto(): number | undefined;
  28. setAvatarPhoto(value: number): void;
  29. serializeBinary(): Uint8Array;
  30. toObject(includeInstance?: boolean): PersonMetadata.AsObject;
  31. static toObject(includeInstance: boolean, msg: PersonMetadata): PersonMetadata.AsObject;
  32. static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
  33. static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
  34. static serializeBinaryToWriter(message: PersonMetadata, writer: jspb.BinaryWriter): void;
  35. static deserializeBinary(bytes: Uint8Array): PersonMetadata;
  36. static deserializeBinaryFromReader(message: PersonMetadata, reader: jspb.BinaryReader): PersonMetadata;
  37. }
  38. export namespace PersonMetadata {
  39. export type AsObject = {
  40. firstName?: string,
  41. middleName?: string,
  42. lastName?: string,
  43. about?: string,
  44. coverPhoto?: number,
  45. avatarPhoto?: number,
  46. }
  47. }