Package net.md_5.bungee.api

# Class ServerPing.Protocol

java.lang.Object
net.md_5.bungee.api.ServerPing.Protocol

Enclosing class:
  ServerPing

public static class ServerPing.Protocol extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Protocol(String name, int protocol)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `String`
  `getName()`
  `int`
  `getProtocol()`
  `int`
  `hashCode()`
  `void`
  `setName(String name)`
  `void`
  `setProtocol(int protocol)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Protocol

    public Protocol(String name, int protocol)

- ## Method Details

  - ### getName

    public String getName()

  - ### getProtocol

    public int getProtocol()

  - ### setName

    public void setName(String name)

  - ### setProtocol

    public void setProtocol(int protocol)

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`