Class Schema.EnumValue

java.lang.Object
io.confluent.kafka.schemaregistry.type.logical.Schema.EnumValue
Enclosing class:
Schema

public static class Schema.EnumValue extends Object
  • Constructor Details

  • Method Details

    • getSymbol

      public String getSymbol()
    • getDoc

      public String getDoc()
    • getParams

      public Map<String,Object> getParams()
    • getEnumNumber

      public Integer getEnumNumber()
      The symbol's explicit Protobuf number, or null when unnumbered. The reader records all-or-nothing per enum, so a null from it means "trivially sequential from 0" rather than "unknown". A hand-authored schema may instead number only some values; the writer then gives each unnumbered one the next number no other value claims.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object