docs: @Override
      public final void setReplyDiscriminator(String value) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "setReplyDiscriminator", value);
          if (value != null) {
              if (isValidDiscriminator(value)) {
                  getApi().setField(JsApiAccess.REPLYDISCRIMINATOR_VALUE, value);
              }
              else {
                  IllegalArgumentException e = new IllegalArgumentException(value);
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                      SibTr.exit(this, tc, "setReplyDiscriminator", e);
                  throw e;
              }
          }
          else {
              getApi().setChoiceField(JsApiAccess.REPLYDISCRIMINATOR, JsApiAccess.IS_REPLYDISCRIMINATOR_UNSET);
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "setReplyDiscriminator");
      }