declare namespace net {
    namespace md_5 {
        namespace bungee {
            namespace api {
                namespace ServerPing {
                    // @ts-ignore
                     class Protocol extends java.lang.Object {
                        // @ts-ignore
                        constructor(name: string, protocol: number)
                        // @ts-ignore
                        public getName(): string;
                        // @ts-ignore
                        public getProtocol(): number;
                        // @ts-ignore
                        public setName(name: string): void;
                        // @ts-ignore
                        public setProtocol(protocol: number): void;
                        // @ts-ignore
                        public equals(o: java.lang.Object): boolean;
                        // @ts-ignore
                        protected canEqual(other: java.lang.Object): boolean;
                        // @ts-ignore
                        public hashCode(): number;
                        // @ts-ignore
                        public toString(): string;
                    }
                }
            }
        }
    }
}
