import * as jspb from 'google-protobuf'



export class Genre extends jspb.Message {
  getGenreId(): number;
  setGenreId(value: number): Genre;

  getName(): string;
  setName(value: string): Genre;

  getDescription(): string;
  setDescription(value: string): Genre;

  getParentGenreId(): number;
  setParentGenreId(value: number): Genre;
  hasParentGenreId(): boolean;
  clearParentGenreId(): Genre;

  serializeBinary(): Uint8Array;
  toObject(includeInstance?: boolean): Genre.AsObject;
  static toObject(includeInstance: boolean, msg: Genre): Genre.AsObject;
  static serializeBinaryToWriter(message: Genre, writer: jspb.BinaryWriter): void;
  static deserializeBinary(bytes: Uint8Array): Genre;
  static deserializeBinaryFromReader(message: Genre, reader: jspb.BinaryReader): Genre;
}

export namespace Genre {
  export type AsObject = {
    genreId: number,
    name: string,
    description: string,
    parentGenreId?: number,
  }

  export enum ParentGenreIdCase { 
    _PARENT_GENRE_ID_NOT_SET = 0,
    PARENT_GENRE_ID = 4,
  }
}

