Class I18n.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<I18n>
org.apache.avro.specific.SpecificRecordBuilderBase<I18n>
org.opfab.avro.I18n.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<I18n>
Enclosing class:
I18n

public static class I18n.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<I18n> implements org.apache.avro.data.RecordBuilder<I18n>
RecordBuilder for I18n instances.
  • Method Details

    • getKey

      public String getKey()
      Gets the value of the 'key' field.
      Returns:
      The value.
    • setKey

      public I18n.Builder setKey(String value)
      Sets the value of the 'key' field.
      Parameters:
      value - The value of 'key'.
      Returns:
      This builder.
    • hasKey

      public boolean hasKey()
      Checks whether the 'key' field has been set.
      Returns:
      True if the 'key' field has been set, false otherwise.
    • clearKey

      public I18n.Builder clearKey()
      Clears the value of the 'key' field.
      Returns:
      This builder.
    • getParameters

      public Map<String,String> getParameters()
      Gets the value of the 'parameters' field.
      Returns:
      The value.
    • setParameters

      public I18n.Builder setParameters(Map<String,String> value)
      Sets the value of the 'parameters' field.
      Parameters:
      value - The value of 'parameters'.
      Returns:
      This builder.
    • hasParameters

      public boolean hasParameters()
      Checks whether the 'parameters' field has been set.
      Returns:
      True if the 'parameters' field has been set, false otherwise.
    • clearParameters

      public I18n.Builder clearParameters()
      Clears the value of the 'parameters' field.
      Returns:
      This builder.
    • build

      public I18n build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<I18n>