@Override
 public void serialize(Action input, ByteBuf outBuffer) {
   ActionSetNshc1 action = ((ActionSetNshc1) input.getActionChoice());
   serializeHeader(LENGTH, NXAST_SET_NSC_SUBTYPE, outBuffer);
   outBuffer.writeZero(padding);
   outBuffer.writeInt(action.getNxActionSetNshc1().getNshc().intValue());
 }
 @Override
 public void serialize(Action action, ByteBuf outBuffer) {
   super.serialize(action, outBuffer);
   outBuffer.writeByte(
       ((SetMplsTtlCase) action.getActionChoice()).getSetMplsTtlAction().getMplsTtl());
   outBuffer.writeZero(ActionConstants.SET_MPLS_TTL_PADDING);
 }