@Override
  public boolean equals(Object obj) {
    if (!(obj instanceof Option)) {
      return false;
    }
    Option other = (Option) obj;
    return Objects.equals(rpcOption, other.rpcOption) && Objects.equals(value, other.value);
  }
Base class for Translate operation option.
java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/Option.java